security-reviewer

security-reviewer is an agent for coding agents from bravew/trove. It costs 43 tokens per session (511 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

Part of the trove-security plugin — 2 skills, 1 agent 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/bravew/trove/security-reviewer
Clone the repo
git clone --depth 1 https://github.com/bravew/trove

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.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.svg" alt="Measured on agentmods" 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 511 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.00043 $0.00511
Opus 5 $0.00022 $0.00255
Sonnet 5 $0.00009 $0.00102
Haiku 4.5 $0.00004 $0.00051

Measured 5d ago against content hash 38c38c4ec07f, 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 5d 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. 5d 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 (10 stars, last pushed 6d ago), licensed MIT. It adds 43 tokens to every session and 511 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.