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

Eliminate "unsafe-eval" from CSP #110

Open
budparr opened this issue Jul 1, 2020 · 0 comments
Open

Eliminate "unsafe-eval" from CSP #110

budparr opened this issue Jul 1, 2020 · 0 comments

Comments

@budparr
Copy link
Member

budparr commented Jul 1, 2020

Our Content Security Policy includes the following:

script-src 'self' 'unsafe-eval'...

We have to use unsafe-eval because Alpine requires it.

unsafe-eval "Allows the use of eval() and similar methods for creating code from strings."

See: alpinejs/alpine#237

This may change in a future release, or be mitigated by Alpine. I don't think, for our purposes, this means we should not use Alpine, but we should consider implications and watch for Alpine's improvements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants