Skip to content
Security
Skill

/code-review-security

Security-focused code review mapped to OWASP Top 10 and ASVS. Use when reviewing pull requests, auditing files or modules for vulnerabilities, or performing pre-merge security gate checks. Covers injection, auth, authorization, cryptography, data exposure, misconfiguration, and

From plugin
agent-security-playbook
23018 skills6 agents

Claude Code

$ npx -y skills add owasp/secure-agent-playbook --skill code-review-security --agent claude-code

SKILL.md

code-review-security.SKILL.md
name: code-review-security
description: Security-focused code review mapped to OWASP Top 10 and ASVS. Use when reviewing pull requests, auditing files or modules for vulnerabilities, or performing pre-merge security gate checks. Covers injection, auth, authorization, cryptography, data exposure, misconfiguration, and deserialization.
license: CC-BY-4.0

Security Code Review

Review code for security vulnerabilities by following the full procedure in `plays/code-review-security.md`.

Steps

1. **Scope & Context** — Establish language/framework, trust boundary (server/client/library/CLI), data sensitivity (PII, credentials, financial), and exposure (internet-facing, internal, local).

2. **Systematic Review by Vulnerability Class** (priority order):

  • **Injection (A03)** — SQL, command, XSS, SSTI, LDAP, path traversal, header, log injection
  • **Authentication & Session (A07)** — Hardcoded credentials, missing auth, weak sessions, JWT issues
  • **Authorization (A01)** — Missing authz checks, IDOR, horizontal/vertical privilege escalation
  • **Cryptography (A02)** — Weak algorithms, hardcoded keys, missing encryption, custom crypto
  • **Data Exposure (A01)** — Sensitive data in errors/logs, credentials in code, debug mode
  • **Misconfiguration (A05)** — Default credentials, permissive CORS, missing security headers
  • **Deserialization (A08)** — Untrusted deserialization, missing integrity checks, CSRF gaps

3. **Framework-Specific Checks** — Apply checks for detected framework (React, Express, Django, Flask, Spring, Rails, Go).

4. **Diff-Specific Analysis** (for PRs) — Focus on changed lines plus context, verify security controls preserved, check new endpoints match auth patterns, look for removed security controls.

5. **Produce Findings** — Cite file:line, show vulnerable snippet, explain attack scenario, provide fixed code, rate confidence.

Output

Scope summary, findings sorted by severity using `templates/finding.md`, positive observations (good security controls in place), and severity count table.

OWASP References

  • OWASP Top 10 (2021): A01-A10
  • OWASP ASVS v5.0
  • OWASP Code Review Guide
  • OWASP Cheat Sheet Series
Read more
@owasp
Ships withagent-security-playbook

An open-source security playbook for AI agents. Structured, OWASP-grounded procedures that enable agents to perform security engineering tasks — from code review to AI agent security audits.

23018 skills6 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
230
Star history of owasp/secure-agent-playbook on GitHub, a chart by star-history.com

Other skills on agent-security-playbook.

More skills from other plugins.

api-security

api-security

Use for authorized security assessment of REST, GraphQL, WebSocket, or SOAP APIs, including discovery, authentication,…

@zhaoxuya520@zhaoxuya520Install Skill
nemoclaw-user-guide

nemoclaw-user-guide

Find official NemoClaw documentation for installation, configuration, operation, or troubleshooting. Also handles requested docs…

@nvidia@nvidiaInstall Skill

Questions about code-review-security.

Which coding agents can use code-review-security?
code-review-security installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.