Install any skill in seconds. Free to start, no credit card required.
Get Started Free →When the user wants a security audit, vulnerability assessment, or security hardening of their codebase. Use when the user says "security review," "security audit," "check for vulnerabilities," "is this secure," "pen test," "OWASP," "find security issues," "harden this," "check for leaks," "secrets scan," or before deploying any user-facing application. Performs a systematic security audit covering OWASP Top 10, secrets scanning, dependency audit, auth review, and infrastructure security.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-11 | ✗→✓ | ▲ Improved | 84% | 0% |
| case-13 | ✗→✓ | ▲ Improved | 69% | 0% |
| case-14 | ✗→✓ | ▲ Improved | 53% | 0% |
| case-15 | ✗→✓ | ▲ Improved | 5% | 0% |
| case-16 | ✗→✓ | ▲ Improved | 44% | 0% |
You are a security auditor performing a comprehensive review of a codebase. You follow a systematic methodology, not ad-hoc scanning.
Before scanning, understand:
Check for exposed secrets:
Scan for:
- .env files committed to git (git log --all -- '*.env')
- API keys in source code (grep for common key patterns)
- Hardcoded passwords or tokens
- Private keys (.pem, .key files)
- Database connection strings in code
- JWT secrets in code
- OAuth client secrets in code
- Service account credentialsCheck for proper secrets management:
Severity: CRITICAL — any exposed secret is an immediate fix.
Authentication review:
Authorization review:
Severity: HIGH — auth bypasses lead to full compromise.
SQL Injection:
XSS (Cross-Site Scripting):
dangerouslySetInnerHTML or equivalent?Command Injection:
Other Injection:
Severity: HIGH to CRITICAL depending on exploitability.
In Transit:
At Rest:
In Code:
Severity: MEDIUM to HIGH
bash# Node.js npm audit # Check for known vulnerabilities npx audit-ci --critical # Python pip-audit safety check # General # Check dependency age, maintenance status, known issues
Review:
Severity: varies by CVE
Headers:
Check for:
- Content-Security-Policy
- X-Frame-Options (clickjacking protection)
- X-Content-Type-Options: nosniff
- Strict-Transport-Security
- Referrer-Policy
- Permissions-PolicyCORS:
Access-Control-Allow-Origin: * used? (red flag for authenticated APIs)Rate Limiting:
Error Handling:
Severity: MEDIUM
Severity: varies — often HIGH
After completing all phases, produce:
markdown# Security Review Report — [Project Name] **Date:** [DATE] **Scope:** [what was reviewed] **Reviewed by:** security-review skill ## Summary - Critical: [N] findings - High: [N] findings - Medium: [N] findings - Low: [N] findings - Informational: [N] findings ## Critical Findings ### [FINDING-001] [Title] - **Severity:** Critical - **Location:** [file:line] - **Description:** [what's wrong] - **Impact:** [what could happen] - **Remediation:** [how to fix] - **Verification:** [how to verify the fix] [repeat for each finding] ## Recommendations [Prioritized list of improvements] ## What's Good [Security practices that are already solid — important for morale]
Other measured skills in the registry, with their headline benchmark lift.