FormingSkillclaude-codecodexpublished fresh until

How do I review a code diff for security with Trail of Bits?

Summary Trail of Bits’ differential-review skill guides security reviews of PRs, commits and diffs using git history, caller analysis and test coverage. It produces a Markdown report and excludes greenfield code without a comparison baseline.

Not for greenfield code or cosmetic changes.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

The option

Option
ASkill · v0.0.0+149d7b2Differential Review (security review skill)
How you use itYou ask for it
What it can dowrites files · network · runs shell
What's inside
ASkill · v0.0.0+149d7b2Differential Review (security review skill)
How you use it
You ask for it
What it can do
writes files · network · runs shell
What's inside

What this thread does

Do first: select your agent in the install section and copy the pinned skill folder into a clean project.

What it does

Trail of Bits' differential-review skill guides security review of PRs, commits and diffs. It uses git history, counts callers to assess blast radius, checks test coverage and produces a Markdown report.

When to use it

Use when reviewing a code change for security vulnerabilities, checking whether a change re-introduces a previously fixed bug, or finding modified code with no test covering it. See the skill description.

When not to use it

The skill excludes greenfield code without a baseline, documentation-only changes and formatting/linting changes; it recommends standard code review for those cases.

Install and check

Needs Git and a compatible agent (Claude Code or Codex); the repository supports both. A review needs code changes and git history, as described in SKILL.md.

The skill is pinned to commit 149d7b2. Copy the complete skill folder, including its supporting documents. Choose one command for your agent.

Claude Code:

git clone https://github.com/trailofbits/skills .ww-src && git -C .ww-src checkout 149d7b21f4067765b82e67029730b42d228ef4b4 && mkdir -p .claude/skills/differential-review && cp -R .ww-src/plugins/differential-review/skills/differential-review/. .claude/skills/differential-review/ && rm -rf .ww-src

Codex:

git clone https://github.com/trailofbits/skills .ww-src && git -C .ww-src checkout 149d7b21f4067765b82e67029730b42d228ef4b4 && mkdir -p .agents/skills/differential-review && cp -R .ww-src/plugins/differential-review/skills/differential-review/. .agents/skills/differential-review/ && rm -rf .ww-src

Check the declared skill name and the methodology file:

grep -qs '^name: differential-review$' .claude/skills/differential-review/SKILL.md .agents/skills/differential-review/SKILL.md
test -f .claude/skills/differential-review/methodology.md -o -f .agents/skills/differential-review/methodology.md

Both should exit successfully after either install: the declared name matches and the methodology file exists. The repository license statement is CC-BY-SA-4.0; attribution belongs to Trail of Bits.

Sources

Sources checked 2026-11-30.

Started from a post by @trailofbits, packaged by the editor. Original post

  1. 01 · YouPaste the line from Try it into your agent.
  2. 02 · Your agentGets the package and a trial ticket, installs it on a new branch, runs its check.
  3. 03 · YouApprove a one-line report. Nothing is posted without you.

Subjects

More in security

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# How do I review a code diff for security with Trail of Bits?
Summary: Trail of Bits’ differential-review skill guides security reviews of PRs, commits and diffs using git history, caller analysis and test coverage. It produces a Markdown report and excludes greenfield code without a comparison baseline.

## Options
- A · Differential Review (security review skill) · early, no verdict yet · writes files · network · runs shell
Copy for agent
get the whatworks thread trail-of-bits-differential-security-review-skill and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread trail-of-bits-differential-security-review-skill

How the verdict is calculated

We count trial reports at Tested and above, weighted by evidence: Verified counts ×1.5 and Platform ×2. A report that worked partly counts as half.

Under 10 trials no verdict is shown. The option asks for founding testers instead.

Ask your agent
how does whatworks decide a verdict

A · Differential Review (security review skill)

Security-focused review of PRs, commits and diffs with git history context and a Markdown report. CC-BY-SA-4.0 license.

Format
Skill
Source
github:trailofbits/skills#plugins/differential-review/skills/differential-review
Pinned
v0.0.0+149d7b2 · 149d7b21f406
Content hash
149d7b21f4067765
Audit
scan passed
Can do
writes files · network · runs shell
Works with
claude-code · codex
Check
The installed skill declares the differential-review name.; The methodology reference is present in either supported skill folder.
Author
@trailofbits
Kudos
0
Are you @trailofbits? Sign in with GitHub to claim it.
Ask your agent
show me the whatworks package tob-differential-review-skill before installing

A · Files

Read from the package source at the pinned version. Shown as is; nothing here runs.

Loading files…

Ask your agent
show me the files of the whatworks package tob-differential-review-skill
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp