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 moving from whitelisted-hostname CSP to hash-based #11

Open
TCFox opened this issue Apr 27, 2017 · 0 comments
Open

Investigate moving from whitelisted-hostname CSP to hash-based #11

TCFox opened this issue Apr 27, 2017 · 0 comments

Comments

@TCFox
Copy link
Owner

TCFox commented Apr 27, 2017

https://www.owasp.org/images/c/c4/2017-04-20-OWASPNZ-SpagnuoloWeichselbaum.pdf
http://sebastian-lekies.de/csp/bypasses.php

Might be able to generate a CSP policy at build-time based on hashes of JS files. Can't use nonces since they need to be different on each request.

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