Add a security-review pass to every PR
Quando usar: Your PRs currently go straight from code-review to merge — no security eyes.
Pré-requisitos
- Skills installed — git clone https://github.com/trailofbits/skills ~/.claude/skills/trailofbits
Fluxo
-
Scope the diffUse trailofbits/pr-review skill on the current PR. List files the skill thinks are security-relevant with reasons.✓ Copiado→ Concrete file-by-file relevance reasons
-
Deep reviewFor each flagged file, run the appropriate domain skill (crypto, input-validation, auth). Report findings with severity.✓ Copiado→ Severity-ranked list with code refs
-
Summary for reviewerWrite a 5-bullet PR comment summarizing the findings, non-scary but precise.✓ Copiado→ Reviewer-friendly summary with exact line citations
Resultado: A security review comment on every PR that catches real issues without drowning you in false positives.
Armadilhas
- Skill flags style issues as security — Calibrate by prompting: "focus on exploitable issues only"