security-headers
БесплатноБез исполняемых скриптовНе проверенUse when auditing HTTP security headers (CSP with nonce/hash and strict-dynamic, HSTS, frame-ancestors, Referrer-Policy, Permissions-Policy, COOP/COEP/CORP)…
от Fusengine★ 36 звёзд на GitHubОб этом скилле
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.
Security Headers Skill
Severity input
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.
Workflow
Detect the framework and where headers are set:
Framework Where to look Next.js next.config.*headers(),proxy.ts(formerlymiddleware.ts)Laravel Custom middleware appended in bootstrap/app.php; web server configAstro astro.config.*security.csp, adapterstaticHeaders,src/middleware.*, host configTanStack Start src/start.tsrequest middleware,setResponseHeader(s)callsExpress helmetusage,res.setHeaderDjango SECURE_*,X_FRAME_OPTIONS, CSP middleware settingsAny 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>.mdin the audited repository, with recommended snippets from Config Templates.
Finding format (shared contract)
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.
References
- Headers Reference — values, sources, severity rules, cookies, CORS
- Config Templates — Next.js, Laravel, Astro, TanStack Start (verified); Express, Django (not re-verified)
- Live Verification — curl + fuse-browser procedure for an owner-named URL
Установить security-headers в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл security-headers?
Use when auditing HTTP security headers (CSP with nonce/hash and strict-dynamic, HSTS, frame-ancestors, Referrer-Policy, Permissions-Policy, COOP/COEP/CORP), cookie attributes or CORS — in code (Next.js, Laravel, Astro, TanStack Start, Express, Django) or live on a URL the owner names.
Как установить скилл security-headers?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл security-headers запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic