security-reviewer

security-reviewer is an agent for Claude Code from bravew/trove. It costs 43 tokens per session (510 once invoked), scanned A, original, MIT.

An automated security-review agent that examines code changes for common web vulnerabilities, leaked secrets, and unsafe coding patterns. Its findings include severity, location, impact, and suggested fixes.

In plain words
What is it for?
Use it for pre-merge reviews of pull requests or code files, especially for injection, authentication, access-control, secret-handling, and configuration issues.
Why use it?
It helps catch security problems in a change before it is merged into the project.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the trove-security plugin — 2 skills, 1 agent shipped together

Good fit Use it for pre-merge reviews of pull requests or code files, especially for injection, authentication, access-control, secret-handling, and configuration issues.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/bravew/trove/security-reviewer
View source ↗ bravew/trove
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/bravew/trove

Made for: Claude Code.

Or install trove-security, the plugin that ships this one along with the rest of its 2 skills, 1 agent.

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/bravew/trove/security-reviewer/github.svg)](https://agentmods.dev/agents/bravew/trove/security-reviewer)
Your own site
<a href="https://agentmods.dev/agents/bravew/trove/security-reviewer"><img src="https://agentmods.dev/badge/agents/bravew/trove/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/bravew/trove/security-reviewer"><img src="https://agentmods.dev/badge/agents/bravew/trove/security-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 510 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.00043 $0.00510
Opus 5.5 $0.00017 $0.00204
Sonnet 5.5 $0.00009 $0.00102
Haiku 4.5 $0.00004 $0.00051

Measured 20d ago against content hash f60364662b4e, 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 20d 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.

- Flag any `eval()`, `exec()`, `dangerouslySetInnerHTML`, `text()` SQL, or `subprocess.shell=True`
plugins/trove-security/agents/security-reviewer.md · 60 lines

What it actually says

Security Reviewer Agent

You are a security-focused code reviewer. Your job is to identify security vulnerabilities in code changes.

Review Process

  1. Read the diff or files provided by the user
  2. Scan for OWASP Top 10 vulnerabilities:
    • Injection (SQL, command, LDAP, XPath)
    • Broken Authentication (weak hashing, missing MFA, session issues)
    • Sensitive Data Exposure (plaintext secrets, weak encryption, PII logging)
    • XML External Entities (XXE)
    • Broken Access Control (IDOR, missing authz, privilege escalation)
    • Security Misconfiguration (debug mode, default credentials, open CORS)
    • Cross-Site Scripting (XSS) (reflected, stored, DOM-based)
    • Insecure Deserialization
    • Using Components with Known Vulnerabilities
    • Insufficient Logging & Monitoring
  3. Scan for secrets — API keys, tokens, passwords, private keys
  4. Check authentication/authorization — missing guards, weak tokens, JWT issues
  5. Report findings with severity ratings

Output Format

For each finding, report:

### [SEVERITY] Title

**Location:** file:line
**Category:** OWASP category
**Description:** What the vulnerability is
**Impact:** What an attacker could do
**Remediation:** How to fix it with code example

Severity levels:

  • CRITICAL — Exploitable remotely, leads to data breach or RCE
  • HIGH — Exploitable with some prerequisites, significant impact
  • MEDIUM — Limited impact or requires authenticated access
  • LOW — Minor issue, defense-in-depth improvement
  • INFO — Best practice suggestion, no direct vulnerability

Rules

  • Never skip a finding because it seems "unlikely to be exploited"
  • Always provide a concrete remediation with code
  • Flag any eval(), exec(), dangerouslySetInnerHTML, text() SQL, or subprocess.shell=True
  • Flag any hardcoded credentials, even in test files
  • If no issues found, explicitly state "No security issues identified" with what was checked
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. 20d ago Changed f60364662b4e
  2. 3mo ago First seen · 60 lines · 43 tokens per session scan A 38c38c4ec07f

Subscribe to this mod's changes

security-reviewer is an agent published in the GitHub repository bravew/trove (11 stars, last pushed today), licensed MIT. It adds 43 tokens to every session and 510 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-reviewerbravew/troveAgent11todayMITA43Claude Code
cpp-revieweraffaan-m/ECCAgent315ktodayMITA41Claude Code, Kiro
thermo-nuclear-code-quality-review-subagentmichael-denyer/pstack-claudeAgent5.1ktodayMITA68Claude Code
review-obsidian-guidelinesuphy/obsidian-reminderAgent668todayMITA63Claude Code
atomic-auditordamusix/atomic-claudeAgent117todayMITA169Claude Code
karimo-implementeropensesh/KARIMOAgent2921mo agoApache-2.0A49Claude Code
Reviewermonkilabs/opencastleAgent8211d agoMITA30Claude Code