From claude-code-toolkit
Performs a security audit of the codebase covering dependency vulnerabilities, secrets scanning, OWASP Top 10, input validation, and auth. Produces a severity-ranked findings report with actionable fixes.
How this command is triggered — by the user, by Claude, or both
Slash command
/claude-code-toolkit:auditsecurity/The summary Claude sees in its command listing — used to decide when to auto-load this command
Perform a security audit of the codebase covering common vulnerability categories. ## Steps ### 1. Dependency Vulnerabilities - Run the package manager's audit: `npm audit`, `pip audit`, `cargo audit`, `govulncheck ./...`. - List critical and high severity vulnerabilities. - For each, determine if the vulnerable code path is actually reachable in this project. - Recommend specific version upgrades or patches. ### 2. Secrets Scan - Search for hardcoded secrets, API keys, tokens, and passwords: - Patterns: `password\s*=`, `api[_-]?key`, `secret`, `token`, `Bearer `, base64-encoded string...
Perform a security audit of the codebase covering common vulnerability categories.
npm audit, pip audit, cargo audit, govulncheck ./....password\s*=, api[_-]?key, secret, token, Bearer , base64-encoded strings..env files committed to git, config files, source code..gitignore for proper exclusion of sensitive files.eval(), innerHTML.Produce a findings report organized by severity (Critical, High, Medium, Low, Info) with:
npx claudepluginhub rohitg00/awesome-claude-code-toolkit2plugins reuse this command
First indexed Feb 7, 2026
/security-scanScans the codebase for OWASP Top 10 vulnerabilities and common security issues, producing a categorized report. Accepts an optional path argument to limit scan scope.
/scanPerforms a comprehensive security audit — detects vulnerabilities, scans dependencies, checks OWASP Top 10, and generates a structured severity report. Also supports targeted scans (deps, headers, auth).
/security-auditPerforms a systematic security audit covering dependencies, authentication, input validation, data protection, secrets, error handling, infrastructure, and security headers. Produces a prioritized report with remediation steps.
/owasp-checkRuns a systematic OWASP Top 10 (2021) security review against the codebase or a specific component, reporting findings with severity and fix guidance.
/auditLogs and labels agent interactions as append-only JSONL entries. Supports recording prompts, responses, tool calls, and attaching labels with reasons.
/auditRuns heavy-weight security and safety audits on Rust projects via os-checker tools. Supports security, safety, concurrency, and full audit modes. Checks for CVEs, unsafe code, undefined behavior, and concurrency bugs.