taint-trace — Claude Code skill: taint analysis and installation
The taint-trace Claude Code skill adjusts a project's static taint-analysis models, then runs its analyzer. It addresses missed data paths, unresolved framework calls, and false positives caused by imprecise models.
CC-BY-SA-4.0 130 installs ★ 8,341 updated 2026-10-24
npx skills add trailofbits/skills --skill taint-trace -a claude-codeWhat taint-trace does
taint-trace draws on Trailmark graph data to revise how the analyzer represents input sources, risky operations, sanitization, value transfer, and types. It then runs the project's existing analyzer. The skill stores the initial and updated run results, model-change records, and a readable report in .trailmark/taint-trace/. The initial run is retained.
Its helper runs through uv and gets trailmark>=0.8.0,<0.9 from a package index; the native analyzer is a separate dependency. The selected engine's capabilities and models are checked before analysis. Analyzer startup can execute project code through autoloaders, plugins, or configuration hooks, and static analysis does not isolate that code.
What it helps with
- Trace external input to a risky operation
- Restore data paths hidden by incomplete models
- Resolve framework calls the analyzer cannot bind
- Reduce false positives caused by imprecise models
Example prompts for the agent
- Analyze data flows in
srcand run/trailmark:taint-trace-run. - Find missed paths from external input to SQL queries in
app. - Investigate false positives in
backendand save a report.
How to install taint-trace
1Skills CLI (Vercel)
npx skills add trailofbits/skills --skill taint-trace -a claude-code2Manually: put the files in place
~/.claude/skills/taint-trace/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/taint-trace/
1Skills CLI (Vercel)
npx skills add trailofbits/skills --skill taint-trace -a codex2Manually: put the files in place
.agents/skills/taint-trace/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add trailofbits/skills --skill taint-trace -a cursor2Manually: put the files in place
.cursor/skills/taint-trace/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install trailofbits/skills plugins/trailmark/skills/taint-trace2Manually: put the files in place
.github/skills/taint-trace/SKILL.md1Skills CLI (Vercel)
npx skills add trailofbits/skills --skill taint-trace -a gemini-cli2Platform CLI
gemini skills install https://github.com/trailofbits/skills --path plugins/trailmark/skills/taint-traceManually: put the files in place
.devin/skills/taint-trace/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add trailofbits/skills --skill taint-trace -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about taint-trace
How do I install taint-trace in Claude Code?
Run npx skills add trailofbits/skills --skill taint-trace -a claude-code. The skill file is located at ~/.claude/skills/taint-trace/SKILL.md.
What does taint-trace do?
It uses Trailmark graph data to revise models for a project's static taint analyzer, then runs that analyzer. Results, model changes, and a report are saved under .trailmark/taint-trace/.
What does taint-trace need to run?
It uses uv to install trailmark>=0.8.0,<0.9 from a package index, and requires a separate native analyzer. The selected engine's capabilities are checked before analysis.