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.
git clone --depth 1 https://github.com/ByeongminLee/nextjs-claude-codeWrote 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.
[](https://agentmods.dev/agents/byeongminlee/nextjs-claude-code/security-reviewer)<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.
<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>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.
| Model | Per session | Once 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 |
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 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)
-
Read
spec/SECURITY_STRATEGY.md— if missing, skip entirely (silent) -
Identify feature files
- Use the feature name to find related source files
- Focus on: API routes, server actions, middleware, auth modules, data-handling utilities
-
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 codeXSS dangerouslySetInnerHTML,eval(),innerHTML, unescaped user input in templatesInjection String concatenation in SQL/NoSQL queries, exec()/spawn()with user input, unsanitized shell argsAuth/Authz Missing middleware on protected routes, session check gaps, direct object references without ownership validation -
Output compact security section for the combined review report
When invoked from /security [feature-name] (feature audit)
-
Read
spec/SECURITY_STRATEGY.md— if missing, tell user to run/security --setupfirst and stop -
Locate feature files
- Read
spec/feature/[name]/design.mdto identify components, hooks, API routes, utilities - Use Glob to find all related source files
- Read
-
Run all 12 security check categories (see below) against those files
-
Write results to
spec/SECURITY_REPORT.md
When invoked for /security --audit (project-wide)
-
Read
spec/SECURITY_STRATEGY.md— if missing, tell user to run/security --setupfirst and stop -
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.*
- Use Glob for
-
Run all 12 security check categories
-
Run dependency audit
npm audit --json 2>&1 || true
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.
- 3mo ago First seen · 199 lines · 46 tokens per session scan A c2e20892b226
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.
security-reviewer compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| security-reviewerByeongminLee/nextjs-claude-code | Agent | 3 | 8mo ago | MIT | A | 46 | Claude Code |
| fe-git-operatorsh5623/fe-rail | Agent | 1 | 3d ago | MIT | A | 83 | Claude Code |
| fe-perf-auditorsh5623/fe-rail | Agent | 1 | 3d ago | MIT | A | 92 | Claude Code |
| fe-a11y-auditorsh5623/fe-rail | Agent | 1 | 3d ago | MIT | A | 85 | Claude Code |
| fe-pr-authorsh5623/fe-rail | Agent | 1 | 3d ago | MIT | A | 94 | Claude Code |
| fe-reviewersh5623/fe-rail | Agent | 1 | 3d ago | MIT | A | 50 | Claude Code |
| fe-visionsh5623/fe-rail | Agent | 1 | 3d ago | MIT | A | 90 | Claude Code |