-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
CSP: all "Blocked 'script' from 'eval:'" reports are grouped together #31508
Comments
This would all be solvable if it was possible to add a custom issue grouping fingerprint rule where the |
Thanks for bringing this up. I'm going to add this to the Issues backlog |
Routing to @getsentry/product-owners-issues for triage ⏲️ |
Possibly related to getsentry/relay#4323 and #81531. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
self-hosted (https://develop.sentry.dev/self-hosted/)
Version
22.1.0
Steps to Reproduce
The report looks like this:
Expected Result
Not sure. Maybe something that takes
script_sample
into account, and warns if the policy doesn't havereport-sample
?Additionally, the ability to write a rule that says "all CSP reports with
script_sample
equal to(function injected(eventName, injectedIn
are caused by AdBlock and should be ignored" would be good.Actual Result
...which probably means that all "Blocked 'script' from 'eval:'" reports are grouped together. This particular CSP violation is caused by Adblock (and I have confirmed this with one user), but I would definitely not want this to be grouped together with real almost-successful XSS attempts.
The text was updated successfully, but these errors were encountered: