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

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

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/byeongminlee/nextjs-claude-code/security-reviewer
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.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.svg" alt="Measured on agentmods" 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. 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.00046 $0.02176
Opus 5 $0.00023 $0.01088
Sonnet 5 $0.00009 $0.00435
Haiku 4.5 $0.00005 $0.00218

Measured 3d ago against content hash c2e20892b226, 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 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 3d 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. 3d 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 5mo ago), licensed MIT. It adds 46 tokens to every session and 2,176 once invoked, about $0.0002 per session on Opus 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

Other agents, from other repositories

merge-conflict-resolver

Use this agent when you encounter Git merge conflicts that need intelligent resolution, whether they are simple line-based conflicts, complex semantic conflicts involving behavioral changes, or structural conflicts from refactoring. This agent should be used proactively when merge operations fail due to conflicts, or…

module-federation/core · 264 tokens

git-conflict-resolver

Use this agent when you need to resolve git merge conflicts, merge branches, or handle complex git operations involving branch integration. This includes resolving conflicts in files, choosing between conflicting changes, merging feature branches into main/master, rebasing branches, or cleaning up merge-related…

module-federation/core · 343 tokens

ts-coder

Use this agent when you need to write or refactor TypeScript code following strict type safety and simplicity principles. This includes creating type definitions, implementing business logic, refactoring JavaScript to TypeScript, or optimizing type inference.

giselles-ai/giselle · 49 tokens

proofreader

Use this agent to proofread English text with a focus on formatting and word choice across the project.

giselles-ai/giselle · 23 tokens

project-structure

Airbroke uses the Next.js App Router. Most feature code lives under app, components, lib, prisma, and tests.

icoretech/airbroke · 0 tokens

pb-sync-reviewer

Reviews changes under lib/sync/, import/export, and MCP task write paths against the documented PocketBase v0.23+ gotchas plus prior Codex adversarial data-loss findings. Read-only. Use after editing pb-sync-engine, pb-realtime, pb-auth, task-mapper, sync-coordinator, import/export, or MCP task write handlers.

vscarpenter/gsd-task-manager · 76 tokens