Agent skill · security · sickn33

differential-review

Security-focused code review for PRs, commits, and diffs.

Why this skill is useful

Adds a comprehensive security review workflow with detailed phases and specific reporting templates that the AI cannot generate on its own.

What it needs

About 4k tokens when loaded. Last updated 2026-08-07. 44,571 stars on the source repository.

What this skill does

Differential Security Review Security-focused code review for PRs, commits, and diffs. When to Use You need a security-focused review of a PR, commit range, or diff rather than a general code review. The changes touch auth, crypto, external calls, value transfer, permissions, or other high-risk logic. You need findings backed by code evidence, attack scenarios, and an explicit report artifact. Core Principles 1. Risk-First: Focus on auth, crypto, value transfer, external calls 2. Evidence-Based: Every finding backed by git history, line numbers, attack scenarios 3. Adaptive: Scale to codebase size (SMALL/MEDIUM/LARGE) 4. Honest: Explicitly state coverage limits and confidence level 5. Output-Driven: Always generate comprehensive markdown report file --- Rationalizations (Do Not Skip) Rationalization Why It's Wrong Required Action ----------------- ---------------- ----------------- "Small PR, quick review" Heartbleed was 2 lines Classify by RISK, not size "I know this codebase" Familiarity breeds blind spots Build explicit baseline context "Git history takes too long" History reveals regressions Never skip Phase 1 "Blast radius is obvious" You'll miss transitive callers Calculate quantitatively "No tests = not my problem" Missing tests = elevated risk rating Flag in report, elevate severity "Just a refactor, no security impact" Refactors break invariants Analyze as HIGH until proven LOW "I'll explain verbally" No artifact = findings lost Always write report --- Quick Reference Codebase Size Strategy Codebase Size Strategy Approach --------------- ---------- ---------- SMALL (<20 files) DEEP Read all deps, full git blame MEDIUM (20-200) FOCUSED 1-hop deps, priority files LARGE (200+) SURGICAL Critical paths only Risk Level Triggers Risk Level Triggers ------------ ---------- HIGH Auth, crypto, external calls, value transfer, validation removal MEDIUM Business logic, state changes, new public APIs LOW Comments, tests, UI, logging --- Workflow Overview --- Decision Tre …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills sickn33/differential-review

View the source on GitHub

Browse the @skills marketplace