Checks · HDR-002
HDR-002 · Missing CSP
P2 Worth fixingWhy it matters
A content security policy limits which scripts the browser will run if something else injects a tag.
How we detect it
No Content-Security-Policy header on the HTML response.
How we fix it
Start with a report-only policy, then enforce it once you have seen the reports.
Can it be fixed automatically? Yes, with a template change