security-reviewer

security-reviewer is an agent for Claude Code from liatrio-labs/claude-code-gauntlet. It costs 29 tokens per session (4,288 once invoked), scanned B, original, Apache-2.0.

A code-review helper that searches for security vulnerabilities in code changes, including authentication problems, exposed data, unsafe cryptography, and common OWASP risks.

In plain words
What is it for?
Checking changed code and its callers for concrete security issues involving input handling, authentication, data exposure, and cryptographic operations.
Why use it?
It follows data flows across the wider codebase, helping find attack paths that are not visible in the changed lines alone.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; mentions CLAUDE.md; mentions AGENTS.md.

Part of the code-gauntlet plugin — 2 skills, 12 agents, 1 hook 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/liatrio-labs/claude-code-gauntlet/security-reviewer
Clone the repo
git clone --depth 1 https://github.com/liatrio-labs/claude-code-gauntlet

Made for: Claude Code.

Or install code-gauntlet, the plugin that ships this one along with the rest of its 2 skills, 12 agents, 1 hook.

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/liatrio-labs/claude-code-gauntlet/security-reviewer.svg)](https://agentmods.dev/agents/liatrio-labs/claude-code-gauntlet/security-reviewer)
Your own site
<a href="https://agentmods.dev/agents/liatrio-labs/claude-code-gauntlet/security-reviewer"><img src="https://agentmods.dev/badge/agents/liatrio-labs/claude-code-gauntlet/security-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,288 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. 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.1 $0.00029 $0.04288
Opus 5 $0.00015 $0.02144
Sonnet 5 $0.00006 $0.00858
Haiku 4.5 $0.00003 $0.00429

Measured 6d ago against content hash 9f26a19e8158, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade B, and why

security-reviewer scanned grade B with 2 findings 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 6d 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.

Cloud metadata endpointmediumServer-side request forgery

One request to 169.254.169.254 can return temporary IAM credentials.

- Redirect-following that could reach internal services (169.254.169.254, localhost, internal DNS)

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- User-controlled URLs passed to server-side HTTP clients (fetch, requests, curl) without allowlist validation
agents/security-reviewer.md · 269 lines

How it starts

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

You are a security-focused code reviewer. Your job is to find vulnerabilities that an attacker could exploit — not theoretical risks, but concrete attack vectors in the code changes.

Critical principle: investigate the entire codebase

Security vulnerabilities often span multiple files. A function that's safe today because its input comes from config may become exploitable when a future route passes user input to it. You MUST trace data flows beyond the diff — if a changed function is called by code outside the diff, read that calling code. If a changed function calls code outside the diff, read the called code. Use Read, Grep, and Glob to explore the full repository, not just the changed files.

Threshold note

Security findings carry their own post-validation threshold: with no REVIEW.md override the security bar is min(confidence_threshold, security_min_confidence) = 70, while non-security dimensions sit at 55. Report findings with confidence >= 60 to ensure borderline security issues reach validation — the pipeline's threshold is the final gate, not the agent's.

Mandatory investigation checklist

Regardless of the PR size or how many other agents are running, you MUST check ALL of the following. Do not skip items even if they seem unlikely — security bugs hide in unexpected places.

  1. Path construction — Search for every Path.Combine, path.join, os.path.join, filepath.Join, URL concatenation, or similar path/URL construction in the diff. For each, check if ANY component comes from a parameter that could ever be user-controlled. If so, check for traversal guards (../, encoded variants).
  2. Prompt/template injection — Search for every string interpolation, template rendering, or string concatenation that produces a prompt, query, HTML, SQL, or shell command. For each, check if any interpolated value could contain adversarial content.
  3. Secrets in code — Search for patterns matching API keys, tokens, passwords, connection strings. Check hardcoded values, config files included in the diff, and default values in settings classes.
  4. Auth checks on new endpoints — For every new route, controller method, API handler, or RPC endpoint in the diff, verify authorization is checked before the operation executes.
  5. Deserialization of external input — Search for JSON.parse, Deserialize, unsafe YAML load, or equivalent on data that arrives from outside the process (HTTP bodies, message queues, file reads).

Read the full file on GitHub · 269 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. 6d ago First seen · 269 lines · 29 tokens per session scan B 9f26a19e8158

Subscribe to this mod's changes

security-reviewer is an agent published in the GitHub repository liatrio-labs/claude-code-gauntlet (12 stars, last pushed today), licensed Apache-2.0. It adds 29 tokens to every session and 4,288 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 2 findings (cloud metadata endpoint, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

design-reviewer

Reviews code for maintainability, readability, and structural design quality. Read-only.

serdardb/multi-agent · 20 tokens

security-guard

Reviews code for security vulnerabilities according to our org rules. Read-only.

serdardb/multi-agent · 18 tokens

pr-security-review

Use this agent to perform a security analysis of a pull request BEFORE checking out or running any code locally. Analyzes diffs and changed files for malware, dangerous actions, supply chain attacks, credential theft, and other security risks. Returns a verdict of SAFE, REVIEW NEEDED, or BLOCK. Must be run before any…

prime-radiant-inc/github-triage · 75 tokens

security-auditor

Use this agent when conducting comprehensive security audits, compliance assessments, or risk evaluations across systems, infrastructure, and processes. Invoke when you need systematic vulnerability analysis, compliance gap identification, or evidence-based security findings.

serdardb/multi-agent · 46 tokens

ia-architecture-strategist

Analyzes code for architectural compliance, design patterns, naming conventions, and structural integrity. Use when adding services or evaluating refactors that span more than two modules, or when checking codebase-wide consistency.

iliaal/whetstone · 47 tokens

analyst

Read-only research and judging agent for fan-out work. Reads files, searches, runs read-only commands, and reports back. Its tool allowlist excludes Skill. That suppresses the skill catalog a general-purpose spawn carries, making each spawn substantially cheaper. Dispatch it for mechanical analysis over a codebase, a…

bendrucker/claude · 77 tokens