TL;DR
VAST (Verifiable Adversarial Scenario Training & Evaluation) is a declarative range compiler that wraps real-world software vulnerabilities in complex, multi-step business workflows. By separating the "exploit" from the "boring" business logic required to reach it, VAST reveals that frontier LLMs often fail not because they lack security knowledge, but because they struggle to navigate stateful, multi-step protocols.
What Problem Does This Paper Address?
Evaluating LLM-based security agents is currently a bit of a "Wild West." Existing benchmarks, often repurposed from Capture-The-Flag (CTF) competitions, suffer from four major design risks:
- Training-Data Exposure: Models may have memorized public write-ups for famous CVEs.
- Execution-Fidelity Overclaiming: Many benchmarks don't actually run the code they claim to, relying instead on "string matching" or simplified models.
- Skin-Swapping Inflation: Changing the names of variables in a scenario doesn't create a new vulnerability, yet it's often counted as "diversity."
- Coarse Scoring: A simple binary "Pass/Fail" doesn't tell you where the agent got stuck. Did it fail to find the bug, or did it just forget to include a required session header?
The authors argue that we need a way to hold the underlying vulnerability constant while programmatically varying the complexity of the "workflow" required to trigger it.
Methods
The core of VAST is a declarative range compiler. It takes a "seed" vulnerability (the sink) and wraps it in a 6-rung operator ladder of increasing difficulty:
- R0 (BASE): The bare vulnerability.
- R1 (P1): Adds a session gate (requires specific headers).
- R2 (P2): Adds business invariants (e.g., "you must balance three different fields to create a record").
- R3 (P3): Adds two-phase draft rebinding (you can't just "POST" the exploit; you have to open a draft, amend it, and then finalize it).
- R4 (P4): Adds stateful protocol lockout (one mistake voids the whole workflow).
To ensure results are meaningful, VAST uses a Four-Gate Oracle to validate every instance:
- Benign Gate: Can a normal user complete the workflow?
- Exploit Gate: Does the reference exploit actually work?
- Negative Gate: Do "almost-correct" attempts (like skipping a step) correctly fail?
- Patch Gate: Does the provided security patch actually block the exploit while keeping the benign path open?
Datasets
The authors started with a massive pool of 37,990 records from the GitHub Security Advisory (GHSA) database, Vulhub, and XBEN. After a rigorous manual and automated audit to ensure execution fidelity, they retained:
- 109 seed edges (45 with strict upstream CVE annotations).
- 81 topic configurations (76 core topics + 5 bounded execution models).
- 1,387 total instances.
- ranges_v2: A separate ledger of multi-container Docker/Linux stacks used for out-of-distribution (OOD) testing and LoRA fine-tuning.
Key Insights and Ideas
- The "Boring" Logic is the Hardest Part: Frontier models like DeepSeek-v4-pro and Grok-4.7 are surprisingly good at the "security" part of the task but fail miserably when they have to navigate the "business logic" (Rungs P2-P4).
- Scaffolding vs. Intelligence: Providing a generic "Workflow Recovery Guide"—which explains how the state machine works without giving away the exploit—lifts model performance from ~15% to over 84%. This suggests the bottleneck is stateful reasoning, not security knowledge.
- Diagnostic Failure Labels: Because VAST uses structured server errors, the researchers could categorize why models failed. Most stalled at "Category 8" (protocol violations) or "Category 7" (rebinding errors), providing a roadmap for where to improve agentic reasoning.
Key Results
- Baseline Solvability: On the "Diagnostic-9" set, DeepSeek-v4-pro solved 7/9 tasks at the BASE level but 0/9 when the L6 workflow layer was added.
- Stress Testing: Even with an unlimited request budget and 500 turns, Grok-4.7 and GLM-5.3 only managed to solve 1/9 of the hardened L6 instances.
- LoRA Success: The authors experimented with fine-tuning a Qwen2.5-Coder-7B model. They found that a "Header-Recovery" SFT recipe (training the model specifically to recover after hitting a 4xx error) was significantly more effective at solving OOD tasks than a standard "Golden" SFT recipe that only saw perfect successful trajectories.
Limitations and Future Work
- Single-Container Core: While the framework supports multi-container stacks, the majority of the current core topics are single-process Python/PHP environments.
- Discoverability: The paper notes that while the API catalog is "readable," it doesn't guarantee that every required state transition is easily discoverable by an agent without trial and error.
- Future RL: VAST is designed to be "RL-ready," providing a Gymnasium-compatible environment (
VastGymEnv) for training future agents using Reinforcement Learning (like DeepSeek-R1 style GRPO) to navigate these complex security landscapes.
For more details, see the full paper: "VAST: Compiling Grounded Vulnerability Scenarios into Verifiable, Multi-Step Environments for Evaluating LLM Red-Team Agents."
Summary updated