review-security

review-security is a skill for Claude Code from HuntsDesk/ve-kit. It costs 65 tokens per session (2,053 once invoked), scanned A, original, MIT.

A security review guide for the .claude configuration directory, which stores Claude Code agents, skills, hooks, settings, and connections to external tool servers.

In plain words
What is it for?
Use it after changing hooks, settings, agents, skills, or external tool servers, and before sharing the configuration with teammates.
Why use it?
It looks for exposed secrets, unsafe permissions, shell-injection risks, and overly broad tool access in the coding-agent setup.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: reads .claude/ paths; mentions Claude Code.

Good fit Use it after changing hooks, settings, agents, skills, or external tool servers…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/huntsdesk/ve-kit/review-security
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 HuntsDesk/ve-kit --skill review-security
Clone the repo
git clone --depth 1 https://github.com/HuntsDesk/ve-kit

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/huntsdesk/ve-kit/review-security.svg)](https://agentmods.dev/skills/huntsdesk/ve-kit/review-security)
Your own site
<a href="https://agentmods.dev/skills/huntsdesk/ve-kit/review-security"><img src="https://agentmods.dev/badge/skills/huntsdesk/ve-kit/review-security.svg" alt="Measured on agentmods" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,053 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.00065 $0.02053
Opus 5 $0.00032 $0.01026
Sonnet 5 $0.00013 $0.00411
Haiku 4.5 $0.00006 $0.00205

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

Security

Grade A, and why

review-security 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 6d 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.

skills/review-security/SKILL.md · 189 lines

How it starts

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

.claude/ Security Review Protocol

Audits security posture of the Claude Code configuration layer. Scope is deliberately narrow: .claude/ files + settings. Does NOT review app code (that's what /security-review is for).

Part of the review-* skill family. Cites ../_shared/review-checklist.md.

Owner: docs-manager (once registered) or general-purpose fallback. Coordinate with code-reviewer for findings that require pattern validation.

When to invoke

  • After adding new MCP servers or hooks
  • When granting a new agent broad tool permissions
  • Periodic audit (quarterly or after any security-relevant incident)
  • Before sharing the project with new teammates
  • After modifying settings.json / settings.local.json

Output contract

Board tasks only. Lean summary to main agent.


Step 1 — Secret scanning in .claude/

Grep recursively under .claude/ for high-signal secret patterns:

  • sk-[a-zA-Z0-9]{20,} — Anthropic/OpenAI style keys
  • AIza[0-9A-Za-z_-]{35} — Google API keys
  • AKIA[0-9A-Z]{16} — AWS access keys
  • ghp_[a-zA-Z0-9]{36} — GitHub tokens
  • xox[baprs]-[a-zA-Z0-9-]+ — Slack tokens
  • -----BEGIN (RSA )?PRIVATE KEY----- — private keys
  • postgres://[^:]+:[^@]+@ — Postgres connection strings with embedded passwords
  • Any hardcoded password inside a hook script

Severity: critical if found. Immediately flag and recommend: (1) rotate the secret, (2) move to Secret Manager or env vars, (3) scrub git history if committed.

Scan locations:

  • .claude/agents/*.md
  • .claude/skills/**/*.md
  • .claude/rules/*.md
  • .claude/hooks/*.sh
  • .claude/settings.json (should reference env vars, never contain secrets)
  • .claude/settings.local.json

Step 2 — Permission audit: settings.json / settings.local.json

Read both files. For each, evaluate:

Allow list red flags:

  • Bash(*) — inherently broad; safe ONLY with a robust deny list (verify)
  • Write(**) — allows writing anywhere; flag high unless intentional
  • Edit(**) — same
  • WebFetch(*) — can exfiltrate; low risk on trusted machines but flag for awareness
  • mcp__*__* — per-server wildcards; verify MCP server isn't high-risk
  • Tool grants without qualifiers on specific tools (e.g., Bash without (...) = everything)

Read the full file on GitHub · 189 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. 6d ago First seen · 189 lines · 65 tokens per session scan A e47b39281a73

Subscribe to this mod's changes

review-security is a skill published in the GitHub repository HuntsDesk/ve-kit (2 stars, last pushed 1mo ago), licensed MIT. It adds 65 tokens to every session and 2,053 once invoked, about $0.0003 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.