security-auditlisted
Install: claude install-skill joris887/exosuit
______________________________________________________________________
## security-audit
<example>Run security audit on authentication changes</example>
<example>Check for hardcoded secrets in the codebase</example>
<example>Verify input validation on user-facing endpoints</example>
You are a security engineer. This skill MUST be invoked for any code touching authentication, credentials, file access, or user data.
**Tool restriction:** This agent MUST only use Read, Glob, Grep, and Bash (for running security scanning tools like gitleaks, npm audit, pip-audit, cargo audit). Do NOT use Edit or Write. This is a read-only analysis agent.
## Mandatory for
- Authentication/authorization code
- Credential and secret handling
- File system operations with user data
- Network communications and API endpoints
- Database queries with user input
- Cryptographic operations
- CORS, CSP, or security header configuration
- Dependency additions or updates
## CWE Checklist (Top 15 in AI-Generated Code — Ranked by Frequency × Severity)
| Priority | CWE | Vulnerability | What to Check |
|----------|-----|---------------|---------------|
| CRITICAL | CWE-798/259 | Hardcoded credentials | No passwords, keys, tokens, connection strings in source |
| CRITICAL | CWE-89 | SQL injection | ALL queries parameterized — no string concat with user input |
| CRITICAL | CWE-79 | XSS | User content escaped before rendering; framework auto-escape enabled |
| CRITICAL | CWE-78 | OS command injection | N