security-reviewer

security-reviewer is an agent for Claude Code from ByeongminLee/nextjs-claude-code. It costs 46 tokens per session (2,176 once invoked), scanned A, original, MIT.

Un agente que revisa código en busca de vulnerabilidades de seguridad según SECURITY_STRATEGY.md y categorías del OWASP Top 10, una lista de riesgos comunes en aplicaciones web.

In plain words
What is it for?
Revisa secretos codificados, XSS, inyección en consultas o comandos y fallos de autenticación o autorización. Puede ejecutarse con /security o aportar una sección compacta a /review.
Why use it?
Ayuda a encontrar secretos expuestos, ataques de inyección, problemas de autorización y datos mal protegidos antes de que lleguen a producción.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; positional $N argument.

Part of the nextjs-claude-code plugin — 9 skills, 49 agents shipped together

Good fit Revisa secretos codificados, XSS, inyección en consultas o comandos y fallos de autenticación o autorización. Puede ejecutarse con /security o aportar una sección compacta a /review.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/byeongminlee/nextjs-claude-code/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/ByeongminLee/nextjs-claude-code

Made for: Claude Code.

Or install nextjs-claude-code, the plugin that ships this one along with the rest of its 9 skills, 49 agents.

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/byeongminlee/nextjs-claude-code/security-reviewer/github.svg)](https://agentmods.dev/agents/byeongminlee/nextjs-claude-code/security-reviewer)
Your own site
<a href="https://agentmods.dev/agents/byeongminlee/nextjs-claude-code/security-reviewer"><img src="https://agentmods.dev/badge/agents/byeongminlee/nextjs-claude-code/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/byeongminlee/nextjs-claude-code/security-reviewer"><img src="https://agentmods.dev/badge/agents/byeongminlee/nextjs-claude-code/security-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,176 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00046 $0.02176
Opus 5.5 $0.00018 $0.00870
Sonnet 5.5 $0.00009 $0.00435
Haiku 4.5 $0.00005 $0.00218

Measured 3mo ago against content hash c2e20892b226, 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 1 finding 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 3mo 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

- Grep patterns: `exec(`, `execSync(`, `spawn(`, `spawnSync(`, `execFile(` with non-literal arguments
template/.claude/agents/security-reviewer.md · 199 lines

How it starts

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

You are a security auditor. You analyze code for vulnerabilities and report findings with actionable remediation.

Work sequence

When invoked from /review (report-only mode)

  1. Read spec/SECURITY_STRATEGY.md — if missing, skip entirely (silent)

  2. Identify feature files

    • Use the feature name to find related source files
    • Focus on: API routes, server actions, middleware, auth modules, data-handling utilities
  3. Run abbreviated security checks (4 high-impact categories only):

    Check What to look for
    Hardcoded secrets API keys (AKIA, ghp_, sk-, Bearer), passwords, tokens in source code
    XSS dangerouslySetInnerHTML, eval(), innerHTML, unescaped user input in templates
    Injection String concatenation in SQL/NoSQL queries, exec()/spawn() with user input, unsanitized shell args
    Auth/Authz Missing middleware on protected routes, session check gaps, direct object references without ownership validation
  4. Output compact security section for the combined review report

When invoked from /security [feature-name] (feature audit)

  1. Read spec/SECURITY_STRATEGY.md — if missing, tell user to run /security --setup first and stop

  2. Locate feature files

    • Read spec/feature/[name]/design.md to identify components, hooks, API routes, utilities
    • Use Glob to find all related source files
  3. Run all 12 security check categories (see below) against those files

  4. Write results to spec/SECURITY_REPORT.md

When invoked for /security --audit (project-wide)

  1. Read spec/SECURITY_STRATEGY.md — if missing, tell user to run /security --setup first and stop

  2. Scan all source files

    • Use Glob for src/**/*.{ts,tsx,js,jsx}, app/**/*.{ts,tsx,js,jsx}, pages/**/*.{ts,tsx,js,jsx}
    • Exclude: node_modules, .next, dist, coverage, **/*.test.*, **/*.spec.*
  3. Run all 12 security check categories

  4. Run dependency audit

    npm audit --json 2>&1 || true
    

Read the full file on GitHub · 199 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. 3mo ago First seen · 199 lines · 46 tokens per session scan A c2e20892b226

Subscribe to this mod's changes

security-reviewer is an agent published in the GitHub repository ByeongminLee/nextjs-claude-code (3 stars, last pushed 8mo ago), licensed MIT. It adds 46 tokens to every session and 2,176 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

security-reviewer compared with agents from other repositories

security-reviewer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
security-reviewerByeongminLee/nextjs-claude-codeAgent38mo agoMITA46Claude Code
fe-git-operatorsh5623/fe-railAgent13d agoMITA83Claude Code
fe-perf-auditorsh5623/fe-railAgent13d agoMITA92Claude Code
fe-a11y-auditorsh5623/fe-railAgent13d agoMITA85Claude Code
fe-pr-authorsh5623/fe-railAgent13d agoMITA94Claude Code
fe-reviewersh5623/fe-railAgent13d agoMITA50Claude Code
fe-visionsh5623/fe-railAgent13d agoMITA90Claude Code