installskill

Skills / trailofbits/skills

graph-evolution

Compares Trailmark code graphs at two snapshots to surface security-relevant structural changes.

Pinned commit
149d7b21f406Committed 2026-11-12
Files
633 KB
License
Creative Commons
Snapshot taken
2026-11-28
Description from the skill
Compares Trailmark code graphs at two source code snapshots (git commits, tags, or directories) to surface security-relevant structural changes. Detects new attack paths, complexity shifts, blast radius growth, taint propagation changes, and privilege boundary modifications that text diffs miss. Use when comparing code between commits or tags, analyzing structural evolution, detecting attack surface growth, reviewing what changed between audit snapshots, or finding security-relevant changes that text diffs miss.

This is the text your agent reads to decide when to use the skill.

Install

Choose your agent. Pinned commands install exactly the commit this page describes.

Skill directory .claude/skills/Claude Code · Official docs

Does not read the shared .agents/skills directory. A skill must land in .claude/skills, or arrive inside a plugin.

GitHub CLIpinned

$ gh skill install trailofbits/skills plugins/trailmark/skills/graph-evolution --agent claude-code --pin 149d7b21f4067765b82e67029730b42d228ef4b4

gh picks the directory for the agent, names the folder after the source directory (graph-evolution), and writes source metadata into the SKILL.md frontmatter, so the content hash below will not match. Check the github-tree-sha it records instead: it should read 72b46c79a24f324d72d0fedf118d9b310b03df24.

skills CLIpinned

$ npx skills add trailofbits/skills@149d7b21f4067765b82e67029730b42d228ef4b4 --skill graph-evolution -a claude-code --copy

Downloads and runs the skills package from npm. --copy writes real files instead of symlinks. The CLI sends anonymous telemetry unless DISABLE_TELEMETRY=1 is set, and that setting also turns off its audit lookups.

Claude Code pluginnot pinnedrun inside the agent

> /plugin marketplace add trailofbits/skills
> /plugin install trailmark@trailofbits

Not pinned: installs whatever the marketplace currently serves. The plugin bundles 14 other skills with this one. It also installs things this page does not cover: subagents. Plugin scope is chosen in the /plugin dialog.

Plain gitpinned

$ tmp=$(mktemp -d)
$ git clone --quiet https://github.com/trailofbits/skills.git "$tmp"
$ git -C "$tmp" checkout --quiet 149d7b21f4067765b82e67029730b42d228ef4b4
$ mkdir -p .claude/skills
$ cp -R "$tmp/plugins/trailmark/skills/graph-evolution" .claude/skills/graph-evolution

No extra tooling. Files land byte for byte as published in .claude/skills/graph-evolution, so the content hash below can be checked directly.

Check what landed

Run this after installing. It prints one SHA-256 for the whole directory. If your installer reported a different directory, cd there instead.

$ cd .claude/skills/graph-evolution && find . -type f -print0 | LC_ALL=C sort -z | xargs -0 shasum -a 256 | shasum -a 256

Expected43f401e06b6ed13f67bc3b13d9a36a49133aa22b6ec6fd95edfa9f395ec7b4a7

It matches only when the files are byte for byte as published. A difference means something changed: by the installer, by you, or upstream.

What is inside

Pattern matches in the files, each linked to its line. A match is a place to read, not a verdict, and no match is not proof of absence.

Data · 2Docs · 2SKILL.md · 1Scripts · 1

Runs commands5

Code that spawns other processes, or shell code blocks in the instructions.

0 in scripts · 5 in docs and other text files

Network accessNo match

Calls that fetch from or send to a remote host.

Installs packages1

Commands that pull and run third-party packages at use time.

0 in scripts · 1 in docs and other text files

Reads env or credentialsNo match

References to environment variables, tokens, keys or credential files.

Privileged or destructiveNo match

sudo, recursive deletes, permission changes and similar commands.

Dynamic or encoded codeNo match

eval, exec, base64 decoding and remote-script piping, which hide what runs.

Outside hosts mentioned

Hostnames of every URL in the text files.

  • www.w3.org×1

Entries worth a second look

No symlinks, submodules, hidden files, archives, compiled files or unscanned files.

File manifest

Every file in the skill directory at the pinned commit.

Content hash
43f401e06b6ed13f67bc3b13d9a36a49133aa22b6ec6fd95edfa9f395ec7b4a7
Git tree SHA
72b46c79a24f324d72d0fedf118d9b310b03df24
PathKindSizeSHA-256
SKILL.mdSKILL.md13 KB009055f8ad529fd9…
agents/openai.yamlData246 Bc375b9f387a9414e…
assets/trail-of-bits-mark.svgData3.0 KB4bf74c789b38dcf6…
references/evolution-metrics.mdDocs5.1 KBec26ea932290be34…
references/report-format.mdDocs4.2 KBcc44977216b7e900…
scripts/graph_diff.pyScripts7.7 KB4cb00ee257d45e46…

Spec and portability

Checked against the Agent Skills specification.

Frontmatter
Parses as YAML
Name matches directory
Yes
Name uses lowercase letters, digits and hyphens
Yes
Description length
517limit 1,024 characters
SKILL.md body
342 linesthe spec suggests under 500 lines
Fields outside the spec
None
License field
None declared
License file
None declared
Repository license
LICENSE (Creative Commons)
Claude Code plugin
trailmark@trailofbits

Change history

No changes recorded since the first snapshot on 2026-11-28.

Follow changes to this skill in a feed reader: Atom feed · all skills

Get an email when this skill changes

Email alerts are not built yet. Leave your address and we will write to you once, when they are. The feed above works today.

We store your address, the name of this skill and the date. It is used for nothing else.