Skip to main content
Wright Websites

header-sentinel

grade security headers

Grade HTTP security headers using Mozilla HTTP Observatory-style scoring.

  • 37/week on npm
  • 4★
  • MIT
  • v1.1.2
  • In use on this site
  • Security & Headers
npx header-sentinel

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

header-sentinel

From the README

Fail your CI when deployed URLs are missing or misconfigure HTTP security headers — with a specific fix (example header + Nginx/Express/Vercel/Netlify hints) for every problem. Mozilla HTTP Observatory-style letter grades (A+ through F), zero runtime dependencies, Node ≥ 18, JSON and SARIF (GitHub code scanning) output.

npm i -D header-sentinel        # or run ad-hoc:
npx header-sentinel https://example.com

Where we use it

CI job on this site: headers · html · In use

Related service: Web hosting

Related packages

Security & Headers