CSP Scanner
Check your website's Content-Security-Policy. We crawl your site, analyze your current CSP for weaknesses, inventory every resource your pages load — and generate a starter policy that fits your site.
Crawls up to 20 pages — can take ~30-45 seconds.
What a static scan can't see
This scanner reads your HTML, so it finds the scripts, styles, images, fonts and frames your pages reference directly. It cannot see resources that only load when JavaScript runs: API calls and websockets (connect-src), lazy-loaded widgets, tag-manager payloads, or A/B-test scripts. A policy built only from a crawl may block those when you enforce it.
For a runtime-accurate CSP, use the account-based CSP Monitor: create a free account, deploy the Report-Only policy with our reporting endpoint, collect real browser violation reports from your actual visitors, and get a strict CSP based on reality instead of a snapshot.
Set up CSP monitoringWhy scan your Content-Security-Policy?
A Content-Security-Policy (CSP) is the strongest browser-side defence against cross-site scripting (XSS). It is an allowlist: the browser only loads scripts, styles, images and other resources from the origins your policy names, and refuses everything else — including whatever an attacker manages to inject.
Most sites either have no CSP at all, or a policy weakened to the point of uselessness by 'unsafe-inline' and wildcards. This content security policy checker finds both problems: it analyzes your current policy against known CSP weaknesses, and it crawls your site to discover what your pages actually load — so the policy it generates is grounded in evidence, not guesswork.
The hard part of deploying a CSP has never been the syntax — it is knowing every origin your site depends on, so the policy does not break the site the day you enforce it. That is exactly what the crawl, the per-directive resource inventory and the Report-Only-first rollout in this CSP analyzer are for.