Website defence · Local browser tool

Content Security Policy Generator

Build a conservative CSP starting point for a static site, web application or API endpoint.

Input stays on this deviceNo sign-upStandard-linked guidance

Use the tool

Enter only data you are authorised to inspect. The result is a focused technical check, not a certification or full vulnerability assessment.

What it checks

Clear scope. Reproducible output.

  • Profile-based safe baseline
  • Validated source-list inputs
  • Enforcement and Report-Only header output

Questions

Does Content Security Policy Generator upload my input?

No. The working tool runs in the current browser tab. Avoid browser extensions or shared devices when handling sensitive material.

Does a passing result prove my system is secure?

No. It proves only the checks described on this page against the input you supplied. Server behaviour, business logic and runtime vulnerabilities require separate authorised testing.

Why is the result different from a live scanner?

This tool analyses pasted or local data. A live scanner observes network responses, DNS, TLS and redirects, so its evidence and scope are different.