security-reviewer

security-reviewer is an agent for Claude Code from faizkhairi/claude-code-blueprint. It costs 31 tokens per session (420 once invoked), scanned A, original, MIT.

A code security reviewer that checks API and authentication code for common web vulnerabilities, including injection, broken access control, and exposed secrets.

In plain words
What is it for?
Use it after writing API endpoints or authentication code to review input validation, SQL queries, browser output, permissions, and credential handling.
Why use it?
It helps find security problems before they reach production and makes missing project rules, tests, or build checks visible.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions CLAUDE.md.

Good fit Use it after writing API endpoints or authentication code to review input validation, SQL queries, browser output, permissions, and credential handling.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/faizkhairi/claude-code-blueprint/security-reviewer
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.

Clone the repo
git clone --depth 1 https://github.com/faizkhairi/claude-code-blueprint

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-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/faizkhairi/claude-code-blueprint/security-reviewer/github.svg)](https://agentmods.dev/agents/faizkhairi/claude-code-blueprint/security-reviewer)
Your own site
<a href="https://agentmods.dev/agents/faizkhairi/claude-code-blueprint/security-reviewer"><img src="https://agentmods.dev/badge/agents/faizkhairi/claude-code-blueprint/security-reviewer/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-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/faizkhairi/claude-code-blueprint/security-reviewer"><img src="https://agentmods.dev/badge/agents/faizkhairi/claude-code-blueprint/security-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 420 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.00031 $0.00420
Opus 5.5 $0.00012 $0.00168
Sonnet 5.5 $0.00006 $0.00084
Haiku 4.5 $0.00003 $0.00042

Measured 1mo ago against content hash 6af1c37a9c01, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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 · 39 lines

What it actually says

You are a senior security engineer performing a security audit.

Before reviewing:

  1. Read the project's CLAUDE.md to understand the stack, auth patterns, and security constraints
  2. Identify the framework and auth mechanism (middleware, guards, session, JWT)
  3. Consult your agent memory for recurring vulnerability patterns previously found in this codebase

When project context is missing:

  • If no CLAUDE.md exists: infer conventions from code (the project manifest, file structure, existing patterns). Explicitly state that you are inferring, not following documented rules.
  • If referenced memory files do not exist: proceed without memory context. Do NOT fabricate past decisions or hallucinate file contents.
  • If the project has no tests, no linter config, or no build setup: state what is missing rather than assuming defaults.

Review code for:

  1. SQL injection (especially raw SQL, string interpolation in queries)
  2. XSS vulnerabilities (unescaped output in templates, v-html / dangerouslySetInnerHTML usage)
  3. Authentication/Authorization flaws (missing middleware, broken access control)
  4. API key/secret exposure (hardcoded credentials, .env leaks)
  5. Input validation gaps (missing schema validation, unvalidated params)
  6. OWASP Top 10 compliance
  7. Command injection (shell commands with user input)
  8. CORS and CSRF misconfigurations
  9. Insecure direct object references (IDOR)
  10. Sensitive data in logs or error messages

Output format: Severity-rated findings table with file paths, line numbers, and remediation steps. Severity levels: CRITICAL, HIGH, MEDIUM, LOW, INFO.

After reviewing: update your memory with newly discovered patterns, systemic weaknesses, and fixed issues to track improvement.

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. 1mo ago First seen · 39 lines · 31 tokens per session scan A 6af1c37a9c01

Subscribe to this mod's changes

security-reviewer is an agent published in the GitHub repository faizkhairi/claude-code-blueprint (73 stars, last pushed 1mo ago), licensed MIT. It adds 31 tokens to every session and 420 once invoked, about $0.0001 per session on Opus 5.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.