/pm-dev:security-reviewfrom pm-dev
Runs a systematic security checklist on code changes, classifying findings by severity (CRITICAL, HIGH, MEDIUM, LOW) and blocking commits on critical issues.
Ships in pm-dev. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Systematic security checklist for code changes. Catch vulnerabilities before they ship.
Determine which checks apply based on changed files:
| Check | Severity | What to Look For |
|---|---|---|
| Hardcoded secrets | CRITICAL | API keys, passwords, tokens in source |
| SQL injection | CRITICAL | String concatenation in queries |
| Auth bypass | CRITICAL | Missing auth checks on protected routes |
| XSS | HIGH | Unsanitized user input in HTML output |
| CSRF | HIGH | Missing CSRF tokens on state-changing requests |
| Input validation | HIGH | Unvalidated user input passed to logic |
| Rate limiting | MEDIUM | Endpoints without rate limits |
| Error leaks | MEDIUM | Stack traces or internal details in responses |
| Authz checks | HIGH | Missing permission verification |
| Dependency vulns | MEDIUM | Known CVEs in dependencies |
# Check for hardcoded secrets (patterns)
grep -rn "password\s*=\s*['\"]" --include="*.{ts,js,py,go}" .
grep -rn "api_key\s*=\s*['\"]" --include="*.{ts,js,py,go}" .
grep -rn "secret\s*=\s*['\"]" --include="*.{ts,js,py,go}" .
# Check for SQL string concatenation
grep -rn "SELECT.*+.*FROM\|INSERT.*+.*INTO" --include="*.{ts,js,py,go}" .
# Check dependency audit
npm audit 2>/dev/null || pip-audit 2>/dev/null || true
Security Review: {scope description}
CRITICAL:
- {finding with file:line and fix}
HIGH:
- {finding with file:line and fix}
MEDIUM:
- {finding or "none"}
LOW:
- {finding or "none"}
Verdict: PASS | BLOCKED ({count} CRITICAL issues)
Security Review: User authentication endpoints
CRITICAL: none
HIGH:
- src/api/login.ts:42 - Missing rate limiting on login endpoint
Fix: Add express-rate-limit middleware (max 5 attempts/min)
MEDIUM:
- src/api/profile.ts:18 - Error response includes stack trace
Fix: Use generic error message in production
LOW: none
Verdict: PASS (0 CRITICAL, 1 HIGH to fix before merge)
What SKILL.md sets; muted values are Claude Code's defaults
4 skills in this plugin
npx claudepluginhub mshadmanrahman/pm-pilot --plugin pm-devOther plugins' skills for the same job