SecurityUsually low

CSP unsafe-inline and unsafe-eval checker

Having a CSP is good. A CSP that allows 'unsafe-inline' scripts blocks a lot less than it looks like it does. ShipPatrol reads your policy.

Why it matters

Most cross-site scripting attacks inject an inline script. A policy that allows inline scripts lets them run. Nonces or hashes give you the same convenience without the hole.

How Patch checks

We read the script-src (or default-src) directive of your Content-Security-Policy and look for 'unsafe-inline' without a nonce or hash, and for 'unsafe-eval'.

How to fix it

  1. Move inline scripts into files, or give them a nonce or hash.
  2. Remove the unsafe sources from script-src.
  3. Test with the policy in report-only mode first.

Your own report goes further: it names the exact pages, services and settings Patch found on your site, and with a full report you get a fix prompt to paste into Lovable, Bolt or Cursor.

Where this applies

Good security practice everywhere.

Free scan

Check this on your site.

Patch runs "Content-Security-Policy allows inline scripts" along with every other check, from the UK, the EU and the US. Free, no signup.

No signup needed. Not legal advice; every check names its source.

All checks