differential-review

Analyze code changes for security risks and generate markdown reports.

1|Updated Feb 17, 2026
One-click install
npx skills add https://github.com/Ramprasad4121/srp --skill differential-review-ramprasad4121
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: differential-review
Source: https://github.com/Ramprasad4121/srp/tree/main/skills-repos/trailofbits/plugins/differential-review/skills/differential-review
Command: npx skills add https://github.com/Ramprasad4121/srp --skill differential-review-ramprasad4121

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the security review of code changes, ensuring that new code does not introduce vulnerabilities and that existing security measures are maintained.

Core Features & Use Cases

  • Automated Security Audits: Analyzes code differences (PRs, commits) for security risks.
  • Regression Detection: Identifies if security fixes are being undone.
  • Use Case: Before merging a pull request that modifies critical smart contract logic, use this Skill to automatically flag any potential reentrancy, access control, or validation issues introduced by the changes.

Quick Start

Analyze the security implications of the latest code commit.

Frequently Asked Questions about differential-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate security review for git pull requests?

Differential code review automates security analysis of git pull requests by comparing code differences, calculating blast radius, and checking test coverage to detect introduced vulnerabilities. It flags security risks like access control issues before merging.

What is differential code review for regression detection?

Differential code review for regression detection analyzes git history to identify if security fixes are being undone. It adapts analysis depth to codebase size and generates markdown reports to prevent security regressions in new commits.

Can I use automated security audits to check smart contract changes?

Yes, automated security audits check smart contract changes by performing differential analysis on commits. This identifies potential reentrancy, access control, or validation issues introduced by modifications to critical contract logic.

Does differential review work with large codebases?

Yes, differential review works with large codebases by adapting analysis depth to codebase size. It utilizes git history for context to ensure comprehensive security checks regardless of the scale of the code changes.

How do I generate a security report for the latest commit?

To generate a security report for the latest commit, run a differential review on the code changes. The review calculates blast radius, checks test coverage, and outputs a comprehensive markdown report detailing detected security vulnerabilities.

What is the best way to prevent security regressions in code?

The best way to prevent security regressions in code is to perform security-focused differential review on all changes. By utilizing git history for context, this approach detects when existing security measures are undone before code is merged.