Install any skill in seconds. Free to start, no credit card required.
Get Started Free →AI DevKit · Review code, skills, and prompts for security vulnerabilities — OWASP Top 10, prompt injection, business logic flaws, and insecure defaults. Use when reviewing PRs, auditing modules, reviewing AI skills/prompts, or preparing for release.
.claude/skills/bilal140202-security-review/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-09 | ✗→✓ | ▲ Improved | 139% | 0% |
| case-10 | ✗→✓ | ▲ Improved | 104% | 0% |
| case-11 | ✗→✓ | ▲ Improved | 186% | 0% |
| case-12 | ✗→✓ | ▲ Improved | 119% | 0% |
| case-13 | ✗→✓ | ▲ Improved | 88% | 0% |
Security is not a feature — it's a property of the entire system. Review security boundaries systematically, not ad-hoc.
Work through these for every security-relevant code change:
A01 - Broken Access Control
grep -r 'router\.\|app\.\(get\|post\|put\|delete\|patch\)' --include='*.js' --include='*.ts' | grep -v 'auth\|authorize\|permission\|role'grep -rn 'req\.params\.id\|req\.query\.id' --include='*.js' --include='*.ts' — verify each result checks ownershipgrep -rn 'admin' --include='*.js' --include='*.ts' | grep -v 'isAdmin\|requireAdmin\|role.*admin\|admin.*role'A02 - Cryptographic Failures
grep -rn 'password\s*=\s*["\x27][^"\x27]\|api_key\s*=\s*["\x27][^"\x27]\|secret\s*=\s*["\x27][^"\x27]' --include='*.js' --include='*.py' --include='*.ts'grep -r 'password' --include='*.js' --include='*.ts' --include='*.py' | grep -v 'bcrypt\|argon2\|hash'grep -rn 'md5\|sha1\|sha256' --include='*.js' --include='*.ts' --include='*.py' | grep -i 'password'grep -rn 'http://' --include='*.js' --include='*.ts' --include='*.py' | grep -v 'localhost\|127\.0\.0\.1\|test\|spec\|comment'grep -rn 'console\.log\|logger\.' --include='*.js' --include='*.ts' | grep -i 'password\|token\|secret\|key\|ssn\|credit'A03 - Injection
grep -rn 'query\s*[+\].\(req\.\|user\.\|input\|params\)' --include='.js' --include='.ts' --include='.py'grep -rn '"SELECT\|"INSERT\|"UPDATE\|"DELETE' --include='*.js' --include='*.ts' | grep '\+'eval with user input)grep -rn 'eval(\|exec(\|system(\|spawn(' --include='*.js' --include='*.ts' --include='*.py'grep -rn 'innerHTML\s*=' --include='*.js' --include='*.ts' | grep -v '//.*innerHTML'A04 - Insecure Design
grep -rn 'login\|signin\|auth' --include='*.js' --include='*.ts' | grep -v 'rateLimit\|rate_limit\|throttle'grep -rn '"User not found"\|"Invalid username"\|"No account"' --include='*.js' --include='*.ts' --include='*.py'A05 - Security Misconfiguration
grep -rn 'debug\s*=\s*true\|DEBUG\s*=\s*True\|NODE_ENV.*development' --include='*.js' --include='*.ts' --include='*.py' --include='*.env'grep -rn 'admin.*admin\|root.*root\|password.*password\|default.*password' --include='*.js' --include='*.ts' --include='*.py'grep -rn 'err\.stack\|error\.stack\|traceback' --include='*.js' --include='*.ts' --include='*.py' | grep -v 'log\|console\|logger'A06 - Vulnerable and Outdated Components
npm audit or pip-audit or snyk testnpm audit --audit-level=high (exits non-zero if high/critical found)git ls-files | grep -E 'package-lock\.json|yarn\.lock|poetry\.lock|Pipfile\.lock|Gemfile\.lock'grep -E '"\^|"~|">=|">' package.json — each result is a non-pinned dependencyA07 - Authentication Failures
grep -rn 'logout\|signout\|sign_out' --include='*.js' --include='*.ts' --include='*.py' | grep -v 'destroy\|invalidate\|clear\|delete\|revoke'grep -rn 'reset.*token\|token.*reset' --include='*.js' --include='*.ts' --include='*.py' — verify expiry and single-use enforcementgrep -rn 'login\|signin' --include='*.js' --include='*.ts' | grep -v 'attempts\|lockout\|rateLimit\|throttle'A08 - Software and Data Integrity
grep -rn 'eval(' --include='*.js' --include='*.ts' --include='*.py'grep -rn 'new Function(' --include='*.js' --include='*.ts'A09 - Logging and Monitoring
grep -rn 'login\|signin\|authenticate' --include='*.js' --include='*.ts' --include='*.py' | grep -v 'log\|audit\|event\|monitor'grep -rn 'log\.' --include='*.js' --include='*.ts' | grep -i 'password\|token\|secret\|ssn\|credit_card\|cvv'| Vulnerability | Check | |---------------|-------| | SQL Injection | All queries parameterized? | | XSS | All user content escaped before rendering? | | CSRF | State-changing requests have CSRF protection? | | Path traversal | File paths sanitized and validated? | | Secret exposure | No hardcoded keys/tokens in code? | | Mass assignment | Only allowed fields accepted from user input? |
These patterns require immediate review:
eval(), exec(), system() with any user-influenced input"SELECT * FROM users WHERE id = " + userIdinnerHTML = userContent (XSS)require(userInput) or dynamic imports with user data.env files committed to gitFor each finding, document:
If no vulnerabilities found: output "Security Review: PASS. No issues found in scope]. Reviewed: list of OWASP categories checked]. Verified: date and reviewer]."
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-04 | fail→fail | 8,535 | 11,132 | +30% | 1 | 1 | 0% | 1,060 | 3,183 | +200% | 0 | 0 | — |
case-01 | fail→fail | 7,383 | 28,959 | +292% | 1 | 1 | 0% | 860 | 4,163 | +384% | 0 | 0 | — |
case-02 | fail→fail | 10,818 | 13,347 | +23% | 1 | 1 | 0% | 1,185 | 3,782 | +219% | 0 | 0 | — |
case-03 | fail→fail | 7,532 | 9,167 | +22% | 1 | 1 | 0% | 831 | 3,250 | +291% | 0 | 0 | — |
case-05 | pass→fail | 12,321 | 12,339 | +0% | 1 | 1 | 0% | 2,069 | 3,259 | +58% | 0 | 0 | — |
case-06 | pass→pass | 14,117 | 14,966 | +6% | 1 | 1 | 0% | 2,119 | 4,095 | +93% | 0 | 0 | — |
case-07 | pass→pass | 4,845 | 3,459 | -29% | 1 | 1 | 0% | 890 | 2,706 | +204% | 0 | 0 | — |
case-08 | pass→pass | 9,138 | 7,716 | -16% | 1 | 1 | 0% | 1,843 | 3,539 | +92% | 0 | 0 | — |
case-09 | fail→pass | 11,869 | 17,985 | +52% | 1 | 1 | 0% | 1,371 | 3,279 | +139% | 0 | 0 | — |
case-10 | fail→pass | 16,456 | 16,175 | -2% | 1 | 1 | 0% | 1,708 | 3,480 | +104% | 0 | 0 | — |
case-11 | fail→pass | 12,556 | 13,884 | +11% | 1 | 1 | 0% | 1,364 | 3,902 | +186% | 0 | 0 | — |
case-12 | fail→pass | 8,795 | 5,581 | -37% | 1 | 1 | 0% | 1,389 | 3,035 | +119% | 0 | 0 | — |
case-13 | fail→pass | 9,844 | 8,481 | -14% | 1 | 1 | 0% | 1,928 | 3,624 | +88% | 0 | 0 | — |
case-14 | fail→pass | 13,900 | 11,602 | -17% | 1 | 1 | 0% | 2,082 | 3,573 | +72% | 0 | 0 | — |
case-15 | pass→pass | 21,093 | 14,165 | -33% | 1 | 1 | 0% | 1,375 | 3,508 | +155% | 0 | 0 | — |
case-16 | pass→fail | 12,088 | 12,668 | +5% | 1 | 1 | 0% | 1,216 | 3,531 | +190% | 0 | 0 | — |
case-17 | fail→fail | 7,356 | 9,833 | +34% | 1 | 1 | 0% | 971 | 3,575 | +268% | 0 | 0 | — |
case-18 | pass→pass | 11,708 | 8,614 | -26% | 1 | 1 | 0% | 2,197 | 3,689 | +68% | 0 | 0 | — |
case-19 | fail→fail | 9,383 | 7,030 | -25% | 1 | 1 | 0% | 1,161 | 3,147 | +171% | 0 | 0 | — |
case-20 | pass→pass | 9,527 | 6,113 | -36% | 1 | 1 | 0% | 1,873 | 3,279 | +75% | 0 | 0 | — |
case-21 | fail→pass | 7,293 | 10,934 | +50% | 1 | 1 | 0% | 1,243 | 3,018 | +143% | 0 | 0 | — |
case-22 | pass→pass | 13,235 | 10,924 | -17% | 1 | 1 | 0% | 2,948 | 4,455 | +51% | 0 | 0 | — |
case-23 | pass→pass | 14,450 | 14,653 | +1% | 1 | 1 | 0% | 2,674 | 4,886 | +83% | 0 | 0 | — |
case-24 | pass→pass | 10,002 | 8,329 | -17% | 1 | 1 | 0% | 1,823 | 3,592 | +97% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 24 cases were attempted. The headline lift of +21 percentage points is the difference between those two pass rates over the 24 comparable cases. 2 cases got worse with the skill loaded, and they are included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.