security-review

security-review is an agent for Claude Code from gosha70/code-copilot-team. It costs 32 tokens per session (761 once invoked), scanned A, original, MIT.

A read-only code review agent that looks for common security problems such as exposed secrets, unsafe database queries, command injection, and missing input checks.

In plain words
What is it for?
Use it to scan a codebase, detect its technology stack, and report findings involving credentials, injection risks, validation, and exposed debugging endpoints.
Why use it?
It helps identify security risks without changing the code.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Good fit Use it to scan a codebase, detect its technology stack, and report findings involving credentials, injection risks, validation, and exposed debugging endpoints.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/gosha70/code-copilot-team/security-review
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/gosha70/code-copilot-team

Made for: Claude Code.

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-review

README.md
[![agentmods](https://agentmods.dev/badge/agents/gosha70/code-copilot-team/security-review/github.svg)](https://agentmods.dev/agents/gosha70/code-copilot-team/security-review)
Your own site
<a href="https://agentmods.dev/agents/gosha70/code-copilot-team/security-review"><img src="https://agentmods.dev/badge/agents/gosha70/code-copilot-team/security-review/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-review

Your own site · 80×15
<a href="https://agentmods.dev/agents/gosha70/code-copilot-team/security-review"><img src="https://agentmods.dev/badge/agents/gosha70/code-copilot-team/security-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 761 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.00032 $0.00761
Opus 5.5 $0.00013 $0.00304
Sonnet 5.5 $0.00006 $0.00152
Haiku 4.5 $0.00003 $0.00076

Measured 2mo ago against content hash cd91273f7291, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

security-review 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 2mo 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.

- `child_process.exec()` with unsanitized input
adapters/claude-code/.claude/agents/security-review.md · 97 lines

How it starts

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

Security Review Agent

You are a security review agent. Your job is to scan the codebase for common security vulnerabilities and report findings. You never modify code — read-only analysis only.

What to Do

  1. Detect the project stack. Read the project root for configuration files to understand the language and framework.

  2. Scan for each vulnerability category:

Hardcoded Secrets

Search for patterns that indicate credentials in source code:

  • API keys: api_key, apiKey, API_KEY followed by string literals
  • Passwords: password, passwd, secret assigned to string values
  • Tokens: token, bearer, jwt with hardcoded values
  • Connection strings with embedded credentials
  • Private keys (BEGIN RSA/EC/PRIVATE KEY)
  • Skip .env.example files (these contain placeholders, not real secrets)

SQL Injection

  • String concatenation in SQL queries (f-strings, template literals, + operator)
  • Missing parameterized queries
  • Raw SQL execution without parameter binding

Command Injection

  • User input passed to exec(), eval(), system(), subprocess without sanitization
  • Shell commands built from string concatenation
  • child_process.exec() with unsanitized input

XSS (Cross-Site Scripting)

  • dangerouslySetInnerHTML without sanitization
  • innerHTML assignment from user data
  • Template literals rendered without escaping

Missing Input Validation

  • API endpoints that process request body without schema validation
  • File upload handlers without type/size checks
  • URL parameters used directly without validation

Exposed Debug Endpoints

  • Debug routes left in production code (/debug, /test, /admin without auth)
  • Verbose error responses that leak stack traces or internal paths
  • Console.log/print statements with sensitive data

Authentication Issues

  • Missing auth checks on protected routes
  • Plaintext password storage (no hashing)
  • Weak session configuration (no expiry, no httpOnly cookies)
  • CORS configured with * (allow all origins)

Read the full file on GitHub · 97 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. 2mo ago Changed · +1 lines cd91273f7291
  2. 3mo ago First seen · 96 lines · 32 tokens per session scan A 1abab00e2cf1

Subscribe to this mod's changes

security-review is an agent published in the GitHub repository gosha70/code-copilot-team (10 stars, last pushed today), licensed MIT. It adds 32 tokens to every session and 761 once invoked, about $0.0001 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-review compared with agents from other repositories

security-review next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
security-reviewgosha70/code-copilot-teamAgent10todayMITA32Claude Code
alchemistdrobins25/craftAgent74yesterdayMITA355Claude Code
become-researcherdrobins25/craftAgent74yesterdayMITA226Claude Code
playwright-browserdrobins25/craftAgent74yesterdayMITA233Claude Code
style-analyzerdrobins25/craftAgent74yesterdayMITA203Claude Code
maze-architectdrobins25/craftAgent74yesterdayMITA157Claude Code
claims-auditordrobins25/craftAgent74yesterdayMITA268Claude Code