Content-Security-Policy (CSP) checker: audit XSS rules, nonces & frame-ancestors.
Inspect any public webpage live from our EU server with zero login. Beamfar parses enforced HTTP Content-Security-Policy, Content-Security-Policy-Report-Only and HTML <meta> policies, flags real XSS bypasses ('unsafe-inline' without nonces/hashes, 'unsafe-eval', wildcards, missing object-src/base-uri), verifies frame-ancestors and lists every third-party script host loaded on the page.
What this Content-Security-Policy checker inspects
Three live checks covering policy enforcement, XSS script-src strength and framing plus third-party script inventory.
- HTTP, Report-Only & <meta> policy validation
- Reads
Content-Security-Policy,Content-Security-Policy-Report-Onlyand HTML<meta http-equiv>tags, catching report-only deployments that block nothing, duplicate directives, comma syntax mistakes and directives browsers ignore inside<meta>tags (such asframe-ancestorsandreport-uri). - XSS script-src audit (CSP Level 2 & 3 aware)
- Reuses Beamfar’s production CSP analyzer to flag
'unsafe-inline','unsafe-eval',data:and wildcard*— while respecting CSP Level 2/3 rules where a nonce, hash or'strict-dynamic'safely supersedes'unsafe-inline', plus checkingobject-src 'none'andbase-uri. - Clickjacking framing & live third-party scripts
- Checks
frame-ancestorsalongsideX-Frame-Optionsfallback, inspectsform-actionandreport-to/report-urireporting, and inventories inline script counts and external script hosts on the live page so you know what to allowlist before enforcing. - Safe Report-Only & Strict Nonce templates
- Generates copy-paste CSP rollout snippets for Next.js/Node nonce middleware, Nginx Report-Only headers, WordPress/Apache
.htaccessand Cloudflare Transform Rules locally in your browser.
How to read the result
Each reading gets one of the words of the free check, with its mark.
Fine means an enforced HTTPS
Content-Security-Policyheader is active with strictscript-src,object-src 'none',base-uriand HTTPframe-ancestorsprotection.Look at this means only Report-Only or
<meta>CSP is set,script-srcpermits'unsafe-inline'/'unsafe-eval'/ wildcards, syntax typos exist, or framing protection is missing.Problem means no enforced CSP is sent at all, the page answers over plain
http://, or CSP omits bothscript-srcanddefault-src.
What happens to the URL you enter
One live read from our EU server, then nothing kept.
- Nothing is stored
- The URL, response headers and third-party script inventory are analysed once in memory and discarded: no database row, no log line, no cookie, no shareable URL. Only hashed rate-limit counters stay per network range for at most two days.
- Read-only & SSRF-guarded
- One passive GET request through our public-address validator. Private, loopback, link-local and cloud-metadata addresses are rejected before connecting.
Questions
Why does a nonce or strict-dynamic policy sometimes still include unsafe-inline?
Under CSP Level 2 and Level 3, modern browsers automatically ignore 'unsafe-inline' whenever a cryptographic nonce ('nonce-...'), a SHA hash or 'strict-dynamic' is present in script-src. Teams keep it solely for backwards compatibility with legacy browsers — so this checker never false-positives on strict nonce policies.
What is the difference between Content-Security-Policy and Content-Security-Policy-Report-Only?
Content-Security-Policy-Report-Only tells browsers to log what would have been blocked without actually blocking any scripts or assets. It is the safest way to test a new policy on production traffic before renaming the header to Content-Security-Policy to enforce it.
Why cannot frame-ancestors be enforced in a meta tag?
The W3C CSP specification requires browsers to ignore frame-ancestors, report-uri and sandbox inside HTML <meta http-equiv="Content-Security-Policy"> tags. Always deliver CSP as an HTTP response header from Nginx, Apache, Cloudflare or your app server.
Why do object-src none and base-uri matter alongside script-src?
Without object-src 'none', legacy plugin embeds can bypass script restrictions. Without base-uri 'self' (or 'none'), an HTML injection of a <base href="https://attacker.example/"> tag can hijack relative script paths even on a strict nonce-based CSP.
Is the URL I check stored?
No. The live HTTP response headers and script host scan run in memory and are discarded right away. Only hashed rate-limit counters stay per network range for at most two days.
Related guides
- Content-Security-Policy (CSP) guide: stop XSS safelyHow browsers enforce Content-Security-Policy, why unsafe-inline, unsafe-eval and wildcards defeat XSS protection, how to deploy Report-Only first, and copy-paste rules for Next.js, Nginx, Apache and Cloudflare.
- Website security checks from outsideWhat an outside security check reads, what it estimates, and what it cannot see.
- Mixed content and third-party script security guideA practical guide to eliminating blocked http:// scripts, stylesheets and images after SSL migrations, checking Subresource Integrity (SRI) on third-party scripts, and catching unexpected script hosts continuously.
More free web security tools
One live check each, no account. Pair CSP checks with OWASP security headers, third-party script inventory and leaked frontend keys.
- Security headers checkerCheck HSTS, CSP, X-Content-Type-Options, frame protection, Referrer-Policy and Permissions-Policy together.
- Mixed content & third-party script checkerInventory external script and iframe hosts, check SRI attributes and find insecure http:// assets.
- Frontend secret leak checkerScan public HTML, __NEXT_DATA__ and first-party JavaScript bundles across 28 live API key families.
Catch unexpected script hosts and stripped CSP headers automatically.
Two EU regions for uptime, daily external security scans (CSP drift, new third-party script hosts, 28 secret families, WordPress & OSV CVEs) on one flat plan.
No card for the Free plan. 30-day unconditional money-back guarantee on your first payment.