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

*.googleapis.com warning could be simpler #71

Open
bgirschig opened this issue Nov 12, 2024 · 0 comments
Open

*.googleapis.com warning could be simpler #71

bgirschig opened this issue Nov 12, 2024 · 0 comments

Comments

@bgirschig
Copy link

The current explanation for why *.googleapis.com is dangerous is the following:

ajax.googleapis.com is known to host JSONP endpoints and Angular libraries which allow to bypass this CSP.

I find this weirdly specific, since this rule allows a much broader point of entry than ajax.googleapis.com: storage.googleapis.com allows anyone to upload and serve any file, without any checks or restrictions, for example: https://storage.googleapis.com/bg-common/samples/evil.js

I believe the warning would be better worded like this

storage.googleapis.com allows anyone to upload and serve any file, without any checks or restrictions.

This makes it more universal as it's not related to either angular or JSONP, which seem more niche and not necessarily relevant to the person reading

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