trailofbits avatar

Graph Evolution

Compares Trailmark code graphs at two snapshots to surface structural security changes text diffs miss.

skills.sh installs
4.5K
GitHub stars
8.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the full structural comparison workflow: builds graphs and pre-analysis at two git refs, then computes the diff
  • Includes trailmark diff --json for nodes, edges, and entrypoints, plus graph_diff.py for subgraph membership changes
  • Enforces an explicit --language on both diff and build steps, and rejects empty diffs that may reflect a parse failure
  • Designed for auditors comparing tags, branches, or commits and checking for new attack paths and blast radius growth

Install

$ npx -y skills add trailofbits/skills --skill graph-evolution -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Graph Evolution

Builds Trailmark code graphs at two source snapshots and computes a structural diff. Surfaces security-relevant changes that text-level diffs miss: new attack paths, complexity shifts, blast radius growth, taint propagation changes, and privilege boundary modifications.

When to Use

  • Comparing two git refs to understand what structurally changed
  • Auditing a range of commits for security-relevant evolution
  • Detecting new attack paths created by code changes
  • Finding functions whose blast radius or complexity grew silently
  • Identifying taint propagation changes across refactors
  • Pre-release structural comparison (tag-to-tag or branch-to-branch)

When NOT to Use

  • Line-level code review (use differential-review for text-diff analysis)
  • Single-snapshot analysis (use the trailmark skill directly)
  • Diagram generation from a single snapshot (use the diagramming-code skill)
  • Mutation testing triage (use the genotoxic skill)

Rationalizations to Reject

Details

Repository
github.com/trailofbits/skills
Categories
Security, Code Review & Quality
First seen
May 16, 2026

More from trailofbits/skills

All 74

Similar to Graph Evolution

More Security