claude/skills/security-audit/SKILL.md
Comprehensive security scanning and vulnerability detection. Includes input validation, path traversal prevention, CVE detection, and secure coding pattern enforcement. Use when: authentication implementation, authorization logic, payment processing, user data handling, API endpoint creation, file upload handling, database queries, external API integration. Skip when: read-only operations on public data, internal development tooling, static documentation, styling changes.
npx skillsauth add kendreaditya/.config security-auditInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Comprehensive security scanning and vulnerability detection. Includes input validation, path traversal prevention, CVE detection, and secure coding pattern enforcement.
Run comprehensive security analysis on the codebase
npx @claude-flow/cli security scan --depth full
Example:
npx @claude-flow/cli security scan --depth full --output security-report.json
Check for input validation issues
npx @claude-flow/cli security scan --check input-validation
Example:
npx @claude-flow/cli security scan --check input-validation --path ./src/api
Check for path traversal vulnerabilities
npx @claude-flow/cli security scan --check path-traversal
Check for SQL injection vulnerabilities
npx @claude-flow/cli security scan --check sql-injection
Check for cross-site scripting vulnerabilities
npx @claude-flow/cli security scan --check xss
Scan dependencies for known CVEs
npx @claude-flow/cli security cve --scan
Example:
npx @claude-flow/cli security cve --scan --severity high
Generate full security audit report
npx @claude-flow/cli security audit --report
Example:
npx @claude-flow/cli security audit --report --format markdown --output SECURITY.md
Run threat modeling analysis
npx @claude-flow/cli security threats --analyze
Check for hardcoded secrets
npx @claude-flow/cli security validate --check secrets
| Script | Path | Description |
|--------|------|-------------|
| security-scan | .agents/scripts/security-scan.sh | Run full security scan pipeline |
| cve-remediate | .agents/scripts/cve-remediate.sh | Auto-remediate known CVEs |
| Document | Path | Description |
|----------|------|-------------|
| Security Checklist | docs/security-checklist.md | Security review checklist |
| OWASP Guide | docs/owasp-top10.md | OWASP Top 10 mitigation guide |
testing
Reviews test coverage and suggests missing test cases for error paths, edge cases, and business logic. Activates when users write tests or implement new features.
development
Identify, categorize, and prioritize technical debt. Trigger with "tech debt", "technical debt audit", "what should we refactor", "code health", or when the user asks about code quality, refactoring priorities, or maintenance backlog.
development
Optimizes application performance. Use when performance requirements exist, when you suspect performance regressions, or when Core Web Vitals or load times need improvement. Use when profiling reveals bottlenecks that need fixing.
development
Modernize legacy systems without rewriting from scratch. Use strangler fig, facade, and strategic refactoring.