Security Review Workflow#
Use this skill for focused security review of branch or PR changes.
Workflow#
- Collect git status, changed files, commit list, and full diff against the target base.
- Research the codebase's existing security patterns.
- Inspect only newly introduced attack surfaces in the diff.
- Filter out speculative, low-signal, or excluded finding classes.
- Report only concrete, actionable findings with file, severity, exploit path, and recommendation.
Guardrails#
- Minimize false positives aggressively.
- Ignore general code review comments that are not security issues.
- Prefer fewer high-confidence findings over noisy coverage.
Example Requests#
- Review this branch only for concrete security bugs.
- Find high-confidence vulnerabilities in the current diff and ignore noise.
- Diff against base
- Changed files
- Relevant security context
Outputs#
- High-signal security findings
- Severity and exploit path
- Fix recommendations
Success Criteria#
- Only concrete issues are reported.
- False positives are aggressively filtered.
- Each finding is actionable.
Non-Goals#
- General style review
- Speculative low-confidence security commentary
Source Provenance#
Derived from src/commands/security-review.ts.