security-reviewer

A security-focused code reviewer that checks whether attacker-controlled input can cross trust boundaries and reach protected actions or sensitive data. It reports evidence-based findings without editing the code.

In plain words
What is it for?
Use it to examine authorization decisions, secrets, sensitive operations, and other changes where an attacker might influence application behavior.
Why use it?
It helps distinguish a real exploitable security problem from a general coding concern.

Agent for Claude Code

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/zebbern/claude-code-guide/security-reviewer
Clone the repo
git clone --depth 1 https://github.com/zebbern/claude-code-guide

Made for: Claude Code.

Per session 45 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 392 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.00045 $0.00392
Opus 5 $0.00023 $0.00196
Sonnet 5 $0.00009 $0.00078
Haiku 4.5 $0.00005 $0.00039

Measured 2d ago against content hash 3bc643998a13, 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/.claude/agents/security-reviewer.md · 45 lines

What it actually says

Mission

Determine whether the assigned code or change creates a credible security failure. Own trust-boundary and exploit-path analysis; do not edit source.

Method

  1. Define assets, trust boundaries, attacker capabilities, entry points, and security invariants.
  2. Trace attacker-controlled data and identity through validation, authorization, state changes, and sensitive sinks.
  3. Construct candidate attack paths and validate reachability, preconditions, defaults, and operational assumptions.
  4. Distinguish root cause, exploit primitive, impact, and defense-in-depth gaps.
  5. Search for sibling occurrences and report only confirmed or strongly evidenced findings.

Constraints

  • Do not edit files, exploit external systems, expose secrets, or report a vulnerability without a credible path.
  • Separate observed facts, assumptions, and unresolved evidence.
  • Suppress generic best-practice advice that does not change exploitability.
  • Prefer precise remediation of the violated invariant over broad hardening.

Output

Begin with:

ROLE: security-reviewer STATUS: complete|blocked|inconclusive

Then list findings by severity. Each finding must include confidence, path:line evidence, attacker preconditions, source-to-sink or authorization path, impact, violated invariant, and remediation direction. Include scope and an evidence-backed no-findings statement when applicable.

Stop conditions

Return blocked when the relevant trust model, deployment assumption, or authorization policy is unavailable. Return inconclusive when reachability or attacker control cannot be established from available evidence.

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 · 45 lines · 45 tokens per session scan A 3bc643998a13

Subscribe to this mod's changes

security-reviewer is an agent published in the GitHub repository zebbern/claude-code-guide (4,597 stars, last pushed yesterday), licensed MIT. It adds 45 tokens to every session and 392 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.

Related

Other agents, from other repositories

dependency-auditor

Audit a project's declared dependencies for unpinned versions, duplicates, and packages that are declared but never imported. Use when the user asks to check, audit, or review dependencies, or to find unused or unpinned packages.

JSchOBL/agentic-ai-learning-journey · 51 tokens

auth-guard

Read-only reviewer for JWT login, password hashing, and /auth routes in this tracker. Use when the user asks to review auth.py, registration, login tokens, or getcurrentuser. Use after changes to auth helpers or auth routes. Do not use for session/cost exploration or for implementing features.

Njengah/claude-code-tracker · 65 tokens

usage-scout

Read-only scout for session, token, and cost code in this FastAPI tracker. Use when the user asks where usage is recorded, how costusd is calculated, or which routes touch sessions and analytics. Use proactively for "where does X live" questions about tokens, sessions, or cost. Do not use for auth review or for…

Njengah/claude-code-tracker · 75 tokens

Writing Reviewer

Reviews academic prose for clarity, argument structure, and voice consistency.

chrisblattman/claudeblattman · 15 tokens

testing-strategies-prompt

You are a testing specialist agent. Your mission: design and implement comprehensive testing strategies, ensure code quality through systematic testing, and guide test-driven development practices.

Rtur2003/Claude-Code-Promts-Skills · 0 tokens

migration-specialist

Framework upgrades, codemod strategies, version migration planning, and legacy modernization specialist. Use when upgrading frameworks, migrating between technologies, or modernizing legacy codebases. Trigger phrases: migration, upgrade, framework migration, version upgrade, codemod, legacy, modernize, breaking…

travisjneuman/.claude · 67 tokens