
AI code security harnesses compared
Semgrep's blog post compares open-source AI-driven code security "harnesses" that use LLMs to find vulnerabilities, grouping them into three categories: LLM-led exploit generation (fuzzing-like, crash-oracle driven), LLM-skill-boosting vulnerability research (e.g. Cloudflare's security-audit-skill, Trail of Bits' skills, CapitalOne's vulnhunter, Google's mantis), and SAST+LLM hybrids (raptor, deepsec, ai-deep-sast, Visa's VVAH). It breaks down each tool's design, star counts, licensing, and ideal use case, and discusses cross-cutting themes like adversarial validation, discovery/validation separation, and patch generation maturity.
What it is
A Semgrep blog post surveying open-source "harnesses" that point an LLM at a codebase to find vulnerabilities, sorted into three categories and mapped to concrete adoption decisions. The value beyond the summary is the routing: which tool fits which situation, plus specific design facts (static vs. dynamic reasoning, same vs. separate model for discovery/validation) that determine whether a tool suits your workflow.
How it works — the three categories
- LLM-led exploitgen: drives toward a crashing end-state as a vulnerability oracle — "a new form of fuzzing." Hardest to actually use because model guardrails block exploit generation (you need trusted/verified access), and each is narrowly scoped to a few vuln types with reliable exploit conditions. Uses the same model to both discover and generate the exploit.
- LLM-skill-boosting: adds skills so the LLM reasons like a human researcher. Includes Cloudflare
security-audit-skill(6-phase, adversarial validation), Trail of Bitsskills(~40 plugins), CapitalOnevulnhunter(find/fix/verify loop), Googlemantis(~15 skills). - SAST+LLM hybrids: feed deterministic analysis (Semgrep, CodeQL) to the LLM to guide the search. Includes
raptor, Verceldeepsec, Ciscoai-deep-sast, VisaVVAH.
What to do — pick by situation
- Vuln hunter, want breadth + operational appetite:
raptor(scanning, dataflow, fuzzing, exploit feasibility, SCA; can compile/execute to validate). - Vuln hunter, willing to invest and build your own:
google/mantisas a starting point. - Appsec program optimizing time-to-reviewed-fix: Visa
VVAH— broad-language (42 languages), 11-stage pipeline with threat modeling, adversarial verify, exploit-chain synthesis, propose-and-validate-the-fix. Accepts a frontier-model dependency; no runnable PoC. - Already in Claude Code / Codex: install skills — Cloudflare's for near-zero-setup adversarial audit methodology; ToB's for specialist reviewers (native code, crypto constant-time, smart contracts);
capitalone/vulnhunterif you're specifically on Claude Code.
Cross-cutting facts worth knowing
- Static vs. dynamic:
ai-deep-sast,VVAH,deepsecreason purely statically (no code execution).raptor(and defending-code-harness) compile and execute binaries to validate — closer to real human research. - Adversarial validation (a second independent agent tries to falsify each finding) is widely adopted for accuracy: Cloudflare Phase 3, VVAH S6, ToB
fp-check. - Patch generation remains uncommon among SAST+LLM hybrids; exploitgen tools produce PoCs and patches.
- Language support is no longer a differentiator — LLMs handle most languages out of the box; the exploitgen bottleneck is the build toolchain, not the language.
Caveats
The author expects no single OSS reference harness soon — the field moves too fast, and several projects are already marked "no external contributions accepted" or unmaintained, so factor maintenance risk into any adoption. The post is also self-interested: Semgrep teases its own Black Hat announcement.
Organisations named here
- tptacek
Technologies named here
- security-audit-skill
- skills
- VulnHunter
- Mantis
- RAPTOR
- deepsec
- ai-deep-sast
- VVAH
- defending-code-harness
- Semgrep
- CodeQL
- AFL++
- Z3
- AddressSanitizer
- gVisor
- Claude Code
- Codex
Techniques named here
- Adversarial validation
- Threat Modeling
- Taint chunk decomposition / dataflow analysis
- Exploit chain synthesis
- Fuzzing as vulnerability oracle
- Execution-verified crash confirmation
- Static+dynamic hybrid analysis
- Separation of discovery from validation
- Semantic false-positive deduplication
- Patch generation and verification ladder
Related in AI Security
