Expand description
CSP + SRI hash validation gate.
Per page:
- Asserts a
Content-Security-Policyis present (either as a_headersrule or a<meta http-equiv="Content-Security-Policy">tag). - Asserts every cross-origin
<script src>and<link rel="stylesheet" href>carries anintegritySRI hash.
The CSP-consistency check across pages is a warning (different pages with different policies are a smell but legitimate when a single section needs a stricter policy).
Structsยง
- CspSri
Gate - CSP + SRI hash validation gate.