differential-review

Analyze pull requests and diffs for security vulnerabilities and regressions.

1|Updated Sep 25, 2025
One-click install
npx skills add https://github.com/arroschaves/brandaocontador-site --skill differential-review-arroschaves
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: differential-review
Source: https://github.com/arroschaves/brandaocontador-site/tree/main/.agent/skills/trailofbits-diff-review
Command: npx skills add https://github.com/arroschaves/brandaocontador-site --skill differential-review-arroschaves

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the process of performing security-focused differential reviews on code changes, ensuring that new code does not introduce vulnerabilities and automatically detecting regressions.

Core Features & Use Cases

  • Security-First Analysis: Prioritizes high-risk areas like authentication, cryptography, and value transfer.
  • Context-Aware: Adapts analysis depth based on codebase size and leverages git history for context.
  • Regression Prevention: Automatically detects and prevents security regressions.
  • Comprehensive Reporting: Generates detailed markdown reports with findings, attack scenarios, and recommendations.
  • Use Case: When a pull request is submitted, this Skill can perform a deep security analysis, identify potential vulnerabilities, calculate their blast radius, and generate a report to guide the review process, preventing security breaches before they happen.

Quick Start

Use the differential-review skill to analyze the security implications of the latest commit in the main branch.

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 code review for pull requests and commits?

Automate security code review for pull requests by analyzing diffs, prioritizing high-risk areas like authentication and cryptography, and generating markdown reports with vulnerability findings, attack scenarios, and remediation recommendations.

What is a security-focused differential review and how does it prevent regressions?

A security-focused differential review analyzes code changes in commits and pull requests using git history to detect vulnerabilities, calculate blast radius, and prevent security regressions before new code is merged into the main branch.

Can I use git history to calculate the blast radius of a vulnerability?

Yes, this differential review process leverages git history to provide context, analyzes codebase size to adapt depth, calculates the blast radius of potential vulnerabilities, and checks test coverage to assess the impact of code changes.

What's the best way to perform a security audit on a code diff?

The best way to perform a security audit on a code diff is to adapt the analysis depth to the codebase size, check test coverage, prioritize high-risk areas like value transfer, and output a comprehensive markdown report detailing findings and recommendations.

Does code review depth need to adapt for large codebases?

Code review depth must adapt for large codebases to maintain efficiency, leveraging git history for contextual analysis while calculating the blast radius of changes to focus security checks on the most critical vulnerabilities and regressions.