Skills Explorer Add Skills

audit-augmentation

An agent skill by trailofbits, from trailofbits/skills. Tags: analysis, sarif, security, trailmark.

What it does

Augments Trailmark code graphs with external audit findings from SARIF static analysis results, weAudit annotation files, and version-gated Trailmark 0.4.x binary-analysis graph exports. Maps findings to graph nodes by file and line overlap, creates severity-based subgraphs, and enables cross-referencing findings with pre-analysis data (blast radius, taint, etc.). Use when projecting SARIF results onto a code graph, overlaying weAudit annotations, importing binary graph findings, cross-referencing Semgrep, CodeQL, or binary-analysis findings with call graph data, or visualizing audit findings in the context of code structure.

Install

With the skills CLI, which installs into Claude Code, Codex, Cursor and other agents:

npx skills add trailofbits/skills --skill audit-augmentation

Or copy the skill folder into Claude Code's skills directory by hand (~/.claude/skills for every project, or .claude/skills inside one):

git clone --depth 1 https://github.com/trailofbits/skills
cp -r skills/plugins/trailmark/skills/audit-augmentation ~/.claude/skills/audit-augmentation

Safety box score

Grade B, low risk: 18 of 100 risk points, rated 2026-10-19. The grade rates what the skill and its scripts can reach on the machine of whoever installs it, across eight categories from shell execution to secrets access. How the score works.

This skill overlays SARIF, weAudit, and optional binary-analysis JSON onto a local Trailmark graph. The main risks are a package install from the network and automatic ingestion of untrusted audit files that mutate local analysis state and influence downstream triage.

Category levels, from 0 (none) to 3 (high)
CategoryLevelWhy
Code & shell execution1 (low)It relies on running local commands and Python snippets such as `uv run trailmark augment {targetDir} --sarif results.sarif` and `QueryEngine.from_directory(...)`, but only for bounded Trailmark analysis.
Network access2 (moderate)The installation path `uv tool install trailmark` fetches code and dependencies from a package registry, which is a real network download even though the skill does not describe any runtime remote API calls.
Filesystem reach1 (low)It reads local workspace inputs like `results.sarif` and `.vscode/<username>.weaudit` and writes Trailmark annotations/subgraphs in the project context; it does not describe system-wide or destructive file access.
Secrets & credentials0 (none)The skill does not ask for tokens, passwords, key files, browser sessions, or `.env` contents.
Privilege & persistence0 (none)There is no sudo, service registration, shell startup editing, or global OS change; `uv tool install trailmark` is a user-local install.
Instruction hijack surface0 (none)The text contains workflow guidance and a version gate, but no instruction to ignore higher-priority rules, hide actions, or follow remote prompts.
Irreversible actions1 (low)It automatically imports findings and creates annotations/subgraphs (`engine.augment_sarif()`, `engine.augment_weaudit()`, `engine.augment_binary()`), which changes local triage state but does not publish or delete anything externally.
Transparency0 (none)All shipped files are plain text documentation/config/SVG; there are no binaries, obfuscated blobs, or unreviewable installers.

Before installing

Rated 2026-10-19 by an automated review of 4 files from the skill's repository.

Source

Repository
trailofbits/skills (all skills from this repository)
Path
plugins/trailmark/skills/audit-augmentation/SKILL.md
Branch
main
Collection
trailmark
Updated
2026-09-19