When to choose it
Reviewing a commit, PR or saved diff against an identified baseline.
Choose it if: you need to review the security implications of an existing change.
Look elsewhere if: you want proof that a repository is secure or a workflow for a greenfield feature.
What the source describes
- Coordinates a change-focused review using surrounding code, history and test coverage.
- Provides a diff-review command and a namespaced adversarial review agent.
Requirements
- Claude Code with plugin support.
- Readable Git checkout with the target and baseline history.
- Remote PR access only when using a PR URL; local files can be reviewed without that integration.
A Skill distributed inside the differential-review plugin, together with a command and an agent. This listing documents the Skill’s distinct change-review workflow.
Install the plugin
- Review the containing plugin. The containing plugin supplies the differential-review Skill, diff-review command and adversarial-modeler agent. The marketplace identifies the plugin as 1.1.4. The command and Skill allow Write and Bash; a security review is not intrinsically a read-only operation.
- Prepare the comparison. Identify the target and baseline in a readable checkout and record their resolved commits. The commands below inspect existing local refs; replace main if your intended baseline differs. They do not fetch missing history, include uncommitted work or establish that the local branch is current on the remote.Shell • read-only comparison check
git rev-parse --verify main git rev-parse --verify HEAD git diff --stat main..HEAD git diff --name-only main..HEAD - Activate the plugin. Check /plugin and follow its activation/reload instruction. Confirm the command appears in the picker.
- Separate the review from checkout and report writes. The upstream methodology includes checking out the baseline and returning to the target; reporting prefers a Markdown file in the working directory and offers other locations. Agree on an isolated checkout or a review that reads both revisions without switching branches, and name the one permitted report path before allowing the full workflow. Preserve uncommitted work.
- Provide the change’s reachable context. Supply the surrounding code, relevant callers and existing tests along with the diff. For an authorization change, state the expected roles and entry points. Extra context-building or report-writing Skills mentioned upstream are optional integrations, not components installed by this focused plugin.
Run the installation command in your shell after reviewing the source. Local scope enables the package for you in this repository. It does not enable it for every collaborator.
claude plugin marketplace add trailofbits/skills
claude plugin install differential-review@trailofbits --scope localHow to use it
Documented command shape. Replace the target and optional baseline; do not paste the angle-bracket placeholders unchanged.
/differential-review:diff-review <pr-url|commit-sha|diff-path> [--baseline <ref>]An original example for a bounded task. This request example is written by ClaudeStack; it is not a transcript of a tested session.
/differential-review:diff-review ./auth-changes.diff --baseline main
Use this existing diff and the resolved local baseline recorded above. First return the planned scope in chat; do not switch branches, fetch a PR, edit source or execute exploit examples. After I approve the report path, review removed authorization checks, reachable callers and existing tests. Mark unavailable history, untested claims and search-based caller estimates explicitly.The upstream content is CC-BY-SA-4.0. ClaudeStack provides original descriptions and examples, with author attribution and pinned source/license links; it does not redistribute the Skill text.
The author README’s repository-path install shortcut differs from the reviewed marketplace flow. The displayed install command uses the actual trailofbits marketplace name and differential-review plugin identity with current official CLI syntax; it was not executed by ClaudeStack.
What to expect
The reviewed source describes these observations. ClaudeStack has not loaded or run this extension.
- A review tied to the identified target and baseline, with changed-file locations, relevant history and test gaps.
- Concrete reachable scenarios for findings, including the attacker’s role and preconditions. A source-search caller count is an estimate with stated scope, not a measured runtime call graph.
- A Markdown report when the full workflow and output path are authorized. High-risk changes may use the bundled differential-review:adversarial-modeler agent; a quick triage or partial scan must state what it omitted.
Self-check: Compare the resolved target/baseline with the report, check the listed analyzed and skipped files, and confirm the report path was agreed. Distinguish tests actually executed from tests merely found in source. Validate suspected defects in an authorized test environment; do not treat an AI approval, search-derived coverage percentage or a clean report as proof of security.
Troubleshooting
There is no useful comparison
Supply a valid baseline, the surrounding checkout and enough history. A detached diff can leave the review incomplete.
The delegated agent is unavailable
Its documented name is differential-review:adversarial-modeler. Verify the containing plugin is active rather than using an unqualified name.
The review switches branches or writes an unexpected report
The upstream full workflow includes checkout and persistent-report steps, and its allowed tools include Write and Bash. Stop the unexpected step, preserve the working tree, and agree on isolation and one output path. Requesting a first read-only scope discussion does not remove the plugin’s capabilities.
A saved diff lacks the surrounding code or history
Supply the matching checkout and resolved baseline, or ask the reviewer to mark history and impact analysis unavailable. A PR URL additionally needs separately authorized remote access. Do not manufacture caller counts or claim a full review from a detached patch.
A finding names no reachable attack path
Ask for the actual entry point, actor permissions, changed validation and surrounding call chain. The bundled adversarial-modeler is for high-risk analysis; its presence does not turn a hypothetical scenario into a reproduced exploit.
Coverage figures are presented without an executed measurement
Separate source inspection of relevant tests from a coverage run. Require a real command result for a percentage or a claim that tests passed. Upstream report templates contain example numbers; they are not evidence for your project.
Disable or remove it
- Disable or uninstall differential-review from /plugin at the same installation scope.
- Reports and any reviewed or edited project files remain; assess them separately.
Limitations & considerations
- AI findings require human validation; a clean report is not a security guarantee.
- Missing history or surrounding code limits the review and impact analysis.
Source & review record
Our description is based on public documentation and manifests available on 2026-10-08. Installation formats were checked against Claude Code and the relevant installer documentation. No extension code was executed: this is a source review, not a runtime compatibility test or security audit.
- Original source and documentation
- Reviewed definition source
- License of the reviewed source
- Official plugin installation documentation
Repository last pushed at the time of review: 2026-10-07T16:35:30Z. This date does not prove that the extension works with a particular Claude Code release.
Usage guide sources
Upstream revision checked for this guide: 82fe8226252622fa807643bdca1710901198553a. Command names and behavior in this guide are documentation and registration-source findings, not runtime verification.
- Author and workflow README ↗
- Command arguments ↗
- Skill definition ↗
- Plugin identity ↗
- Marketplace identity ↗
- CC-BY-SA-4.0 license ↗
- Claude Code: Skill discovery and invocation ↗
- Claude Code: install, reload and manage plugins ↗
- Bundled high-risk review agent and its reachability requirements ↗
- Comparison, baseline checkout and caller-analysis methodology ↗
- Report scope, example figures and output-location behavior ↗