Agent skill

Code Review Security

by OWASP in OWASP/secure-agent-playbook

Security-focused code review mapped to OWASP Top 10 and ASVS.

CC-BY-4.0Auto-check passedDevelopment

Install Code Review Security

skills CLI
$ npx skills add OWASP/secure-agent-playbook --skill code-review-security -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install OWASP/secure-agent-playbook code-review-security --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/OWASP/secure-agent-playbook.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/code-security-skills/skills/code-review-security .claude/skills/code-review-security && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
code-review-security
GitHub stars
186
Token cost
~549 tokens
SKILL.md length
209 words
Files
1
Skills in repo
14
Repo updated
First seen
Licence
CC-BY-4.0

At a glance

Security-focused code review mapped to OWASP Top 10 and ASVS.

  • Works in 5 steps: Scope & Context — Establish… → Systematic Review by Vulnerability Class… → Framework-Specific Checks — Apply checks… → …
  • Reviewing pull requests
  • SKILL.md covers Steps, Output and OWASP References
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Code Review Security is an agent skill from OWASP/secure-agent-playbook. 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.

Its SKILL.md is about 550 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Web application vulnerabilities, Code review and Cryptography. The repository describes itself as: OWASP Secure Agent Playbook Project. The licence is CC-BY-4.0.

When your agent uses it

  • Reviewing pull requests
  • Modules for vulnerabilities
  • Performing pre-merge security gate checks

Example prompts

  • “/code-review-security”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Scope & Context — Establish language/framework, trust boundary (server/client/library/CLI), data sensitivity (PII, credentials…
  2. Systematic Review by Vulnerability Class (priority order)
  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…
  5. Produce Findings — Cite file:line, show vulnerable snippet, explain attack scenario, provide fixed code, rate confidence.

What it can do on your machine

Read from SKILL.md and the folder at commit 1b5fd4c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Code Review Security loads about 549 tokens when it runs. Until then it costs about 79 tokens; SKILL.md has 209 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~79
When it runs · the whole SKILL.md, loaded when a task matches
~549

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from OWASP/secure-agent-playbook at commit 1b5fd4c, republished under its CC-BY-4.0 licence (© OWASP). 209 words, ~549 tokens.

Download SKILL.mdSave it as .claude/skills/code-review-security/SKILL.md (or your agent's skills folder).
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

© OWASP, CC-BY-4.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugins/code-security-skills/skills/code-review-security of OWASP/secure-agent-playbook.

Open the folder on GitHubat commit 1b5fd4c

Compare with similar skills

Code Review Security next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Code Review Security compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Code Review Security this skillOWASP/secure-agent-playbook186—~549Automated safety check: PassCC-BY-4.0
Owasp Security Code ReviewSpecterOps/skills702—~2.3kAutomated safety check: PassApache-2.0
Code Reviewerforyourhealth111-pixel/Vibe-Skills3.6k—~1.4kAutomated safety check: NotesApache-2.0
Code ReviewerYikai-Liao/symusic1891 repos~1.3kAutomated safety check: PassMIT
Cwe Code ReviewSpecterOps/skills702—~2.4kAutomated safety check: PassApache-2.0
Code ReviewAzure/sap-automation145—~7kAutomated safety check: PassMIT

Similar skills

  • Perform evidence-driven security code reviews across application repositories, services, libraries, and pull requests.

    702 GitHub stars~2.3k tokensUpdated 14 days ago
    SecurityAuto-check passed
  • Code Reviewer

    foryourhealth111-pixel/Vibe-Skills

    Default code-quality route for broad code review, PR review, maintainability, correctness, and regression-risk checks.

    3.6k GitHub stars~1.4k tokensUpdated 1 mo ago
    DevelopmentAuto-check: notes
  • Code Reviewer

    Yikai-Liao/symusic

    Analyzes code diffs and files to identify bugs, security vulnerabilities (SQL injection, XSS, insecure deserialization), code smells, N+1 queries, naming issues, and architectural concerns, then…

    189 GitHub starsUsed in 1 repo~1.3k tokens
    DevelopmentAuto-check passed
  • Cwe Code Review

    SpecterOps/skills

    Perform CWE-grounded security code reviews and precise weakness mapping using a locally derived MITRE CWE corpus, relationship graphs, mapping notes, detection methods, mitigations, and schema…

    702 GitHub stars~2.4k tokensUpdated 14 days ago
    DevelopmentAuto-check passed
  • Code Review

    Azure/sap-automation

    Official

    Review pull requests in the SAP Deployment Automation Framework.

    145 GitHub stars~7k tokensUpdated today
    DevelopmentAuto-check passed
  • SQL Code Review

    totvs/engpro-advpl-tlpp-skills

    Universal SQL code review assistant that performs comprehensive security, maintainability, and code quality analysis across SQL databases (PostgreSQL, SQL Server, Oracle).

    141 GitHub stars~3.5k tokensUpdated 2 days ago
    DatabasesAuto-check passed

More from OWASP/secure-agent-playbook

All 14 skills in this repo
  • Prd Securability Enhancement

    OWASP/secure-agent-playbook

    Enhance PRDs, feature specs, user stories, or product briefs with explicit OWASP ASVS coverage and FIASSE v1.0.4 SSEM implementation guidance — before code is written.

    186 GitHub stars~4.6k tokensUpdated 12 days ago
    Auto-check passed
  • Securability Engineering Review

    OWASP/secure-agent-playbook

    Score a codebase, file, or merge request against the FIASSE v1.0.4 SSEM model — 0-10 per attribute, equal-weighted pillars, evidence-backed strengths and weaknesses, prioritized recommendations…

    186 GitHub stars~4.6k tokensUpdated 12 days ago
    Auto-check passed
  • Securability Engineering

    OWASP/secure-agent-playbook

    Generate, scaffold, or refactor code so it embodies FIASSE v1.0.4 SSEM qualities by default — 10 attributes, Transparency and Least-Astonishment principles, ASVS-aligned controls, defensive boundary…

    186 GitHub stars~5.8k tokensUpdated 12 days ago
    Auto-check passed
  • Agent Security Audit

    OWASP/secure-agent-playbook

    Audit AI agent configurations for security risks — excessive permissions, prompt injection surfaces, data exfiltration paths, and missing guardrails.

    186 GitHub stars~542 tokensUpdated 12 days ago
    Auto-check passed
  • AI Security Verification

    OWASP/secure-agent-playbook

    Comprehensive AI security verification using OWASP AI Security Verification Standard (AISVS) framework.

    186 GitHub stars~876 tokensUpdated 12 days ago
    Auto-check passed
  • API Security Review

    OWASP/secure-agent-playbook

    Comprehensive API security review against OWASP API Security Top 10 (2023).

    186 GitHub stars~744 tokensUpdated 12 days ago
    Auto-check passed

Questions about Code Review Security

What does Code Review Security do?

Security-focused code review mapped to OWASP Top 10 and ASVS. Code Review Security is an agent skill from OWASP/secure-agent-playbook. Security-focused code review mapped to OWASP Top 10 and ASVS.

When should I use Code Review Security?

Code Review Security fits situations like: reviewing pull requests; modules for vulnerabilities; performing pre-merge security gate checks.

How do I install Code Review Security in Claude Code?

Run `npx skills add OWASP/secure-agent-playbook --skill code-review-security -a claude-code`. Or copy the skill folder (plugins/code-security-skills/skills/code-review-security in OWASP/secure-agent-playbook) into .claude/skills/code-review-security in your project. Claude Code loads it when a task matches its description.

How do I install Code Review Security in Codex?

Run `npx skills add OWASP/secure-agent-playbook --skill code-review-security -a codex`. Or copy the skill folder (plugins/code-security-skills/skills/code-review-security in OWASP/secure-agent-playbook) into .agents/skills/code-review-security in your project. Codex loads it when a task matches its description.

Can I use Code Review Security in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add OWASP/secure-agent-playbook --skill code-review-security -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/code-review-security, .gemini/skills/code-review-security, .github/skills/code-review-security and .opencode/skills/code-review-security in your project.

What does Code Review Security need to run?

SKILL.md names no scripts, command-line tools or credentials: Code Review Security is instructions for the agent only.

Does Code Review Security access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Code Review Security safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Code Review Security use?

Code Review Security is published under the CC-BY-4.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Code Review Security use?

About 549 tokens (SKILL.md is roughly 2.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Code Review Security?

Skills that share tags, products or a category with Code Review Security: Owasp Security Code Review (SpecterOps/skills, 702 stars), Code Reviewer (foryourhealth111-pixel/Vibe-Skills, 3.6k stars), Code Reviewer (Yikai-Liao/symusic, 189 stars) and Cwe Code Review (SpecterOps/skills, 702 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Code Review Security?

OWASP (a GitHub organization) maintains it in OWASP/secure-agent-playbook, which has 186 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on September 25, 2026.

Source: OWASP/secure-agent-playbook on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.