Content Security Policy (CSP) Validator
Audit your site's Content-Security-Policy headers and <meta> directives for XSS injection vulnerabilities, wildcard sources, and unsafe inline script execution.
Building Defensible Content Security Policies
A strong CSP stops Cross-Site Scripting (XSS), data exfiltration, and malicious iframe clickjacking before untrusted bytes execute.
Stopping XSS with Strict Directive Cascades
default-src 'self', any directive omitted falls back to unrestricted browser defaults. Injected scripts can connect to rogue WebSocket endpoints or exfiltrate session data via fetch.
https:* or *) that nullify origin isolation.
Eliminating Unsafe-Inline & Eval Risks
'unsafe-inline' or 'unsafe-eval' to get third-party analytics widgets running quickly. This single keyword allows any attacker who injects an HTML string to execute arbitrary code.
Safe Testing via Report-Only Deployment
Content-Security-Policy-Report-Only header. ScanTheThings validates both active and report-only configurations, inspecting live browser violation logs so you can fine-tune allowlists before turning on enforcement.
https://unapproved-tracker.com/collect