CO

code-review-security

Executes specialized security reviews to uncover vulnerabilities like auth bypasses and secret leaks.

Install

mkdir -p .claude/skills/code-review-security && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/11294" && unzip -o skill.zip -d .claude/skills/code-review-security && rm skill.zip

Installs to .claude/skills/code-review-security

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Run security-focused code review when changes cross trust boundaries or may affect authentication, authorization, input validation, secrets handling, or sensitive-data exposure. Use for merge decisions requiring explicit security findings; do not use for non-security-only review scope.
286 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Advanced

Key capabilities

  • Identify exploitable weaknesses in code changes
  • Detect data-protection risks before code merge
  • Analyze input validation and injection paths
  • Uncover authentication/authorization bypasses and privilege escalations
  • Pinpoint secret leakage and sensitive data exposure

How it works

The skill maps changed code to trust boundaries and assets, evaluates exploit paths across input, authentication, and data handling, and verifies security controls to identify vulnerabilities.

Inputs & outputs

You give it
Code changes, changed trust boundaries, sensitive data paths, existing security controls, and threat model assumptions
You get back
Security findings with exploit paths, severity, risk acceptance items, and remediation actions

When to use code-review-security

  • Review code for security vulnerabilities
  • Check for secret leakage
  • Audit authentication and authorization changes

About this skill

Code Review Security

Overview

Use this skill to identify exploitable weaknesses and data-protection risks before merge.

Scope Boundaries

  • Use this skill when the task matches the trigger condition described in description.
  • Do not use this skill when the primary task falls outside this skill's domain.

Inputs To Gather

  • Changed trust boundaries (external input, authn/authz, storage, outbound calls).
  • Sensitive data categories and handling paths.
  • Existing security controls (validation, encoding, policy checks, audit logs).
  • Threat model assumptions relevant to the changed area.

Deliverables

  • Security findings with exploit path and severity.
  • Risk acceptance/escalation items for unresolved issues.
  • Required remediation and verification actions.

Finding Focus Areas

  • Input validation and injection paths.
  • Authn/authz bypass and privilege escalation.
  • Secret leakage in code, logs, or telemetry.
  • Sensitive data exposure at rest/in transit/in logs.
  • Unsafe defaults, fallback auth, or policy bypass paths.

Quick Example

  • Diff adds debug log containing full JWT token.
  • Finding: high-severity secret exposure risk.
  • Fix direction: redact token, log token hash/metadata only.

Quality Standard

  • Findings describe concrete exploit scenario, not vague concern.
  • Severity reflects impact + exploitability.
  • Fix guidance removes root cause and prevents recurrence.
  • Residual risk is explicit when immediate full fix is infeasible.

Workflow

  1. Map changed code to trust boundaries and assets.
  2. Evaluate exploit paths across input, auth, and data handling.
  3. Verify security controls are present and correctly ordered.
  4. Identify regressions introduced by fallback or bypass logic.
  5. Publish prioritized findings and remediation requirements.

Failure Conditions

  • Stop when high-severity vulnerabilities remain unresolved.
  • Escalate when risk acceptance exceeds policy or lacks approver.

When not to use it

  • When the primary task falls outside security review scope
  • When the review is not for merge decisions requiring explicit security findings
  • When the task does not involve changes crossing trust boundaries

Limitations

  • Only for security-focused code review
  • Findings must describe concrete exploit scenarios
  • Requires explicit risk acceptance for unresolved issues

How it compares

This skill provides a focused security code review process, specifically looking for exploitable weaknesses and data protection risks, which is distinct from a general code quality review.

Compared to similar skills

code-review-security side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
code-review-security (this skill)05moNo flagsAdvanced
backend-security-coder244moNo flagsIntermediate
security57moNo flagsIntermediate
security-scanning-security-dependencies14moNo flagsIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry