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

User supplied code #53

Open
stefnotch opened this issue May 20, 2022 · 0 comments
Open

User supplied code #53

stefnotch opened this issue May 20, 2022 · 0 comments

Comments

@stefnotch
Copy link
Owner

stefnotch commented May 20, 2022

If we want to run user-supplied code, we have a few different options to explore

  • Properly sandboxed WebAssembly (with strict memory and CPU limits)
  • Running code in an iframe-webworker (and setting the iframe rules to be as strict as possible)
  • Running code in a super sandboxed manner (like https://github.com/endojs/endo )
  • Having a "trust" button, that lets the user run arbitrary code (preferably signed code or something?)
  • Using a language with a linear runtime as much as possible (see https://github.com/google/cel-go )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant