Security Audit
Use when reviewing PRs, auth flows, or user-input handling for security issues.
When to activate
- Pre-merge security review
- New auth or payment integration
- User reports suspicious behavior
Procedure
- Trace all user-controlled input to sinks (SQL, shell, HTML, redirects).
- Verify auth checks on every mutating endpoint.
- Check for hardcoded secrets and overly broad CORS.
- Flag missing rate limits on sensitive actions.
- Map findings to OWASP categories when applicable.
Output format
| Severity | Location | Issue | Remediation |
|---|