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

Use case of eval #69

Open
Jack-Works opened this issue Sep 2, 2021 · 3 comments
Open

Use case of eval #69

Jack-Works opened this issue Sep 2, 2021 · 3 comments
Labels
topic: remote code Related to remote code execution

Comments

@Jack-Works
Copy link

Jack-Works commented Sep 2, 2021

Chrome bans eval totally in MV3

Use cases

@dotproto
Copy link
Member

MetaMask's browser extension uses SES. See MetaMask/metamask-extension#9468 for links to relevant PRs.

@dotproto dotproto added the topic: remote code Related to remote code execution label Sep 16, 2021
@Jack-Works
Copy link
Author

I have updated use cases

@dotproto
Copy link
Member

eval() is still supported in sandboxed pages. These pages have extremely limited access to extension APIs which minimizes the risk posed by eval. It's possible to use WebAssembly through the wasm-unsafe-eval CSP directive. For details see this comment on issue 98.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: remote code Related to remote code execution
Projects
None yet
Development

No branches or pull requests

2 participants