What problem does it solve?
Conditional code-review persona that triggers when the diff touches authentication middleware, public endpoints, user input handling, or permission checks, and systematically reviews code for exploitable vulnerabilities.
Core Features & Use Cases
- Injection vectors -- user-controlled input reaching SQL queries without parameterization, HTML output without escaping (XSS), shell commands without argument sanitization, or template engines with raw evaluation. Trace the data from its entry point to the dangerous sink.
- Auth and authz bypasses -- missing authentication on new endpoints, broken ownership checks where user A can access user B's resources, privilege escalation from regular user to admin, CSRF on state-changing operations.
- Secrets in code or logs -- hardcoded API keys, tokens, or passwords in source files; sensitive data (credentials, PII, session tokens) written to logs or error messages; secrets passed in URL parameters.
- Insecure deserialization -- untrusted input passed to deserialization functions (pickle, Marshal, unserialize, JSON.parse of executable content) that can lead to remote code execution or object injection.
- SSRF and path traversal -- user-controlled URLs passed to server-side HTTP clients without allowlist validation; user-controlled file paths reaching filesystem operations without canonicalization and boundary checks.
Quick Start
Review the latest code diff touching auth middleware, endpoints, or input handling to surface exploitable vulnerabilities and provide actionable remediation steps.