CSP occupies a special place in assessments: not a regulation, but the first evidence artifact a perimeter check produces. It declares which origins may load scripts, styles, frames, and connections — turning "we do not allow injected code" from a claim into an enforced policy. With XSS still a dominant vulnerability class, a missing or permissive CSP reads to an assessor as "XSS defense here is aspirational".
CSP is not a regulation, but it is the header regulators and assessors look for as evidence of XSS defense-in-depth — and the first thing a perimeter scan checks.
Declare allowed script/style/connect sources explicitly. A permissive or missing CSP means injected markup can phone home freely.
Perimeter header checks — shield headers and CSP posture are verified from the edge, no code access needed.
Last reviewed 2026-11-01.
Reading up on Content-Security-Policy? The engine verifies this surface from the perimeter — live on sovereign EU/UK partitions.