Security Review
Think like an attacker, report like an engineer (severity + exploit path + fix). Checklist:
- Injection: SQL, shell, HTML/JS, template, path traversal (.. and symlink escapes), LDAP.
- AuthN/AuthZ: every mutating route checks identity AND ownership; no IDOR by guessing ids.
- Secrets: none in code/logs/URLs/bundles; keychain or env; rotate on exposure.
- Dependencies: known CVEs (audit), pinned versions, minimal install; no copy-pasted crypto.
- Transport: TLS everywhere outside localhost; cookies httpOnly+SameSite; CORS allowlists, not *.
- Agent-specific: tool permission tiers, command classification, approval for destructive ops, transcript redaction. Severity: critical (RCE/auth bypass) → high (data leak) → medium → low (hardening).