すべての PR にセキュリティ レビュー パスを追加する
使うタイミング: 現在、PR はコードレビューからマージまで直接行われており、セキュリティの目はありません。
フロー
-
差分をスコープするUse trailofbits/pr-review skill on the current PR. List files the skill thinks are security-relevant with reasons.✓ コピーしました→ Concrete file-by-file relevance reasons
-
詳しいレビューFor each flagged file, run the appropriate domain skill (crypto, input-validation, auth). Report findings with severity.✓ コピーしました→ Severity-ranked list with code refs
-
査読者向けのまとめWrite a 5-bullet PR comment summarizing the findings, non-scary but precise.✓ コピーしました→ Reviewer-friendly summary with exact line citations
結果: すべての PR に対するセキュリティ レビュー コメントは、誤検知に陥ることなく実際の問題を捉えます。
注意点
- Skill flags style issues as security — Calibrate by prompting: "focus on exploitable issues only"