sast-hunter — Claude Code skill: what it does, how to install
The sast-hunter skill builds and runs a PoC for a specific suspected vulnerability. Use it after the candidate has passed code and condition checks.
no license ★ 1,298 updated 2026-06-12
npx skills add H-mmer/pentest-agents --skill sast-hunter -a claude-codeWhat sast-hunter does
sast-hunter takes a candidate with an entry point, a data flow, and a PoC hint, along with the affected source file and build details. It does not search a codebase for vulnerabilities; its task is to test a hypothesis that has already been defined. It first looks up relevant techniques and similar payload patterns. If MCP cannot be reached, it proceeds using its own knowledge.
The PoC format depends on the target: the skill can prepare a network script, a malformed input file, or a small program that calls a library function. It then runs the check with ASan, UBSan, or Valgrind and examines the result. C/C++ PoCs can be built with sanitizers; the exact build command depends on project paths and libraries.
The candidate needs to pass prior validation, or there is no defined hypothesis to test. Build details are required, and running the project may depend on its own environment and dependencies.
What it helps with
- build a PoC for a specific vulnerability candidate
- test a suspected bug with a sanitizer
- reproduce a trigger condition in a network protocol
- check whether a vulnerability hypothesis holds at runtime
Example prompts for the agent
- Use
/sastto build and run a PoC for this candidate insrc/parser.cwith the project build details. - Test the trigger described in
poc_hintand check the result with ASan. - Create a PoC for this specific candidate, then run it with the project's
build_info.
How to install sast-hunter
1Skills CLI (Vercel)
npx skills add H-mmer/pentest-agents --skill sast-hunter -a claude-code2Manually: put the files in place
~/.claude/skills/agent-sast-hunter/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/agent-sast-hunter/
1Skills CLI (Vercel)
npx skills add H-mmer/pentest-agents --skill sast-hunter -a codex2Manually: put the files in place
.agents/skills/agent-sast-hunter/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add H-mmer/pentest-agents --skill sast-hunter -a cursor2Manually: put the files in place
.cursor/skills/agent-sast-hunter/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install H-mmer/pentest-agents providers/cursor/.cursor/skills/agent-sast-hunter2Manually: put the files in place
.github/skills/agent-sast-hunter/SKILL.md1Skills CLI (Vercel)
npx skills add H-mmer/pentest-agents --skill sast-hunter -a gemini-cli2Platform CLI
gemini skills install https://github.com/H-mmer/pentest-agents --path providers/cursor/.cursor/skills/agent-sast-hunterManually: put the files in place
.devin/skills/agent-sast-hunter/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-hunter
How do I install sast-hunter in Claude Code?
Run npx skills add H-mmer/pentest-agents --skill agent-sast-hunter -a claude-code. The skill file is at ~/.claude/skills/agent-sast-hunter/SKILL.md.
What does sast-hunter do?
It builds and runs a PoC for a vulnerability candidate that has already been defined. It is not intended for open-ended vulnerability hunting.
What does sast-hunter need to run?
It needs a specific candidate with its data flow and trigger condition, the source file, and project build details. If MCP search is unreachable, it continues using its own knowledge.