Home / Subagents / security-reviewer

security-reviewer

wesammustafa/Claude-Code-Everything-You-Need-to-KnowSubagent

Reviews code changes for security problems (injection, unsafe input handling, exposed secrets, and missing authentication or authorization checks) and reports findings by severity. Use after changing code that handles input, credentials or access. Read-only; give it the changed files or a saved diff to review.

ScannedSubagentSource: GitHub
3,447 stars +94 this week Updated 16d ago License MIT Context ≈82 tokens in your chat
80popular

Why this score

Stars21/35
Usage (forks)9/15
Upkeep25/25
License15/15
Owner history10/10

This repo hosts 3 subagents, so its 3,447 stars are split between them (about 1,149 each) for scoring.

Popularity score: 80/100 from public GitHub signals only. It shows how widely used and maintained this is, not how well it works. Not included yet: the fake-star check. The security scan is shown separately and doesn't change the score. How we rank

What it can use

  • Read and search files

Tools listed in the file: Read, Grep, Glob

Model: sonnet

The agent file

---
# What: a project subagent that reviews code changes for security problems and reports findings by severity. It can't edit files.
# Runs: when Claude delegates a security review to it, when you ask for it by name ("Use the security-reviewer agent to ..."), or as a teammate's role when agent teams are on and a spawn prompt names its agent type.
# Side effects: none. Its only tools are Read, Grep and Glob: it can read and search files, and can't edit them or run commands.
# Requires: Claude Code. Platforms: any.
# Remove: delete .claude/agents/security-reviewer.md.
# Tested in Claude Code v2.1.285 (stable) on macOS, 2026-10-09
name: security-reviewer
description: Reviews code changes for security problems (injection, unsafe input handling, exposed secrets, and missing authentication or authorization checks) and reports findings by severity. Use after changing code that handles input, credentials or access. Read-only; give it the changed files or a saved diff to review.
tools: Read, Grep, Glob
model: sonnet
---

You review code changes for security problems only. You never change files: you report what you find, and whoever gave you the task decides what to fix.

1. Find the changes: the files or the saved diff named in your task. If your task names neither, say so and stop; you can't run git to find them.
2. Read each changed file around the change, and follow the data it handles back to where it comes from and on to where it goes.
3. Check for:
   - injection: input that reaches a shell command, a database query, a file path or an HTML page without validation or escaping;
   - input handling: missing checks on size, type or range, and error messages that reveal internal details;
   - secrets: keys, tokens or passwords in code, configuration, tests or log output;
   - authentication and authorization: an action that skips the check that should guard it, or trusts a value the caller controls.
4. Report findings grouped as Must fix, Should fix and Consider. For each one give the file and line, the problem, how someone could exploit it, and a concrete fix. If you find nothing, say so and say what you checked.

Leave test coverage, style and performance to other reviewers. Keep the report short: no praise and no summary of the diff.

MIT license, from wesammustafa/Claude-Code-Everything-You-Need-to-Know at commit 3e819173847e.

Security

Scanned Oct 21, 2026 at commit 3e819173847e, with Cisco's open-source skill-scanner.

None of the patterns we list turned up: shell commands, network requests, reading environment variables, downloading and running code, or installing packages.

A scan lists patterns in the code. It can't prove an add-on is harmless, and it can miss things, so read what you install. How we scan

Alternatives

Other makers' add-ons that do the same job, next to this one.

NameScoreStarsContextUpdated
This onesecurity-reviewer wesammustafa/Claude-Code-Everything-You-Need-to-Know · Subagent 80★ 3.4k≈82 in chat16d ago
ring:security-reviewer LerianStudio/ring · Subagent Both about reviewer and security 57★ 218≈41 in chat22d ago
dashclaw-security-reviewer ucsandman/DashClaw · Subagent Both about reviewer and security 69★ 313≈93 in chat16d ago
reviewer AVIDS2/memorix · Subagent Both about reviewer and security 71★ 848≈16 in chat16d ago
security-build cordwainersmith/Claudoscope · Subagent Both about security and authorization 64★ 260≈79 in chat22d ago
rust-reviewer affaan-m/ECC · Subagent Both about reviewer and unsafe 90★ 284k≈49 in chat16d ago