security
Security review — authentication, user input, secrets, API endpoints, OWASP Top 10
Invoke the security-reviewer agent to perform a comprehensive security review.
If an argument is provided and is a number, treat it as a GitHub PR number.
If no argument, review local uncommitted changes (git diff --staged and git diff).
The agent will:
- Establish review scope (PR or local diff)
- Scan for secrets, credentials, or sensitive data exposure
- Review against OWASP Top 10 (injection, XSS, SSRF, insecure crypto, broken auth)
- Flag authentication/authorization issues, unsafe input handling, and API vulnerabilities
- Report findings with severity levels (INFO / MEDIUM / HIGH / CRITICAL)
After the review, address all HIGH and CRITICAL issues before running /dog:prp-pr.