Skip to content
Development
Agent

security-review

The first pass of every review. These are the highest-impact, most-missed classes. Map to OWASP Top 10; for a deep audit escalate to the `security-auditor` agent and the `owasp-top10` skill.

From plugin
skills
954 skills54 agents

Claude Code

$ npx -y skills add vanara-agents/skills --agent claude-code

Agent definition

security-review.md

Security Review

The first pass of every review. These are the highest-impact, most-missed classes. Map to OWASP Top 10; for a deep audit escalate to the `security-auditor` agent and the `owasp-top10` skill.

Injection

User input must never be interpreted as code/query syntax.

// BAD — SQL injection
db.query(`SELECT * FROM orders WHERE status = '${req.query.status}'`);

// GOOD — parameterized
db.query('SELECT * FROM orders WHERE status = $1', [req.query.status]);
  • SQL: bind parameters; never string-concatenate. For dynamic columns (sort/filter), **whitelist**

the allowed set — you can't parameterize an identifier.

  • Command: avoid shelling out with user input; if unavoidable, pass an argv array, never a shell

string.

  • Template/XSS: escape output by default; treat any HTML built from input as suspect.

Broken authorization (IDOR)

The most common real vuln in CRUD apps. Authentication ≠ authorization.

// BAD — authenticated, but ownership never checked
const doc = await db.docs.findById(req.params.id);

// GOOD — verify the caller owns the resource
const doc = await db.docs.findById(req.params.id);
if (!doc || doc.ownerId !== req.session.userId) return res.status(404).end();
  • Check ownership/role on **every** action that reads or mutates a specific resource.
  • Prefer 404 over 403 for resources the caller may not even know exist (avoid leaking existence).
  • Don't trust IDs, roles, or prices sent from the client — re-derive server-side.

Secrets

  • No hardcoded keys, tokens, passwords, or connection strings — even in tests or comments.
  • Pull from environment variables or a secret manager; validate presence at startup.
  • If a secret is found in a diff, flag CRITICAL and instruct rotation — committed secrets are

compromised even if later removed (git history).

Unsafe deserialization

  • Never deserialize untrusted data with executable formats: Python `pickle`, `yaml.load` (use

`safe_load`), Java native serialization, PHP `unserialize` on user input.

  • Prefer JSON with a schema validator at the boundary.

Other high-value checks

  • **SSRF:** outbound requests to user-supplied URLs must be allow-listed; block internal IP ranges

and metadata endpoints (`169.254.169.254`).

  • **Path traversal:** normalize and confine file paths to a base directory; reject `..` segments.
  • **Crypto:** constant-time comparison for tokens (`crypto.timingSafeEqual`); strong, salted hashing

(argon2/bcrypt/scrypt) for passwords; never MD5/SHA1 for secrets.

  • **Rate limiting:** state-changing and auth endpoints should be rate-limited (return 429).
  • **Error leakage:** no stack traces or internal details in client-facing error responses.
Read more
@vanara-agents
Ships withskills

🐒 Free agents, skills & packs for Claude Code One subscription. An army of Claude Code agents. 30 production-grade agents, skills, and packs for Claude Code — free, Apache-2.0, install with one command.

917 skills54 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
9
Star history of vanara-agents/skills on GitHub, a chart by star-history.com

Other agents on skills.

AGENT

AGENT

Agent

Use when designing a new HTTP/GraphQL API or changing an existing one — modeling resources, defining endpoint contracts, choosing…

review-notes

review-notes

Agent

This shows how the api-designer agent reviews a flawed draft. Findings are severity-ranked so the implementer fixes the…

contract-and-openapi

contract-and-openapi

Agent

The contract is the deliverable. Express it as an **OpenAPI 3.1** document so it is human-readable *and* machine-checkable. This…

design-checklist

design-checklist

Agent

Run through this before declaring an API contract done. It is ordered the way you should *design*: resources first, cross-cutting…

pr-comment-template

pr-comment-template

Agent

Copy-paste templates for leaving review comments. Keep each comment to one finding: an anchor, the problem, and the fix.

More agents from other plugins.

a11y-architect
Auto-invoked

a11y-architect

Agent

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI…

ecc2w293k
@affaan-m@affaan-mInstall Agent
analyze-pass-impact

analyze-pass-impact

Agent

Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across…

react5d252k
@facebook@facebookInstall Agent
orchestrator

orchestrator

Agent

- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as…

codex5d135k
@openai@openaiInstall Agent
cavecrew-builder

cavecrew-builder

Agent

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…

caveman6d119k
@juliusbrussee@juliusbrusseeInstall Agent

Questions about security-review.

Which coding agents can use security-review?
security-review installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.