Sec headers config

From aturzone/Skull · View interactive version

Sec headers config is an AI agent skill from the GitHub repository aturzone/Skull. Review security headers and runtime hardening — HSTS, CSP, X-Frame-Options/frame-ancestors, X-Content-Type-Options, Referrer-Policy, secure cookie flags, TLS config, verbose error/stack-trace leaks, debug endpoints, and directory listing. Use when reviewing server/middleware config, response headers

How to use this skill

Skill file

Security: headers & hardening review

The cheap, high-leverage layer (OWASP A05) — correct headers and config defang whole bug classes.

What to check

no weak ciphers). No secrets / PII over plaintext.

X-Frame-Options / CSP frame-ancestors, Referrer-Policy, Permissions-Policy. Grep the

middleware/server config; flag missing or weak (unsafe-inline, *).

prod responses. Generic errors to clients; details to logs.

playground/introspection, directory listing, exposed source maps, default credentials.

Output

path:line (or the missing config) · CWE-16/209/319/… · severity · evidence · fix (the exact header/setting).

Coverage note. A header scan (securityheaders.com / testssl.sh) complements this for live checks.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.