Skip to main content
subagent CX Codex

sast-hunter — Claude Code subagent: what it does, how to install

sast-hunter validates candidate vulnerabilities from static analysis. Builds minimal test cases and runs them under sanitizers like ASan to confirm bugs or reject false alarms.

no license ★ 1,298 updated 2026-06-12

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/agents/sast-hunter.md
Open on GitHub

What sast-hunter does

The subagent processes candidate flaws that passed initial filtering. Instead of broad code audits, it focuses on verifying a single data path between an entry point and an unsafe operation.

It writes a minimal test harness and executes target binaries with AddressSanitizer or Valgrind. When memory corruption or runtime exceptions occur during execution, the finding gets verified.

Configuration specifies MCP tools from writeup-search to query technique references, but testing proceeds even when MCP is offline. Verifying native C or C++ issues requires a local compiler configured with sanitizer flags.

What it helps with

  • verify static analysis warnings using memory sanitizers
  • eliminate false positive vulnerability reports
  • write minimal test harnesses to reproduce reported crashes
  • inspect edge cases in unvalidated code paths

Example prompts for the agent

  • Run sast-hunter on candidate issue 12 using ASan build flags
  • /sast verify the memory corruption hypothesis in parser.c
  • Build a minimal test case for the unvalidated buffer in network handler

How to install sast-hunter

Manually: put the files in place

.claude/agents/sast-hunter.md

For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean

Questions about sast-hunter

How do I install sast-hunter in Claude Code?

Place the agent configuration into .claude/agents/sast-hunter.md inside your project root. Claude Code recognizes the subagent immediately.

What does sast-hunter do?

It takes an identified SAST candidate, creates a minimal test case, and verifies whether the defect triggers under dynamic runtime sanitizers.

Are MCP servers required for this subagent?

The subagent references mcp__writeup-search tools in its prompt. If the MCP server is unreachable, it continues using standard local development tools.

Similar subagents

All subagents for Security →

From the same set43

The whole set →
sast-hunter 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. CX Codex +1 ★ 1,298repo stars browser-verifier browser-verifier takes a client-side finding backed by curl evidence and settles whether the payload fires in a real browser. Useful before an XSS report goes out. CX Codex +1 ★ 1,298repo stars business-logic The business-logic subagent probes application workflows for logic flaws, from price tampering to account-takeover paths. Use it when auditing purchases, sign-in flows, or trial limits. CX Codex +1 ★ 1,298repo stars browser-verifier browser-verifier — a subagent that verifies client-side vulnerabilities in a real browser. Takes a curl-based finding and determines whether it executes in the browser. CX Codex +1 ★ 1,298repo stars browser-stealth-agent The browser-stealth-agent subagent drives Camoufox through a local REST server to inspect bot-protected pages, verify client-side bugs, and save evidence. CX Codex +1 ★ 1,298repo stars sast-devils-advocate sast-devils-advocate is a Claude Code skill that challenges SAST vulnerability candidates against the code. Run it with /sast to look for reasons a finding cannot be exploited. CX Codex +1 ★ 1,298repo stars sast-devils-advocate sast-devils-advocate is a Claude Code subagent that challenges SAST findings by looking for reasons a reported flaw cannot be exploited. Run it with /sast. CX Codex +1 ★ 1,298repo stars pentest-agents-payloads-7 The pentest-agents-payloads-7 rule for Claude Code provides test scenarios for SSRF, parameter injection, prototype pollution, and OAuth flaws during web security audits. CX Codex +1 ★ 1,298repo stars

Project sponsors

Companies that keep this analytics open