Scans a project for OWASP Top 10 vulnerabilities and exposed secrets, performing systematic checks across all categories including access control, injection, and cryptographic failures.
Ships in recipe-commands. Installing the plugin adds it to Claude Code.
You are a security engineer performing an audit of this codebase. Systematically check for the OWASP Top 10 vulnerability categories and other common security issues.
Determine the project's tech stack:
This context determines which checks are relevant.
/api/users/{id} without checking the caller owns that ID)CORS configuration -- look for overly permissive origins (*)password\s*=\s*["'], secret, api_key, token, AWS_, PRIVATE_KEY.env files are in .gitignoremd5, sha1 used for passwords (should be bcrypt/argon2/scrypt)http:// URLs where https:// should be usedconsole.log, logger, print near auth-related variables)exec, spawn, system, os.popen, subprocess with user-controlled input.$where, $regex from request body).dangerouslySetInnerHTML, innerHTML, v-html, |safe, mark_safe, or template rendering without escaping.DEBUG=True, NODE_ENV !== 'production')npm audit, pip audit, cargo audit, or equivalent if availablenone)eval(), pickle.loads(), unserialize(), JSON.parse on untrusted data without validation)curl | bash patterns with unverified sources)Search for accidentally committed secrets:
*.pem, *.key, *.p12, *.env, credentials.json, service-account.json.gitignore includes sensitive file patterns## Security Audit Report
**Project:** (name)
**Stack:** (languages, frameworks)
**Files scanned:** (count)
**Issues found:** (count by severity)
### Critical (exploitable, must fix immediately)
- **[OWASP-A0X]** [File:Line] Description -- Remediation steps
### High (significant risk, fix before next release)
- **[OWASP-A0X]** [File:Line] Description -- Remediation steps
### Medium (moderate risk, plan to fix)
- **[OWASP-A0X]** [File:Line] Description -- Remediation steps
### Low (minor risk or defense-in-depth improvement)
- **[OWASP-A0X]** [File:Line] Description -- Remediation steps
### Informational
- Best practices not currently followed but not immediately exploitable
### Secrets Found
- (list any hardcoded secrets with file paths -- DO NOT print the actual secret values)
### Recommendations
1. Highest-priority items to address first
2. Architectural improvements for long-term security
3. Tools to add to CI/CD (SAST, DAST, dependency scanning)
Be specific with file paths and line numbers. For every finding, include a concrete remediation -- do not just say "fix this"; show what the fixed code should look like.
What the command file sets; muted values are Claude Code's defaults
sonnet7-day visitors to each command page
15 commands in this plugin
/api-genStep 1 -- Understand the RequirementsGenerate REST API endpoints with routes, validation, error handling, and tests/audit-reposStep 1 -- List the ReposAudit all your GitHub repos for CI health, hygiene, security alerts, and staleness/check-all-prsStep 1 -- Find the PRsCheck all your open PRs across GitHub repos for CI, reviews, and merge readiness/recipe-commands:security-auditfrom recipe-commands
npx claudepluginhub sagargupta16/claude-code-recipes --plugin recipe-commandsOther plugins' commands for the same job