Large language models (LLMs) are increasingly being deployed as software engineering agents that autonomously contribute to repositories. A major benefit these agents present is their ability to find and patch security vulnerabilities in the codebases they oversee. To estimate the capability of agents in this domain, we introduce ZeroDayBench, a benchmark where LLM agents find and patch 22 novel critical vulnerabilities in open-source codebases. We focus our efforts on three popular frontier agentic LLMs: GPT-5.2, Claude Sonnet 4.5, and Grok 4.1. We find that frontier LLMs are not yet capable of autonomously solving our tasks and observe some behavioral patterns that suggest how these models can be improved in the domain of proactive cyberdefense.
Figures & tables
Figure 1: Overview of ZeroDayBench . The LLM agent is provided task file(s) and interacts with the necessary codebase in a dockerized container environment before testing/evaluation.
Software
CVE ID
Type
Vulnerability Description
MLFlow
CVE-2019-7164
SQL Injection
Malicious order_by clauses injected via text() allow arbitrary SQL execution.
MLFlow
CVE-2024-9053
RCE (Deserialization)
Unsafe cloudpickle.loads() in RPC server executes arbitrary code from malicious scorers.
MLFlow
CVE-2021-21300
Command Injection
Unsafe subprocess.run(shell=True) in git cloning allows shell injection via crafted URIs.
MLFlow
CVE-2024-3660
RCE (Deserialization)
Loading models with malicious Keras Lambda layers executes bytecode via marshal.loads() .
MLFlow
CVE-2020-11978
Command Injection
Malicious JSON configs in Airflow DAGs are interpolated into shell commands without sanitization.
Flyte
CVE-2021-37678
RCE (Deserialization)
yaml.unsafe_load() processes configs with Python object instantiation tags.
Table 1: Summary of task examples. Full details can be found in the Appendix.
Figure 2: Pass rates by model and difficulty.
Difficulty
Claude
GPT
Grok
zero-day
12.8%
14.4%
12.1%
cwe
32.9%
32.9%
18.0%
post-exploit
60.7%
43.0%
36.6%
one-day
78.0%
74.6%
44.7%
full-info
95.7%
76.2%
58.8%
Overall
56.0%
48.2%
34.0%
Table 2: Average pass rates by difficulty
Figure 3: Failure types for each model.
Claude
GPT
Grok
Difficulty
Tool Calls
Cost
Tool Calls
Cost
Tool Calls
Cost
zero-day
45.3
$0.75
54.4
$0.41
39.4
$0.04
cwe
41.6
$0.69
48.1
$0.36
37.9
$0.04
post-exploit
35.2
$0.52
25.5
$0.19
27.9
$0.02
one-day
25.5
$0.41
22.8
$0.17
11.3
$0.01
full-info
24.7
$0.37
20.5
$0.15
11.1
$0.01
Table 3: Average number of tool calls and cost per rollout by difficulty level
Difficulty
Claude
GPT-5.2
Grok
zero-day
0/10 (0%)
4/10 (40%)
6/10 (60%)
cwe
8/10 (80%)
8/10 (80%)
9/10 (90%)
post-exploit
10/10 (100%)
10/10 (100%)
10/10 (100%)
one-day
10/10 (100%)
10/10 (100%)
10/10 (100%)
full-info
10/10 (100%)
10/10 (100%)
10/10 (100%)
Table 4: Pass rates by difficulty for MLFlow CVE-2021-21300.
Difficulty
Claude
GPT
Grok
zero-day
0/10 (0%)
0/10 (0%)
1/10 (10%)*
cwe
5/10 (50%)
0/10 (0%)
0/10 (0%)
post-exploit
6/10 (60%)
0/10 (0%)
2/10 (20%)
one-day
10/10 (100%)
0/10 (0%)
2/10 (20%)
full-info
10/10 (100%)
0/10 (0%)
1/10 (10%)*
Table 5: Pass rates by difficulty for Jenkins CVE-2022-29078.
Large language models (LLMs) now support automated software security tasks, including vulnerability discovery and proof-of-concept (PoC) generation. Existing benchmarks do not faithfully evaluate LLMs in real-world bug hunting scenarios because they rely on fuzzing harnesses, target-specific descriptions, or vulnerability-reproduction tasks. We present SEC-bench Pro, a benchmark for measuring agent bug hunting on critical, high-complexity software systems. This work discloses reports with concrete PoC inputs and links fixes into reproducible tasks through a three-phase pipeline for vulnerability collection, environment reconstruction, and oracle-based validation. We instantiate SEC-bench Pro with 183 validated vulnerabilities across V8 and SpiderMonkey, including a V8 subset with more than $1.5 million in cumulative Google Vulnerability Reward Program awards. These instances span memory-safety, sandbox, JIT, and race-condition bugs under browser-grade and runtime-grade execution conditions. Our evaluation shows that coding agents with frontier models remain below 40% success on both evaluated engines. The open-weight Kimi-K2.6 baseline reaches 11.7% on V8, while the strongest frontier configuration reaches 32.0% on V8 and 38.8% on SpiderMonkey. ClaudeCode and Codex solve complementary instance sets, and their two-agent union reaches 37.9% on V8 and 48.8% on SpiderMonkey. SEC-bench Pro provides robust environments for assessing LLM-based security agents and exposes limitations in long-horizon bug hunting tasks.
Despite recent advances, frontier large language model (LLM) agents remain limited in discovering and patching complex vulnerabilities in real-world software. Generally available agents can already aid attackers, who only need to find one exploitable weakness, while defenders must continuously identify and patch all vulnerabilities across fast-growing codebases. Stronger defensive agents would help close this gap, yet the scarcity of security training data with reproducible build and execution environments remains a bottleneck. We present CyberForge, a framework that synthesizes executable, repository-level security training data by injecting vulnerabilities into real C/C++ projects. It validates each instance dynamically: the injected build must pass the project's unit tests, and generated proof-of-vulnerability (PoV) must trigger on the injected build and not on the clean one. CyberForge is not limited by the availability of disclosed vulnerabilities, therefore it can scale in comparison to data augmentation techniques which rely on historic CVE data. The resulting corpus holds 1034 validated vulnerabilities across 80 projects and 63 weakness categories, with edit locality similar to real CVE patches under a real-versus-real noise floor. Fine-tuning on trajectories collected over this corpus improves SEC-bench patch repair by +3.3 to +14.7 points, in all six configurations of three model scales and two teachers, with the 31B student reaching its GPT-5.4-mini teacher, 72.7% against 74.0%. These gains generalize out of distribution to PatchEval, a corpus containing other programming languages, where every configuration also improves and the 31B student passes its teacher.
Amine Lbath, Manan Suri, Aurelien Delaitre +4
National Institute of Standards and Technology · Université Grenoble Alpes, CNRS · University of Maryland, College Park
The advent of agentic vulnerability detection is already becoming a watershed moment for software security. Audits conducted entirely by autonomous LLM agents are uncovering critical vulnerabilities in fundamental software underpinning digital society. Many of these vulnerabilities remained masked for years, surfacing only now with AI agents. Yet the reasoning behind these discoveries remains alarmingly opaque and unvalidated. What assumptions did the agent make about a function's inputs when it deemed that function to be secure? Failures in reasoning and incorrect assumptions can lead to missed vulnerabilities and reduce trust in agentic analysis. We propose a security-specification-first paradigm that (1) exposes the agent's tacit assumptions explicitly as security specifications and (2) continuously refines those specifications via runtime falsification. We realize our approach in Code-Augur, a novel harness for agentic vulnerability detection. Given a codebase, Code-Augur analyzes each component of the system for vulnerable code. When it deems a component to be secure, it commits the local invariants behind that judgment as in-source assertions. In parallel, Code-Augur leverages a guided fuzzer to attempt to falsify those assumptions. When the fuzzer triggers an assertion, this either reveals a genuine vulnerability or a flawed specification to refine. In both cases, this process grounds the agent's understanding, aligning its view of code intent with how the code actually behaves. On real-world subjects, Code-Augur effectively leverages security specifications to detect more vulnerabilities than other state-of-the-art agents. Additionally, Code-Augur found 22 new vulnerabilities in key open-source projects. Compared to curated specialized models like Claude Mythos, Code-Augur offers effective agentic vulnerability detection built on widely available LLMs like Sonnet and DeepSeek.