ToolPuma Logo

CSP Checker

Review a Content Security Policy for risky directives.

What Is a CSP Checker?

The CSP Checker reviews a Content Security Policy string and flags directives and source values that weaken protection. It detects unsafe-inline, unsafe-eval, wildcards, http:// sources, data: URIs, repeated or unknown directives, and reminds you about missing default-src and object-src.

How to Use This CSP Checker

  1. 1
    Paste your policyEnter your Content-Security-Policy header value.
  2. 2
    Review each directiveRead the assessment of every source value.
  3. 3
    Read the warningsAct on the listed risks and hardening tips.

Frequently Asked Questions

A CSP is a browser security mechanism that tells the browser which sources of scripts, styles, and other resources are allowed, reducing the impact of injection attacks.
It allows the browser to run inline scripts, which can enable cross-site scripting. Modern policies favor nonces or hashes instead.
Without restricting object-src, plugins and embeds may be allowed, which can expand the attack surface. Setting it to 'none' is a common hardening step.