Open Bug 2070801 Opened 2 months ago

evalute and measure effectiveness of observed CSP policies for xss prevention

Categories

(Core :: DOM: Security, enhancement)

enhancement

Tracking

()

People

(Reporter: freddy, Unassigned)

References

(Blocks 1 open bug)

Details

We should evaluate CSP policies according to the following:

  • uses "strict CSP" (cf. https://www.w3.org/TR/CSP/#strict-csp)
  • uses script-src with self only (and no active unsafe-inline, taking into account that strict-dynamic ignores it)
  • trusted types directives in CSP (and whether policy names contain "default")
  • uses script-src with host based allow lists
  • doesn't use script-src at all (eg only frame-ancestors or mixed-content upgrading)

These should be collected across the axis for active policies (=in use) as well as report-only (= hopefully standing for people working on getting towards these protections).

You need to log in before you can comment on or make changes to this bug.