Security and networkingChecked on the WebDiag server

Content Security Policy Analyzer

Enter a URL to inspect published CSP rules and identify potentially risky permissions.

  • header + meta
  • Report-Only
  • directives and sources
Online tool

Try the tool

Enter a URL: WebDiag will run a safe network check and show the result.

Page URL

Check on the WebDiag server

The WebDiag server makes the network requests. Results describe the specified address at the time of the check; further limits are explained below.

Reviewed: 2026-07-17
01

How to use it

  1. 1

    Enter a public http/https URL.

  2. 2

    Run CSP response-header and static-meta parsing.

  3. 3

    Review risky sources, missing directives, and meta-policy limits.

02

What the tool can do

  • Parses enforced CSP, Report-Only, and meta CSP.
  • Shows directives, values, and duplicate directives.
  • Flags unsafe-inline, unsafe-eval, wildcard, and missing key directives.
03

Common use cases

  • Check CSP after changing CDN, analytics, or frontend bundles.
  • Find overly broad source expressions before hardening.
  • Compare enforced and Report-Only rollout signals.
04

How it works inside

Meta CSP has limitations and does not replace the HTTP header for frame-ancestors.

Policy tightening should use a report-only rollout and validation of actual resources.

05

Questions and answers

What does the CSP policy check show?

CSP is a set of rules a site uses to restrict scripts, images, and other resources. The tool reads the published policy and flags selected potentially risky permissions. The result helps you discuss settings with a developer.

How can I apply the recommendations without breaking the site?

First identify which external resources the page needs and test changes on a copy of the site. Overly strict rules can stop forms, analytics, or other features. Passing the selected checks does not guarantee protection against every attack.