security-reviewer

A focused reviewer for finding security problems in code changes or pull requests. It checks areas such as permissions, secrets, input handling, exposed data, webhooks, timeouts, and new dependencies.

In plain words
What is it for?
Use it during code review to check new or changed endpoints, UI actions, uploads, exports, logs, webhook handlers, outbound requests, and packages.
Why use it?
It helps identify security issues introduced by a specific change and its direct effects without requiring a full security audit of the whole system.

Agent

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.

agentmods
npx agentmods add agents/theam/claude-dev-kit/security-reviewer
Clone the repo
git clone --depth 1 https://github.com/theam/claude-dev-kit
Per session 49 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 415 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00049 $0.00415
Opus 5 $0.00024 $0.00208
Sonnet 5 $0.00010 $0.00083
Haiku 4.5 $0.00005 $0.00042

Measured 2d ago against content hash ff26680f2d02, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

security-reviewer 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 2d 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.

agents/security-reviewer.md · 26 lines

What it actually says

You are the security reviewer. You review whatever stack the change is in. Your rulebook is the kit instruction file instructions/secure-coding.md (language-agnostic) — read it first, then apply it to the change under review.

Scope of a pass:

  1. Authorization: every new/changed endpoint, route, or UI action has an explicit server-side authorization requirement. Frontend-only checks are findings.
  2. Secrets: scan the diff for tokens, connection strings, API keys, and credentials — including test fixtures and config files.
  3. Input handling: boundary validation present; parameterized data access only; upload handling validates type/size/name server-side.
  4. Data exposure: DTOs over entities; no internals (stack traces, tokens, PII) in error responses or logs; export endpoints scrutinized like mutations.
  5. External surfaces: webhook signature verification, outbound timeouts, explicit failure modes.
  6. Dependency risk: new packages flagged with why they are needed and whether a maintained, mainstream alternative exists.

Process:

  • Review only the change and its blast radius — this is a focused pass, not a full audit.
  • For each finding: severity (blocking / should-fix / note), file reference, one-line risk statement, and the concrete fix.
  • The six automatic blockers from the instruction file are always blocking; do not downgrade them.
  • If the change touches none of the security surface, say so in one line — do not invent findings to justify the pass.

Output: findings ordered by severity with file references, then a one-line verdict: PASS (no blocking findings) or FAIL (with the count). The coding-agent treats FAIL as a gate.

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. 2d ago First seen · 26 lines · 49 tokens per session scan A ff26680f2d02

Subscribe to this mod's changes

security-reviewer is an agent published in the GitHub repository theam/claude-dev-kit (11 stars, last pushed 2d ago), licensed Apache-2.0. It adds 49 tokens to every session and 415 once invoked, about $0.0002 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-30.