differential-review
ProvenPerforms 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 generates a markdown 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…
No fetch-and-execute, destructive, credential, exfiltration or rules-override patterns in 6 files, checked on Nov 30, 2026. This is not a guarantee of safety. How the scan works.
Author? Show the scan result in your README
The badge updates with each weekly scan.
npx degit trailofbits/skills/plugins/differential-review/skills/differential-review .claude/skills/differential-reviewWith and without this skill.
Prompt: “Do a security-focused review of this change and present it as a single HTML page. Commit: "Allow admins to impersonate users for support" +app.get('/admin/impersonate/:id', async (req, res) => { + if (req.cookies.role !== 'admin') return res.sendStatus(403); + const user = await User.findById(req.params.id); + req.session.userId = user.id; + res.redirect(req.query.next || '/'); +});” Run on claude-opus-5-5, with the skill at commit 2be6433. Recorded 10/31/2026. 3 independent runs per side; all are shown, none picked by hand.
| Median per run | Without | With the skill | Change |
|---|---|---|---|
| Tokens in (prompt and skill) | 352 | 14,053 | +3892% |
| Tokens out | 19,158 | 21,928 | +14% |
| Seconds | 156.6 | 182.7 | +17% |
Read this skill at its source
The repo doesn’t state an open license, so we link to it rather than showing the text here.
Open on GitHub