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

Extending WASM CSP to be covered under strict-dynamic #44

Open
jeremie-stripe opened this issue Sep 5, 2024 · 0 comments
Open

Extending WASM CSP to be covered under strict-dynamic #44

jeremie-stripe opened this issue Sep 5, 2024 · 0 comments

Comments

@jeremie-stripe
Copy link

In the current specification, it's mentioned that WebAssembly is only integrated with the unsafe-eval and wasm-unsafe-eval stanza for script-src.

Separately, there is also a mode of CSP known as strict-dynamic which allows trust to be given specifically to certain scripts which then carry that trust to (mostly) anything else they would execute dynamically.

Today it seems like this trust is extended to both scripts and worker generated by the initial trusted script but crucially not to WebAssembly code that is attempted to be instantiated from a trust script in this way.

Is this a desired aspect of the specification or something to fix?

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