Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Security audit for code changes. Triggered by "/security-review" when reviewing auth, crypto, input handling, or when user explicitly requests a security audit.
.claude/skills/x-cmd-security-review/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-13 | ✗→✓ | ▲ Improved | -32% | 0% |
| case-15 | ✗→✓ | ▲ Improved | 16% | 0% |
| case-04 | ✓→✗ | ▼ Worse | 296% | 0% |
| case-16 | ✓→✗ | ▼ Worse | -2% | 0% |
| case-18 | ✓→✗ | ▼ Worse | 11% | 0% |
Use when:
/security-reviewDo NOT use when:
/review)/optimize)bashgit diff main..HEAD git diff --name-only main..HEAD
Check dependency changes if relevant:
bashcat package.json # or pyproject.toml, go.mod, etc.
| Pattern | Risk | |---------|------| | User input without validation | Injection | | eval(), exec(), shell_exec() | Command injection | | SQL concatenation | SQL injection | | innerHTML, dangerouslySetInnerHTML | XSS | | Weak crypto (MD5, SHA1 for passwords) | Cryptographic failure | | Hardcoded secrets | Secret exposure | | File ops with user paths | Path traversal | | Missing rate limiting | Brute force |
Use the output format below.
markdown## Security Review ### Scope Files: N | Lines changed: +N/-N ### Findings #### 🔴 Critical [Description, location, exploit scenario, fix] #### 🟠 High [...] #### 🟡 Medium [...] #### 🟢 Info [...] ### Summary Total: N | Critical: N | High: N | Medium: N ## Recommendations 1. [Priority fix] 2. [Next steps]
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→fail | 10,760 | 23,800 | +121% | 1 | 1 | 0% | 900 | 1,926 | +114% | 0 | 0 | — |
case-02 | fail→fail | 39,167 | 49,724 | +27% | 1 | 1 | 0% | 2,513 | 1,998 | -20% | 0 | 0 | — |
case-03 | fail→fail | 16,151 | 24,038 | +49% | 1 | 1 | 0% | 1,323 | 1,801 | +36% | 0 | 0 | — |
case-04 | pass→fail | 4,356 | 11,001 | +153% | 1 | 1 | 0% | 559 | 2,216 | +296% | 0 | 0 | — |
case-05 | pass→pass | 11,130 | 13,970 | +26% | 1 | 1 | 0% | 1,927 | 2,617 | +36% | 0 | 0 | — |
case-06 | fail→fail | 3,988 | 7,129 | +79% | 1 | 1 | 0% | 487 | 1,553 | +219% | 0 | 0 | — |
case-07 | fail→fail | 14,657 | 14,909 | +2% | 1 | 1 | 0% | 1,536 | 1,462 | -5% | 0 | 0 | — |
case-08 | fail→fail | 12,712 | 30,253 | +138% | 1 | 1 | 0% | 1,438 | 1,829 | +27% | 0 | 0 | — |
case-09 | fail→fail | 15,081 | 19,367 | +28% | 1 | 1 | 0% | 1,676 | 1,852 | +11% | 0 | 0 | — |
case-10 | fail→fail | 27,882 | 25,469 | -9% | 1 | 1 | 0% | 1,344 | 2,239 | +67% | 0 | 0 | — |
case-11 | fail→fail | 14,863 | 14,275 | -4% | 1 | 1 | 0% | 1,356 | 1,655 | +22% | 0 | 0 | — |
case-12 | fail→fail | 19,568 | 32,403 | +66% | 1 | 1 | 0% | 1,753 | 1,627 | -7% | 0 | 0 | — |
case-13 | fail→pass | 16,294 | 22,203 | +36% | 1 | 1 | 0% | 2,455 | 1,675 | -32% | 0 | 0 | — |
case-14 | fail→fail | 9,235 | 11,996 | +30% | 1 | 1 | 0% | 572 | 1,208 | +111% | 0 | 0 | — |
case-15 | fail→pass | 49,126 | 30,970 | -37% | 1 | 1 | 0% | 2,211 | 2,558 | +16% | 0 | 0 | — |
case-16 | pass→fail | 18,854 | 26,175 | +39% | 1 | 1 | 0% | 1,904 | 1,860 | -2% | 0 | 0 | — |
case-17 | fail→fail | 18,972 | 23,783 | +25% | 1 | 1 | 0% | 2,218 | 2,837 | +28% | 0 | 0 | — |
case-18 | pass→fail | 14,160 | 12,682 | -10% | 1 | 1 | 0% | 2,136 | 2,370 | +11% | 0 | 0 | — |
case-19 | pass→fail | 15,507 | 17,461 | +13% | 1 | 1 | 0% | 1,554 | 1,572 | +1% | 0 | 0 | — |
case-20 | pass→pass | 26,469 | 28,013 | +6% | 1 | 1 | 0% | 1,481 | 2,038 | +38% | 0 | 0 | — |
case-21 | fail→fail | 15,107 | 13,343 | -12% | 1 | 1 | 0% | 1,892 | 1,512 | -20% | 0 | 0 | — |
case-22 | pass→pass | 23,299 | 10,169 | -56% | 1 | 1 | 0% | 2,109 | 2,126 | +1% | 0 | 0 | — |
case-23 | fail→fail | 15,819 | 12,104 | -23% | 1 | 1 | 0% | 1,487 | 1,511 | +2% | 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. 23 cases were attempted. The headline lift of -33 percentage points is the difference between those two pass rates over the 23 comparable cases. 4 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.