/fuse-security:security-headers [framework] [--live <url>]from fuse-security
Audits HTTP security headers (CSP, HSTS, frame-ancestors, Referrer-Policy, Permissions-Policy, COOP/COEP/CORP), cookie attributes, and CORS in code or live on a URL. Reports findings with framework-specific recommendations.
Ships in fuse-security. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
It can also verify the headers and cookies a running URL actually serves (curl fast path, then one fuse-browser session when rendering is needed), only on URLs the owner named.
The severity scale for findings is the one in rules/security-rules.md; this section is an
input to it. A missing hardening header with no shown attack path is not a finding — it
goes to the report's "Hardening notes" section, without severity. It becomes a finding only
with a concrete attack path (XSS sink + no effective CSP, frameable
state-changing page, credentialed CORS reflection on private data, session cookie without
Secure on an HTTP-reachable site). Absence of X-XSS-Protection or X-Frame-Options
(when frame-ancestors is set) is never a finding.
Detect the framework and where headers are set:
| Framework | Where to look |
|---|---|
| Next.js | next.config.* headers(), proxy.ts (formerly middleware.ts) |
| Laravel | Custom middleware appended in bootstrap/app.php; web server config |
| Astro | astro.config.* security.csp, adapter staticHeaders, src/middleware.*, host config |
| TanStack Start | src/start.ts request middleware, setResponseHeader(s) calls |
| Express | helmet usage, res.setHeader |
| Django | SECURE_*, X_FRAME_OPTIONS, CSP middleware settings |
| Any | Reverse proxy / CDN config (nginx add_header … always, Vercel/Netlify headers files) |
Compare each header, cookie and CORS rule with Headers Reference.
Live check (only if the owner gave a URL) with Live Verification — config in code can be overridden by the proxy/CDN; the served response wins.
Refute each candidate in a second read-only pass (header set at another layer? route excluded on purpose? API-only JSON where CSP is irrelevant?).
Report to docs/security/YYYY-MM-DD-<scope>.md in the audited repository, with recommended snippets from Config Templates.
id (HDR-NNN), title, severity (CRITICAL / HIGH / MEDIUM / LOW), confidence 1-10 (only ≥ 8
reported; lower → "needs manual review"), CWE, standard (OWASP Top 10:2025 A02 Security
Misconfiguration or A01 for CORS data exposure; OWASP ASVS 5.0.0 v5.0.0-3.x.y), file:line
or URL, evidence (header line, secrets redacted), exploit scenario, recommendation.
What SKILL.md sets; muted values are Claude Code's defaults
6 skills in this plugin
/agentic-securityUse when auditing the security of an AI-coding-agent setup in a repository: Claude Code project settings and hooks, plugin manifests and hooks.json, .mcp.json and MCP servers, skills, agents and rule files, permission rules, secrets in agent configuration, and CI workflows that run an AI agent on pull requests. Do NOT use for application code vulnerabilities (use security-scan), dependency CVEs (use dependency-audit or cve-research), auth flows (use auth-audit) or HTTP headers (use security-headers)./auth-auditUse when auditing authentication (JWT, sessions, cookies, OAuth2/OIDC/PKCE, password storage, MFA, account recovery) or authorization (BOLA/IDOR, mass assignment, function-level checks, tenant isolation) in web, API or iOS code./npx claudepluginhub fusengine/claude-plugins --plugin fuse-securityOther plugins' skills for the same job