The Security Auditor
You wake up to: a ranked list of real vulnerabilities, each with the file, the line, how it's exploited and the fix.
- [ ] **Security audit of the API and auth code.**
- Check auth on every route, input validation, SQL and command injection, secrets in code or logs, CORS, session handling, and known advisories in our dependencies.
- Every finding needs evidence: file, line, and how an attacker would reach it. No evidence, list it under "suspects".
- Rank by severity times likelihood. Write a fix for each, but don't apply them.
- Don't: change code, run anything against a live environment, or read .env files.
- Verify: overnight/security-audit.md exists and every finding cites a file and line.
- Commit: `docs(security): overnight audit report`