security-audit

security-audit is a skill for Claude Code from PavloSEO/seohead-seotools. It costs 180 tokens per session (885 once invoked), scanned A, original, MIT.

A website check of security-related response headers, exposed software details, cookie settings, HTTPS redirects, and publicly accessible files. It is an SEO-focused check, not a penetration test.

In plain words
What is it for?
Use it to check HSTS, CSP, clickjacking protection, content-type protection, referrer and permissions policies, cookie flags, HTTPS redirects, and exposed .git, .env, or phpinfo files.
Why use it?
Missing protections or leaked version information can expose a site to data leaks and compromise, which can also damage search visibility.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to check HSTS, CSP, clickjacking protection, content-type protection, referrer and permissions policies, cookie flags, HTTPS redirects, and exposed .git, .env, or phpinfo files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pavloseo/seohead-seotools/security-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 PavloSEO/seohead-seotools --skill security-audit
Clone the repo
git clone --depth 1 https://github.com/PavloSEO/seohead-seotools

Made for: Claude Code.

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 security-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/pavloseo/seohead-seotools/security-audit/github.svg)](https://agentmods.dev/skills/pavloseo/seohead-seotools/security-audit)
Your own site
<a href="https://agentmods.dev/skills/pavloseo/seohead-seotools/security-audit"><img src="https://agentmods.dev/badge/skills/pavloseo/seohead-seotools/security-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 security-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/pavloseo/seohead-seotools/security-audit"><img src="https://agentmods.dev/badge/skills/pavloseo/seohead-seotools/security-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 180 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 885 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00180 $0.00885
Opus 5 $0.00090 $0.00443
Sonnet 5 $0.00036 $0.00177
Haiku 4.5 $0.00018 $0.00089

Measured 8d ago against content hash 26d7814d4fcb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

security-audit scanned grade A with 0 findings 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 8d ago.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/security-audit/SKILL.md · 69 lines

How it starts

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

Security Audit — security headers and information disclosure

This is not a penetration test. Everything uses ordinary GET requests for information the site already serves publicly: response headers, cookie flags, and the HTTPS redirect. Nothing is modified and no values are guessed. This matters for SEO: HSTS and HTTPS affect trust and rankings, while an exposed .git or .env directly enables data leakage and a subsequent compromise that may damage search visibility.

The tool is seohead security-check (CLI + MCP seo_security_check + HTTP).

When to use it

  • "check site security," "security headers," "security score";
  • "is HSTS / CSP present," "are the headers configured";
  • "does the server / PHP version leak";
  • "is .git / .env blocked," "is phpinfo publicly exposed";
  • before delivering a site to a client or as part of a full audit.

Workflow

Baseline check (safe and makes no unnecessary requests):

seohead security-check --url https://example.com

The response contains score and grade (A–F based on the weighted total), headers_present, headers_missing (with the purpose of each header), version_disclosure (what discloses version information), cookies (the Secure/HttpOnly/SameSite flags for each cookie), https_redirect (whether HTTP redirects to HTTPS), and findings, a list of issues in plain language.

Probe operational paths (only when the user explicitly requests it):

seohead security-check --url https://example.com --probe-paths

This additionally checks whether /.git/HEAD, /.env, /.DS_Store, /.svn/entries, /phpinfo.php, /server-status, or /backup.sql is publicly accessible. The tool uses content inspection to distinguish a genuinely exposed file from a soft 404. This is still limited to reading public URLs, but enable the flag only when the user asks to check for information disclosure, not by default.

Score (grade)

A ≥ 90, B ≥ 75, C ≥ 60, D ≥ 40, E ≥ 20; otherwise F. HSTS and CSP are weighted at 20 points each, and the other four headers at 15 points each. X-Frame-Options counts as present if its role is covered by frame-ancestors in CSP.

Read the full file on GitHub · 69 lines

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. 8d ago First seen · 69 lines · 180 tokens per session scan A 26d7814d4fcb

Subscribe to this mod's changes

security-audit is a skill published in the GitHub repository PavloSEO/seohead-seotools (0 stars, last pushed 5d ago), licensed MIT. It adds 180 tokens to every session and 885 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories