← ClaudeAtlas

differential-reviewlisted

Performs security-focused differential review of code changes. Adapts analysis depth to codebase size, uses git blame for context, calculates blast radius by counting callers, checks test coverage of modified code, and delivers a markdown report through `factory report`. Use when reviewing a PR, commit, or diff for security vulnerabilities, checking whether a change re-introduces a previously fixed bug, asking what else a change could break, or finding which modified code has no test covering it.
volekerb/hivemill · ★ 33 · Code & Development · score 78
Install: claude install-skill volekerb/hivemill
<!-- Source: https://github.com/trailofbits/skills (plugins/differential-review) at commit 196a9073ab10d35bacf111f945e02c00b2c6883a Licence: CC-BY-SA-4.0, copyright Trail of Bits (see ../../LICENSE-trailofbits) Modified: output rewired to factory report; Write removed; report-file tips reworded; methodology.md git checkout replaced by git show (this modified copy stays CC-BY-SA-4.0) --> # Differential Security Review Security-focused code review for PRs, commits, and diffs. ## Core Principles 1. **Risk-First**: Focus on auth, crypto, value transfer, external calls 2. **Evidence-Based**: Every finding backed by git history, line numbers, attack scenarios 3. **Adaptive**: Scale to codebase size (SMALL/MEDIUM/LARGE) 4. **Honest**: Explicitly state coverage limits and confidence level 5. **Output-Driven**: Always deliver the comprehensive markdown report with `factory report "<headline>" - --goal G` (no file writes) --- ## Rationalizations (Do Not Skip) | Rationalization | Why It's Wrong | Required Action | |-----------------|----------------|-----------------| | "Small PR, quick review" | Heartbleed was 2 lines | Classify by RISK, not size | | "I know this codebase" | Familiarity breeds blind spots | Build explicit baseline context | | "Git history takes too long" | History reveals regressions | Never skip Phase 1 | | "Blast radius is obvious" | You'll miss transitive callers | Calculate quantitatively | | "No tests = not my problem" | Missing tests = elevated risk ratin