Karakuri
← All Skills

Selected external · Single Skill

Trail of Bits differential-review — Review changes in historical context

Explore differential-review for PRs, commits, and diffs, with history, test coverage, and callers informing the security assessment.

Purpose
Software development
Platforms
Claude Code · Codex
Original author / maintainer
Trail of Bits
License
CC-BY-SA-4.0
Added here
Guide updated
Not updated since publication
Source checked
View original project ↗

Purpose

Trail of Bits differential-review assesses the security impact of code changes. Starting from a specified PR, commit, or diff, it compares behavior, examines history and affected callers, and produces a Markdown report with locations and supporting evidence.

When to use it

Use it when changing authentication, authorization, cryptography, or external input handling. It adapts its reading scope to change size: small changes can be read completely, while larger ones prioritize high-risk areas. It also checks whether tests actually cover the affected behavior.

Example

Suppose a PR moves a permission check into a shared function. Ask it to compare baseline and changed call paths, inspect relevant history, verify which entry points still pass through the check, and identify missing tests. This is a hypothetical case, not a vulnerability discovered by this site.

Limitations

This is not a complete repository audit. Unchanged code or lower-priority parts of a large change may remain unexamined. Missing Git history, an unclear baseline, and absent tests weaken conclusions; the report should state coverage and uncertainty. Findings still need human confirmation.

Installation

The README’s Codex commands below install the differential-review plugin. Claude Code users can use its marketplace and menu route. Provide a clear baseline, target, and readable Git history. Follow the project’s authorization rules before reading history or running Git commands.

codex plugin marketplace add trailofbits/skills
codex plugin add differential-review@trailofbits

References

Back to the Skills directory