Sign inSign up

getreadystack/security-headers-csp-lint

By getreadystack

Updated about 5 hours ago

Reads security headers and CSP line by line in your config file and names the lines that silently do

Image
0

137

getreadystack/security-headers-csp-lint repository overview

Security Headers Lint - CSP and Dead Headers

Reads security headers and CSP line by line in your config file and names the lines that silently do nothing: retired headers, keywords missing their quotes, directives the browser throws away.

Run

docker run --rm -v "$PWD":/work getreadystack/security-headers-csp-lint /work/file

The same 28 rules as the VS Code extension, in a container. Mount a folder on /work.

Free

  • Check the open config against all 28 rules - every finding shown, nothing withheld; Check only the lines you highlight; See every rule and what each retired header or dropped directive actually does; Reopen the last report
  • --rules lists every rule

With a licence ($29 once)

  • Scan every config file in the workspace; Export the report as CSV, JSON or HTML; CI output that fails the build on errors; Add your own house policy rules; Re-check automatically on every save; Apply the safe fixes for you
docker run --rm -e READYSTACK_LICENSE=<key> -v "$PWD":/work getreadystack/security-headers-csp-lint --dir /work --ci

Application security consultants doing secure code review bill roughly $120 to $275 an hour, and a security-header and CSP review is a one-to-two hour job per site.

Use from an AI agent (MCP)

Claude Code · Cursor · Windsurf · any MCP client - add to your MCP config:

{ "mcpServers": { "security-headers-csp-lint": { "command": "npx", "args": ["-y", "@readystack/security-headers-csp-lint", "--mcp"] } } }

Tools: check_text and check_file (free) · check_dir (licence; the full sweep is free for 7 days). The agent gets every finding with the line number.

Use in CI

- name: Security Headers Lint - CSP and Dead Headers
  run: npx -y @readystack/security-headers-csp-lint --dir . --ci

(container: docker run --rm -v "$PWD:/work" getreadystack/security-headers-csp-lint --dir /work --ci)

Try the full run free for 7 days — no key needed. Then one licence, 7-day refund, no questions. Set READYSTACK_LICENSE=<key> or run --license <key> once.

Get a licence

Tag summary

Content type

Image

Digest

sha256:9a66ff7b9

Size

46.1 MB

Last updated

about 5 hours ago

docker pull getreadystack/security-headers-csp-lint