http-sec-audit

http-sec-audit is a skill for Claude Code from NovaCode37/claude-security-skills. It costs 101 tokens per session (658 once invoked), scanned A, original, MIT.

A checker for website security headers and cookie settings. These are browser instructions that help control encryption, framing, cross-site requests, and access to cookies.

In plain words
What is it for?
Use it to review CSP, HSTS, framing protection, content-type sniffing, referrer and permissions policies, server version banners, and Secure, HttpOnly, or SameSite cookie flags.
Why use it?
It finds missing or unsafe settings that can make a website easier to attack or reveal unnecessary server information. It can inspect a live site or saved response headers.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the claude-security-skills plugin — 8 skills shipped together

Good fit Use it to review CSP, HSTS, framing protection, content-type sniffing, referrer and permissions policies, server version banners, and Secure, HttpOnly, or SameSite cookie flags.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/novacode37/claude-security-skills/http-sec-audit
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add NovaCode37/claude-security-skills --skill http-sec-audit
Clone the repo
git clone --depth 1 https://github.com/NovaCode37/claude-security-skills

Made for: Claude Code.

Or install claude-security-skills, the plugin that ships this one along with the rest of its 8 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for http-sec-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/novacode37/claude-security-skills/http-sec-audit/github.svg)](https://agentmods.dev/skills/novacode37/claude-security-skills/http-sec-audit)
Your own site
<a href="https://agentmods.dev/skills/novacode37/claude-security-skills/http-sec-audit"><img src="https://agentmods.dev/badge/skills/novacode37/claude-security-skills/http-sec-audit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for http-sec-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/novacode37/claude-security-skills/http-sec-audit"><img src="https://agentmods.dev/badge/skills/novacode37/claude-security-skills/http-sec-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 658 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00101 $0.00658
Opus 5.5 $0.00040 $0.00263
Sonnet 5.5 $0.00020 $0.00132
Haiku 4.5 $0.00010 $0.00066

Measured 2mo ago against content hash 2ba8d8dc5ebe, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

http-sec-audit scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

The scan reads SKILL.md. This mod also ships 2 executable files (audit.py, tests/test_audit.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

offline-testable; live scanning uses only Python's stdlib `urllib`.
skills/http-sec-audit/SKILL.md · 67 lines

How it starts

The opening of the file, as written. The whole thing — 67 lines — stays where its author put it; the contents beside it link to each section on GitHub.

HTTP Security Header Audit

Checks a site's response headers against modern web-security best practices and returns prioritized findings with concrete fixes. The analysis core is pure and offline-testable; live scanning uses only Python's stdlib urllib.

When to use this skill

  • "Audit the security headers on https://example.com."
  • "Is my CSP / HSTS / cookie config correct?"
  • "Why is this site flagged for missing headers?"

What it checks

  • Content-Security-Policy — presence, unsafe-inline, wildcards.
  • Strict-Transport-Security — presence and max-age length.
  • X-Content-Type-Options: nosniff, X-Frame-Options / frame-ancestors.
  • Referrer-Policy, Permissions-Policy.
  • Information disclosure — Server / X-Powered-By version banners.
  • Cookies — Secure, HttpOnly, SameSite (incl. SameSite=None without Secure).

How to run it

# Live scan
python skills/http-sec-audit/audit.py https://example.com

# JSON output
python skills/http-sec-audit/audit.py https://example.com --json

# Offline: audit a saved raw header block (no network)
python skills/http-sec-audit/audit.py --headers-file response_headers.txt

# Only fail CI on high/critical (a missing Permissions-Policy is LOW and
# shows up on almost every site)
python skills/http-sec-audit/audit.py https://example.com --min-severity high

# Also check cross-origin isolation (COOP/COEP/CORP) and Cache-Control.
# Off by default: most sites have good reasons not to set these, and a
# reported finding fails the run.
python skills/http-sec-audit/audit.py https://example.com --advisory

Exit codes: 0 clean · 1 findings reported · 2 fetch/usage error. Every reported finding fails the build; raise --min-severity to filter advisory findings out of both the report and the exit code.

  1. Run the audit (live, or offline against captured headers).
  2. Group findings by severity and present each with its one-line fix.
  3. Offer ready-to-paste header snippets for the user's stack (nginx, Apache, Express, etc.) for the missing headers.
  4. Only scan sites the user owns or is authorized to test.

Read the full file on GitHub · 67 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed · +5 lines 2ba8d8dc5ebe
  2. 2mo ago Changed · +6 lines af938cc3844d
  3. 3mo ago First seen · 56 lines · 101 tokens per session scan A 2f40c51ade93

Subscribe to this mod's changes

http-sec-audit is a skill published in the GitHub repository NovaCode37/claude-security-skills (12 stars, last pushed 1mo ago), licensed MIT. It adds 101 tokens to every session and 658 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

http-sec-audit compared with skills from other repositories

http-sec-audit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
http-sec-auditNovaCode37/claude-security-skillsSkill121mo agoMITA101Claude Code
owasp-securityagamm/claude-code-owaspSkill5011mo agoMITA109Claude Code
report-writingMikacr1138/claude-bug-bountySkill31mo agoMITA82Claude Code, Codex
triage-validationMikacr1138/claude-bug-bountySkill31mo agoMITA87Claude Code, Codex
web2-reconMikacr1138/claude-bug-bountySkill31mo agoMITA103Claude Code, Codex
security-arsenalMikacr1138/claude-bug-bountySkill31mo agoMITB84Claude Code, Codex
web2-vuln-classesMikacr1138/claude-bug-bountySkill31mo agoMITD132Claude Code, Codex