sast-flow-tracer — Claude Code skill: what it does, how to install
The sast-flow-tracer skill maps paths from entry points to dangerous operations, following function calls, checks, and data transformations.
no license ★ 1,298 updated 2026-06-12
npx skills add H-mmer/pentest-agents --skill sast-flow-tracer -a claude-codeWhat sast-flow-tracer does
sast-flow-tracer takes entries.json (where external data enters the code) and dangers.json (where potentially vulnerable operations execute), then determines for each pair whether the dangerous operation is reachable from the entry point. It walks the call graph, reads files across the project, expands macros, and records every validation and transformation — casts, assignments, field extractions. Outputs a JSON chain with a preliminary risk rating (hot, warm, cold).
Without Claude Opus, the reasoning depth is insufficient for cross-file tracing, and the skill will miss non-obvious paths. For PHP, it tracks extract(), unserialize(), magic methods, and Phar wrappers as second-order taint sources.
Runs via /sast command after other pipeline agents have populated entries.json and dangers.json.
What it helps with
- map data flow graphs from user input to memory write operations
- identify call chains where validation is missing or incomplete
- track variable transformations through assignments and casts
- recognize implicit entry points via
$_SESSION,unserialize(), and Phar deserialization - record all bounds and type checks between entry and dangerous operation
Example prompts for the agent
- Map data flows from entry points to dangerous operations in
tcp_input.c - Check if
$_POST['id']reaches theunserialize()call inhandlers/user.php - Track what validations exist between
pkt->dataand thememcpy()call on line 340
How to install sast-flow-tracer
1Skills CLI (Vercel)
npx skills add H-mmer/pentest-agents --skill sast-flow-tracer -a claude-code2Manually: put the files in place
~/.claude/skills/agent-sast-flow-tracer/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/agent-sast-flow-tracer/
1Skills CLI (Vercel)
npx skills add H-mmer/pentest-agents --skill sast-flow-tracer -a codex2Manually: put the files in place
.agents/skills/agent-sast-flow-tracer/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add H-mmer/pentest-agents --skill sast-flow-tracer -a cursor2Manually: put the files in place
.cursor/skills/agent-sast-flow-tracer/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install H-mmer/pentest-agents providers/cursor/.cursor/skills/agent-sast-flow-tracer2Manually: put the files in place
.github/skills/agent-sast-flow-tracer/SKILL.md1Skills CLI (Vercel)
npx skills add H-mmer/pentest-agents --skill sast-flow-tracer -a gemini-cli2Platform CLI
gemini skills install https://github.com/H-mmer/pentest-agents --path providers/cursor/.cursor/skills/agent-sast-flow-tracerManually: put the files in place
.devin/skills/agent-sast-flow-tracer/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.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 sast-flow-tracer
How to install sast-flow-tracer in Claude Code?
Run npx skills add H-mmer/pentest-agents --skill agent-sast-flow-tracer -a claude-code, then open ~/.claude/skills/agent-sast-flow-tracer/SKILL.md to verify.
What does sast-flow-tracer do?
It maps paths from entry points to dangerous operations: follows function calls, tracks variable transformations and checks, records each step, and rates the risk.
Why does sast-flow-tracer require Opus?
Cross-file tracing and understanding implicit dependencies through macros, extract(), and deserialization require deep reasoning available only in Claude Opus.