Security review workflow
Use this workflow when reviewing software for security risk.
Steps
- Scope the review.
- Diff, module, endpoint, workflow, config, dependency, or repository area.
- Identify trust boundaries and attacker-controlled inputs.
- Inspect high-risk surfaces.
- Authentication and authorization
- Input validation and injection
- File and path handling
- Network calls and SSRF risk
- Secrets and tokens
- Deserialization and template rendering
- CI/CD permissions
- Dependency and supply-chain risk
- Separate findings.
- Confirmed vulnerability
- Likely risk needing reproduction
- Hardening suggestion
- False positive or accepted risk
- Provide evidence.
- File path and symbol
- Data/control path
- Reproduction command or request when safe
- Impact and exploit preconditions
- Recommend fixes.
- Minimal remediation
- Tests or checks to add
- Operational follow-up if code change is not enough
Output
Return:
- Findings by severity
- Evidence
- Exploit or failure path
- Remediation
- Test or verification plan
Do not
- Do not report generic checklist items without repo evidence.
- Do not print or expose real secrets unnecessarily.
- Do not modify files when acting as a reviewer unless explicitly asked.