Skills

Secure Code Review

Systematically reviews code for SQL injection, XSS, SSRF, broken access control...

Install

npx skills add zebbern/claude-code-guide --skill secure-code-review -g -a claude-code -y
Category
Testing
Updated
4d ago
License
MIT
Context cost
Mediumabout 3,000 tokens
Runs scripts
No, instructions only

What it does

Systematically reviews code for SQL injection, XSS, SSRF, broken access control, cryptographic failures, and other common OWASP Top 10 vulnerabilities, providing vulnerable code examples and ready-to-use remediation guidance. Trigger this skill when users ask for a security review, vulnerability scan, or penetration testing assistance, or mention keywords like OWASP, SQL injection, XSS, code audit, or security checklist.

OWASP Top 10 Code Security Review Checklist

A systematic security review based on the OWASP Top 10 (2021) standard. Each item includes: vulnerability description, typical vulnerable code, inspection checkpoints, and remediation examples. Designed for security-focused code review of web applications.

Usage

Provide the code files or code snippets to review, and specify which OWASP categories to check (or request a full review) to receive an item-by-item audit report.

Example prompts:

  • "Check this code for SQL injection risks"
  • "Run a full OWASP Top 10 security review on this project"
  • "Does this API endpoint have any SSRF vulnerabilities?"

Quick Reference

IDCategoryKey Check
A01Broken Access ControlDoes every endpoint verify the current user's identity? Can users access others' data by changing IDs?
A02Cryptographic FailuresAre passwords hashed with bcrypt/argon2? Are secrets hardcoded?
A03InjectionString-concatenated SQL? shell=True? Unescaped template output?
A04Insecure DesignIs rate limiting in place? Can critical workflows be bypassed?
A05Security MisconfigurationDEBUG enabled? Stack traces in error pages? Default credentials?
A06Vulnerable ComponentsAny CVEs from pip audit / npm audit?
A07Authentication FailuresIs JWT signature verified? Can tokens be revoked? Is MFA available?
A08Integrity FailuresAny pickle.loads deserializing untrusted data?
A09Logging & Monitoring FailuresAre plaintext passwords in logs? Are failed logins recorded?
A10SSRFAre user-supplied URLs filtered against internal IPs?

Review Process SOP

Core principle: prefer false positives over missed true positives.

Read the whole SKILL.md on GitHub

More in Testing