Skip to content

*.googleapis.com warning could be simpler #71

@bgirschig

Description

@bgirschig

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions