Antiproof: Synthesizing Vulnerability Detectors and Proofs of Exploitability

Alon Shakevsky, Corban Villa, Ion Stoica, Raluca Ada PopaarXiv 2026

TL;DR

Antiproof is an end-to-end vulnerability discovery system that pairs LLM-synthesized static detectors with automated "proof-of-exploitability" validation oracles. By shifting the verification bottleneck from human experts to deterministic sandboxed environments, it achieves a massive 60+ percentage point recall improvement over traditional baselines at a fraction of the cost of direct LLM scanning. The system successfully uncovered hundreds of zero-days in production software, securing 12 CVEs in critical AI infrastructure.

What Problem Does This Paper Address?

Finding software vulnerabilities before attackers exploit them is a high-stakes game of whack-a-mole. Security defenders face a brutal trilemma between recall (finding all bugs), precision (avoiding false alarms), and cost.

Traditional static analysis tools (like CodeQL) can scan large codebases quickly but require manual expert configuration and often miss complex logic flaws. Dynamic approaches (like fuzzing) are excellent at finding memory-safety bugs but struggle to scale due to "path explosion" in large systems. While Large Language Models (LLMs) have shown incredible code-reasoning capabilities, using them to scan entire codebases directly is prohibitively slow, expensive, and plagued by hallucinations. This creates a massive validation bottleneck where human experts must manually review thousands of AI-generated reports to see if a vulnerability is actually exploitable.

Methods

Antiproof solves this scaling and validation dilemma by splitting the work into a three-stage pipeline: Synthesis, Detection, and Validation.

Figure 1. Antiproof synthesizes and iteratively refines high-recall static de- tectors from vulnerability datasets, scans target repositories for vulnerability candidates, and validates them with executable proofs of exploitability.
  1. Synthesis: Instead of forcing an LLM to read millions of lines of target code, Antiproof uses an LLM agent once to look at a dataset of known historical bugs and synthesize reusable static detectors. These detectors are formulated as queries over an extended Code Property Graph (eCPG), which introduces virtual nodes and edges to capture complex semantic relationships that traditional data-flow tools miss.
  2. Detection: To run these detectors continuously at scale, the authors built Antigraph, a native Rust engine. Antigraph avoids constructing expensive program dependence graphs by using fast breadth-first search (BFS) reachability over the eCPG, making it orders of magnitude faster than existing tools.
  3. Validation: Any vulnerability candidate flagged by the detectors is automatically deployed into an isolated validation environment (using Docker or QEMU). An LLM "Prover" agent is then tasked with generating an executable exploit. Crucially, Antiproof uses deterministic proof-of-exploitability oracles to verify if the exploit actually achieves an attacker capability (such as Remote Code Execution or arbitrary file access). If the exploit works against the oracle, the vulnerability is confirmed, completely eliminating LLM hallucinations.
Figure 3. Antiproof system architecture. Synthesis learns high-recall heuristics from a vulnerability dataset and refines them from observed false positives and false negatives. Detection runs the detectors on a target repository to find vulnerability candidates. Validation prepares a reusable PoE environment and a candidate-specific PoV environment, generates proofs, and checks each proof with its environment’s oracle.

Datasets

The authors evaluated Antiproof using several codebases and benchmarks:

  • BountyBench: A public benchmark containing 46 real-world vulnerabilities curated from public bug bounty programs.
  • KEVBench: A new dataset curated by the authors consisting of 20 vulnerabilities from CISA’s Known Exploited Vulnerabilities catalog published in 2025 and 2026. This dataset was specifically selected to be past the training data cutoff of the evaluated LLMs to prevent data contamination/memorization.
  • Real-World Zero-Day Scan: A massive deployment across 50 widely used open-source projects (including Linux, OpenSSL, vLLM, and Ray) totaling 136 million lines of code.

Key Insights and Ideas

  • Optimize for Recall, Validate for Precision: Traditional static analysis tools try to be precise to avoid annoying developers with false positives, which causes them to miss bugs. Antiproof flips this strategy: it intentionally tunes its static detectors for ultra-high recall (catching everything, even if noisy) and offloads the precision filtering entirely to the automated exploit sandboxes.
  • Capability-Based Oracles: Instead of relying on traditional bug oracles like memory sanitizers (which crash on memory errors but miss logic flaws), Antiproof validates vulnerabilities based on attacker capabilities. If an LLM can successfully write a secret string to a protected directory or trigger an unauthorized action, the system proves exploitability regardless of the underlying bug class.
  • Decoupling Search from Inference: By compiling LLM knowledge into lightweight static graph traversals (eCPGs), the system can scan codebases continuously without burning millions of tokens on raw LLM inference.

Key Results

  • Superior Deficit Catching: Antiproof detected 64 out of 66 vulnerabilities across BountyBench and KEVBench, outperforming traditional static analysis and neuro-symbolic baselines by more than 60 percentage points in recall.
  • Real-World Zero-Days: In its scan of 50 major open-source projects, Antiproof generated 510 verified Proofs of Exploitability. This led to 12 CVE assignments, including critical remote code execution (RCE) flaws in major AI infrastructure frameworks like Ray, SGLang, vLLM, and LiteLLM.
  • High Efficiency & Low Cost: The custom Antigraph engine scanned the entire benchmark suite in a median of 2.3 minutes—25x faster than the industry-standard Joern engine. Furthermore, an entire scan campaign of OpenBSD cost less than $612, representing a 33x cost reduction compared to direct LLM agent scanning approaches (like Anthropic's Claude Mythos campaign, which cost ~$20,000).

Limitations and Future Work

  • Detector Dependency: Antiproof can only catch vulnerabilities for which it has synthesized a detector pattern. It may miss entirely novel, unprecedented vulnerability classes until they are added to its training dataset.
  • Environment Complexity: Setting up automated validation environments can be incredibly difficult for complex systems that require specialized hardware emulation or multi-party authentication.
  • Client-Side Vulnerabilities: The current implementation focuses heavily on server-side flaws and does not yet support client-side vulnerability classes like Cross-Site Scripting (XSS).

Summary updated

BibTeX
@misc{shakevsky2026antiproof,
  author = {Alon Shakevsky and Corban Villa and Ion Stoica and Raluca Ada Popa},
  title = {{Antiproof: Synthesizing Vulnerability Detectors and Proofs of Exploitability}},
  year = {2026},
  eprint = {2607.12316},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.12316},
}
Figure