Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate methods for secure code execution. Bonus points if we can run it from the code blocks in the frontend. #12

Open
Art9681 opened this issue Feb 10, 2024 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Art9681
Copy link
Contributor

Art9681 commented Feb 10, 2024

We need to implement a code runner solution that is sandboxed in a secure environment. Most applications in this space use a container for this purpose but there may be other options. We should explore an option that does not require a third party OS install such as WASM, but that may not be ideal. Some options to research:

  • WASM
  • MicroVM
  • Container
  • A secure sandbox like Firejail or similar alternatives that works across Linux, Mac and Windows. This is unlikely, but just leaving here for reference.

We also want to be able to execute code generated by the LLM via the frontend by triggering an event using a play button that gets injected into code blocks. That may need to be a separate issue but let's leave the idea here for now.

@Art9681 Art9681 added enhancement New feature or request help wanted Extra attention is needed labels Feb 10, 2024
@Art9681
Copy link
Contributor Author

Art9681 commented Feb 10, 2024

I have what could be an Ace card for running the code via frontend. Reach out to me if interested. Please only inquire if you have a PR with a solution for the backend code sandbox.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant