Skip to main content

csp-forge

generate a strict CSP

Generate a strict Content Security Policy from your built site, and check an existing one against what the site actually loads.

  • 427/week
  • 5★
  • MIT
  • v1.1.0
  • In use on this site
  • Security & Headers
npx csp-forge

Read the full README on GitHub (opens in a new tab)View on npm (opens in a new tab)

Where we use it

CI job on this site: html · security:csp · In use

Related service: Web hosting

Related packages

Security & Headers

Need this on your site?

We reply within one working day. No pitch, no pressure.