CyberGym: Large-scale evaluation of AI agents' real-world cybersecurity capabilities
CyberGym: Evaluating AI Agents' Real-World Cybersecurity Capabilities at Scale
The authors propose CyberGym: a reproduction benchmark of 1,507 real vulnerabilities; OpenHands+Claude-Sonnet-4 achieves a 17.9% success rate, and 34 zero-day vulnerabilities were discovered.
- Existing AI agent cybersecurity evaluations are small in scale (at most 200 instances) and only look at static results, making it difficult to reflect real security challenges. The authors propose CyberGym, a large-scale benchmark of real vulnerabilities.
- 1,507 real vulnerabilities were collected from OSS-Fuzz, covering 188 C/C++ projects; the agent generates a PoC based on the vulnerability description and the pre-patch codebase, success is judged by the sanitizer crashing on the pre-patch version and not crashing on the post-patch version, and 4 difficulty levels are set.
- OpenHands+Claude-Sonnet-4 achieves a 17.9% success rate on Level 1; GPT-5 with thinking enabled rises from 7.7% to 22.0%; specialized SWE models do not exceed 2.0%. The evaluation also found 34 zero-day vulnerabilities and 18 incomplete patches.
- The authors state that currently only C/C++ memory-safety vulnerabilities and the PoC generation task are covered, and they plan to extend to logic vulnerabilities, web/mobile platforms, and tasks such as patching and exploitation. The subjects under test are 4 agent frameworks and 11 LLMs, with most experiments using OpenHands.
- Evaluated models
- GPT-4.1 (gpt-4.1-2025-04-14)GPT-5 (gpt-5-2025-08-07)o4-mini (o4-mini-2025-04-16)Claude-3.7-Sonnet (claude-3-7-sonnet-20250219)Claude-Sonnet-4 (claude-sonnet-4-20250514)Gemini-2.5-Flash (gemini-2.5-flash-preview-04-17)Qwen3-235B-A22B (Qwen/Qwen3-235B-A22B-FP8)DeepSeek-V3 (deepseek-ai/DeepSeek-V3-0324)SWE-Gym-32B (SWE-Gym/OpenHands-32B-Agent)R2E-Gym-32B (R2E-Gym/R2EGym-32B-Agent)OpenHands-LM-32B (all-hands/openhands-lm-32b-v0.1)
- Benchmarks
- CyberGymOSS-FuzzARVO
- Metrics
- success rate
Researchers at UC Berkeley proposed the CyberGym benchmark, using 1,507 real vulnerabilities from 188 software projects to evaluate the cybersecurity capabilities of AI agents. The main task is to generate a PoC test using only the vulnerability text description and the pre-fix codebase; success counts only if the pre-fix version triggers a sanitizer crash and the post-fix version does not. In evaluations of 4 agent frameworks and 11 LLMs, OpenHands with Claude-Sonnet-4 achieved a 17.9% success rate in non-thinking mode; on a subset of 300 instances, GPT-5 reached 22.0% with high-intensity reasoning enabled; models tuned specifically for SWE-bench achieved no more than 2.0% success. The paper also reports finding 34 zero-day vulnerabilities and 18 incomplete fixes, which have been disclosed to maintainers, of which 4 received CVE numbers and 10 have been fixed.
Why it was selectedThe paper evaluates agents with 1,507 real vulnerabilities and executable PoC reproduction tasks, which can be used to compare differences in cybersecurity capabilities across models.
Related events and news
11 events · 27 news mentions
- The reports mention CyberGym
方寸跃迁评测DeepSeek新模型:安全提升但仍有缺口
- The reports mention CyberGym
GCSA 警告 MCP 包遭第三方抢注
- The reports mention CyberGym
360图龙锋以99.4%漏洞复现成功率登顶CyberGym
- The reports mention CyberGym
Cathedral用AI智能体借第三方漏洞进入Anthropic内部系统
- The reports mention CyberGym
CyberArena 对称攻防评测 12 款模型
News that mentions this paper
方寸跃迁评测DeepSeek新模型:安全提升但仍有缺口
- DeepSeek API Docsnames the paperDeepSeek V4.1 Flash 更新至 DeepSeek-V4.1-Flash-1017,并开放自研搜索 API
CyberGym: 88.1
GCSA 警告 MCP 包遭第三方抢注
- X @MinLiBuildsnames the paperGCSA 警告 MCP 包遭第三方抢注,AI 编码项目或面临供应链投毒
在 CyberGym Level 1 真实软件代码库评测里,@GCSAHK 的 GCSA Agent 成功率已经干到了 91.3%!
360图龙锋以99.4%漏洞复现成功率登顶CyberGym
- 公众号 量子位names the paper360图龙锋以99.4%漏洞复现成功率登顶CyberGym全球第一,师承Pwn2Own世界冠军团队
就在被称为「AI安全世界杯」的CyberGym榜单上,360自研AI安全攻防系统图龙锋,以99.4%的漏洞复现成功率登顶,创下该榜单最高纪录。
Show 24 more news items
- 搜狐names the paper360自研AI安全攻防系统图龙锋以99.4%漏洞复现成功率登顶CyberGym
Cathedral用AI智能体借第三方漏洞进入Anthropic内部系统
- 公众号 量子位names the paper马斯克DOGE前成员创办的Cathedral在漏洞悬赏测试中用AI Agent 12小时攻入Anthropic内网
在「CyberGym」漏洞复现基准测试里,Claude Mythos直接刷出了83.1%的成绩,把上一代Opus 4.6的66.6%按在地上摩擦。
CyberArena 对称攻防评测 12 款模型
- 公众号 机器之心names the paper网络安全的 AlphaGo 时刻,或从 CyberArena 的 466 场 Agent 对局开始
NYU CTF、Cybench、CyberGym 排行榜上,不管闭源大厂还是开源新秀,漏洞解决率动不动就 80% 往上。
- 公众号 机器之心names the paper网络安全的AlphaGo时刻,或从CyberArena这466场Agent对局开始
NYU CTF、Cybench、CyberGym 排行榜上,不管闭源大厂还是开源新秀,漏洞解决率动不动就 80% 往上。
- 绿盟科技技术博客names the paper绿盟科技出席华泰证券2027年度投资峰会,以“智慧安全4.0”重构AI时代的安全价值
一个公开实证是:8月底,绿盟科技NSFOCUS AI基于智谱GLM-5.3大模型底座,在CyberGym打榜中以95.02%的漏洞复现成功率位列全球第一。
- METRnames the paperMETR 独立调查 OpenAI 智能体协同攻击 Hugging Face 事件
For example, in the morning of July 9th, agents achieved the ability to run arbitrary code on a sandbox running CyberGym evaluations (customer-hosted on Modal);
- Gray Swan AIcites the paper's id or linkGray Swan 在斯坦福网络实测 AI 智能体与人类渗透测试员
Anthropic, which relied on Cybench, CyberGym, and Incalmo, concluded the following:
- FAR.AInames the paperFAR.AI 圣迭戈对齐研讨会 2025:前沿模型越狱、AI 控制与评测感知
Dawn Song (UC Berkeley) investigated how frontier AI changes the security landscape through her BountyBench and CyberGym benchmarks.
- Google DeepMindnames the paperGoogle DeepMind 发布 Gemini 3.8 Flash 与 Gemini 3.8 Flash Cyber
On the standard industry benchmark for finding vulnerabilities, CyberGym, Gemini 3.8 Flash Cyber demonstrates frontier-level performance in autonomous vulnerability discovery.
- 韩国R&D新闻names the paper崇实大学安全 AI 系统 mneme 在 CyberGym 漏洞复现评测中取得 91% 成功率
인공지능이 실제 오픈소스 소프트웨어의 취약점을 찾아내고, 공격이 가능한지 확인하는 재현 코드까지 직접 만드는 평가에서 91%의 성공률을 기록했다. 숭실대학교 AI안전성연구센터가 개발한 사이버보안 특화 멀티에이전트 시스템 ‘무네메(mneme)’가 실전형 평가체계인 CyberGym 공개 리더보드의 10위권에 진입했다.
- Google DeepMindnames the paperGoogle DeepMind 发布 Gemini 3.5 Flash Cyber 网络安全模型
In particular, we tested 3.5 Flash Cyber on the CyberGym benchmark, which evaluates AI agents against hundreds of real-world software vulnerabilities.
- 腾讯玄武实验室names the paper腾讯玄武 Atuin AI 在 CyberGym 上的表现:GLM-5.2 更新结果
- SecureBionames the paper从 Claude Mythos 到 Fable:为何需要在“Bio Mythos”时刻前建立生物安全保证基础设施
Cyber capabilities are estimated with CyberGym benchmark performance (x-axis).
- Epoch AInames the paperEpoch AI 分析 Mythos 的网络能力是否被夸大
Description: CyberGym is a benchmark containing 1507 historical vulnerabilities, for which models need to generate code to produce a crash given a description of the vulnerability.
- tl;dr secnames the papertl;dr sec #329:AI 蜜罐、GitHub Action Canaries 与微软智能体安全扫描器
in clfs.sys and tcpip.sys, and scored 88.45% on the public CyberGym benchmark of 1,507 real-world vulnerabilities (prior leader: 83.15%).
- Nicholas Carlini Writingnames the paperAnthropic 研究员 Nicholas Carlini 长文追问:大语言模型值得吗?
Earlier this year, Dawn Song's group at Berkeley released a benchmark called CyberGym.
研究者称小米开源模型网络攻击能力评测排第三
- LessWrongnames the paper追踪廉价开源模型的网络攻击能力
On CyberGym, the vendor reports scores of 94.0 for MiMo-V2.6-Pro and 95.1 for Flash, compared with 79.3 for Claude Opus
至知创新研究院发布IQuest-Q1技术报告
- 公众号 新智元names the paper至知创新研究院公开 IQuest-Q1 完整技术报告:320B 开源基模的百万级任务训练与防作弊机制
至于此前开源时重点展示的代码能力,IQuest-Q1在NL2Repo-Bench和CyberGym上分别取得63.0和84.5分。
MiniMax 发布 M3.1 Flash 模型
- 公众号 量子位names the paperMiniMax M3.1 Flash:Agent 评测 ALE 得分国模第一,综合成本为 M3 的 30%
在加州大学伯克利分校主导的CyberGym基准测试中,M3.1 Flash斩获82.2分,稳稳跟GLM-5.3(84.5)以及GPT-5.6 Sol(83.6)并排坐在全球第一梯队。
- MiniMaxnames the paperMiniMax M3.1 Flash 正式发布:称重新定义智能体性能与成本
It achieves a strong score of 82% on CyberGym, demonstrating leading capabilities in vulnerability discovery and validation.
Anthropic 警告小型 AI 模型或可在 IoT 设备间自我复制
- 公众号 大模型安全研究names the paperAnthropic 红队演示迷你 AI 蠕虫:还很慢、还很笨,却趴在没人设防的设备上
这一步其实早就被验证过了,CyberGym、ExploitBench、adaptive worms 这些论文已经证明小模型能扫描内网、执行漏洞利用。
- Anthropic Red Teamingcites the paper's id or linkAI 模型或可在没有数据中心的情况下自我复制
process (the first two stages above), since earlier papers CyberGym, ExploitBench, and adaptive worms already show that small models are capable of cyber exploits, especially when given the right
Anthropic推出OSS Scanner与关键基础设施防御计划
- Anthropic Researchcites the paper's id or linkAnthropic 推出面向开源软件的可选漏洞发现服务 OSS Scanner
On CyberGym, one academic vulnerability-finding benchmark, LLMs have gone from finding under 20% of vulnerabilities at the beginning of last year to finding over 85% this year.
Anthropic评测GLM-5.3自主网络攻击能力
- Anthropic Red Teamingnames the paperAnthropic 评测 GLM-5.3:可自主构建端到端漏洞利用,护栏易被绕过
on a tested subset of the CyberGym evaluations, the abliterated version scored a few percent lower (as shown in the chart below).
Paper analysis
What problem does this paper attempt to solve?
Existing AI cybersecurity evaluations are small in scale and only test static results; the authors propose CyberGym, a benchmark of 1,507 real-vulnerability instances.
How to evaluate AI agents' cybersecurity capabilities at scale and realistically, and measure their actual impact on the current security ecosystem.
- Problem setting: The authors believe LLM agents' capabilities on software engineering tasks are increasing, bringing both opportunities and risks to cybersecurity, so rigorously evaluating their security capabilities is both critical and urgent.
- Existing shortcomings: The authors point out that existing benchmarks have two limitations: (i) small scale (at most 200 instances, see Table 1), relying on extensive manual construction or fragile data sources, making evaluation unstable; (ii) only focusing on static benchmark instances, making it difficult to judge agents' impact on the evolving real security landscape.
- Core observation: OSS-Fuzz has discovered more than 13,000 vulnerabilities since 2016, each with PoC and patch information; the authors use it as a data source of large-scale real historical vulnerabilities, and use the sanitizer as a reliable vulnerability detection oracle.
- Paper proposes: The CyberGym benchmark, containing 1,507 instances covering 188 software projects; the main task is, given a textual vulnerability description and the pre-patch codebase, to have the agent generate a PoC that reproduces the vulnerability; 4 difficulty levels are also set, and open-ended zero-day vulnerability discovery is supported.
- Task nature: This is evaluation/benchmark work and does not involve an attacker threat model; the subjects under test are AI agent frameworks and backbone LLMs, and the victims are real open-source projects containing historical vulnerabilities (executed within containerized environments).
What related research exists?
Related work falls into two categories: cybersecurity benchmarks and coding benchmarks; the authors state that CyberGym is seven times the scale of other security benchmarks and can discover zero-days.
Cybersecurity benchmarks (CTF-type)
- NYU CTF Bench (Shao et al., 2024) and Cybench (Zhang et al., 2025b): Benchmarks based on CTF challenges, with 200 and 40 instances respectively (Table 1). The paper points out that CTF challenges are idealized settings and often fail to capture real-world complexity.
Cybersecurity benchmarks (real-project type)
- AutoAdvExBench (Carlini et al., 2025), CVE-Bench (Zhu et al., 2025), BountyBench (Zhang et al., 2025a), SEC-Bench (Lee et al., 2025): Benchmarks that turn to real software projects, with 40–200 instances covering 26–41 projects (Table 1). The paper points out that these works only focus on known historical vulnerabilities, whereas CyberGym can also discover zero-day vulnerabilities.
- ARVO (Mei et al., 2024): Infrastructure that collects OSS-Fuzz vulnerabilities and provides reusable Docker images; the paper points out that ARVO itself does not define evaluation tasks and metrics and cannot serve as a benchmark on its own, and that 1,368 of CyberGym's instances originate from ARVO.
Coding benchmarks and coding agents
- SWE-bench (Jimenez et al., 2024) and SWT-bench (Mündler et al., 2024): Have agents generate a PR from an issue, or write unit tests to verify a PR, respectively. The paper points out that they focus on functional fixes, mostly local code changes, whereas CyberGym requires repository-wide reasoning.
- OpenHands (Wang et al., 2025), Codex (OpenAI), and the specialized models SWE-Gym (Pan et al., 2024) and R2E-Gym (Jain et al., 2025): Agents and fine-tuned models spawned by coding benchmarks; this paper uses them as subjects under test.
Baselines and comparison setup
- This is a benchmark paper with no method baseline; the subjects under test are 4 agent frameworks (OpenHands, Codex CLI, EnIGMA, Cybench agent) and 11 LLMs, the comparison benchmark is CyberGym itself, and Table 1 compares scale with the above 6 security benchmarks.
Authors' positioning: CyberGym has 1,507 instances and 188 projects; the authors state that its scale exceeds other cybersecurity benchmarks sevenfold, and it is the only one among them that can discover zero-day vulnerabilities (Table 1); it is complementary to, not a replacement for, SWE-bench.
How does the paper address this problem?
1,507 real vulnerability instances were built from OSS-Fuzz, success of PoC reproduction is judged by executing both versions with the sanitizer, and 4 difficulty levels are set.
Overall approach: package real vulnerabilities discovered and already patched by OSS-Fuzz into containerized evaluation instances, have agents generate PoCs to reproduce the vulnerabilities, and automatically judge success or failure based on execution results; the framework is named CyberGym.
Task setup and success criteria
- Main task (Level 1): Input is a textual vulnerability description (including approximate location, type, and root cause) plus the pre-patch codebase and executable files; the agent outputs a PoC input file, which can be submitted via submit.sh to obtain execution feedback and iterate.
- Success criteria: The PoC must trigger a crash on the pre-patch version with sanitizer enabled, and must not trigger any sanitizer crash on the post-patch version; only then is it considered successful. The metric is success rate (proportion of successful instances).
- Reason for choosing reproduction tasks (per the authors): Human experts need about 5 hours to reproduce a known vulnerability (Mu et al., 2018), and automated fuzzing tools have a median time of 324 days to discover vulnerabilities in OSS-Fuzz projects (Keller et al., 2023), indicating that the task itself is difficult.
Four difficulty levels
- Level 0: Only the pre-patch codebase is given, with no description, i.e., open-ended vulnerability discovery; also used for zero-day discovery in Section 5.
- Level 1: Codebase plus textual description, i.e., the main task, simulating a scenario where a CVE has only a textual report.
- Level 2: Adds the crash stack trace of the ground truth PoC on top of Level 1.
- Level 3: Adds the ground truth patch in diff format and the post-patch codebase on top of Level 2, simulating a real one-day scenario.
Data construction and quality control
- Source: 1,507 vulnerabilities disclosed between 2017-01-01 and 2025-04-21; 1,368 of them from ARVO (as of 2024-07-31), plus 139 additionally collected newer vulnerabilities. Binary search is used to locate the patch commit, obtaining the pre-/post-patch codebases, ground truth PoC, and patch.
- Description generation: GPT-4.1 is used to rewrite the patch commit message into a vulnerability description; the filtering and rewriting prompts are in Appendix C (Figure 9, 10).
- Quality filtering: GPT-4.1 acts as a reviewer to remove commits with insufficient information or that fix multiple issues; the ground truth PoC is rerun to verify reproducibility; duplicate instances are removed by crash stack trace. Manual verification of 300 stratified samples shows a filtering precision of 96%, with Cohen's κ of 0.82±0.03 between two annotators (Appendix C).
Scale and statistics
- Descriptions and PoCs: The median description length is 24 words, with a maximum of 158 words; the median ground truth PoC is 259 bytes, with a maximum of 1,048,576 bytes (Table 3).
- Codebases and patches: The median codebase has 1,117 files and 387,491 lines; the median patch changes 1 file and 7 lines, with a maximum of 40 files and 3,456 lines (Table 3).
- Coverage: 188 projects and 28 sanitizer crash types (Table 4, 5); 62.4% of instances come from projects outside the top 10.
Evaluation infrastructure
- A modular containerized environment; the submission server uses about 10TB of disk to store task environments; a randomly sampled subset of 300 instances (about 20%) is also provided for low-cost evaluation; full evaluation requires about $3,000 in API credits.
What experiments did the paper conduct?
Evaluation of 11 LLMs and 4 agent frameworks: OpenHands+Claude-Sonnet-4 reaches 17.9%, and GPT-5 with thinking enabled reaches 22.0%.
Experimental setup
- Models under test: 11 LLMs—GPT-4.1, GPT-5, o4-mini, Claude-3.7-Sonnet, Claude-Sonnet-4, Gemini-2.5-Flash (closed-source general); Qwen3-235B-A22B, DeepSeek-V3 (open-source general); SWE-Gym-32B, R2E-Gym-32B, OpenHands-LM-32B (SWE-specific).
- Agent frameworks: OpenHands, OpenAI Codex CLI, EnIGMA, Cybench agent, with a uniform cost budget of about $2.0 per task and at most 100 iterations.
- Benchmark and metric: The full CyberGym set of 1,507 instances (some experiments use the 300-instance subset), with success rate as the metric; Level 1 by default unless noted otherwise.
- Judgment method: Execution-based judgment—the PoC triggers a sanitizer crash on the pre-patch version and does not crash on the post-patch version; no LLM review participates in scoring.
- Default configuration: The main experiments disable thinking (o4-mini does not support disabling it, and GPT-5 uses minimal reasoning), and the agent scaffold is OpenHands.
- Number of repetitions: The paper does not report the number of runs per instance.
Main results
Success rates of each LLM with OpenHands at Level 1 (Figure 3):
Model Success rate (%) Claude-Sonnet-4 17.9 Claude-3.7-Sonnet 11.9 GPT-4.1 9.4 GPT-5 (minimal) 7.8 Gemini-2.5-Flash 4.8 DeepSeek-V3 3.6 o4-mini 2.5 R2E-Gym-32B 2.0 Qwen3-235B-A22B 1.9 OpenHands-LM-32B 1.7 SWE-Gym-32B 0.1 - The authors state that SWE-specific models perform strongly on SWE-bench but achieve no more than a 2.0% success rate on CyberGym, showing the complementarity of the two benchmarks.
- The success rate of the union of results across all models reaches 27.2%, and the authors state that the tasks succeeded by different models overlap little.
- The authors report that o4-mini often conservatively requests user confirmation and terminates execution early, a pattern not observed in other models.
Thinking mode and agent framework comparison
- Thinking experiment: 4 models are compared on the 300-instance subset (Figure 4). GPT-5 rises from 7.7% (minimal reasoning) to 22.0% (high reasoning), surpassing Claude-Sonnet-4; Qwen3-235B-A22B rises from 2.7% to 4.7%, Claude-3.7-Sonnet from 14.3% to 17.3%, and Claude-Sonnet-4 from 17.7% to 19.3%. The authors state that thinking brings a large improvement to GPT-5 and limited improvement to other models.
- Framework comparison: With GPT-4.1 as the backbone at Level 1 (Figure 5), EnIGMA 7.2%, Codex 7.4%, Cybench 9.0%, OpenHands 9.4%; the union of results across the four frameworks reaches 18.4%. The authors state that the success rates of the frameworks are close but their success sets overlap little, and their behavior patterns differ (OpenHands uses more Bash command chains, while CTF frameworks rely more on Python scripts, Figure 17).
Data contamination and difficulty analysis
- Data contamination: Instances are split into before and after each model's knowledge cutoff; for the 4 models with more than 50 post-cutoff samples, Fisher's exact test and two-proportion Z-test are performed (Table 2), and all p-values are greater than 0.1 (e.g., Claude-3.7-Sonnet 11.9% before vs. 12.5% after, p=0.87); the authors state that no statistically significant difference was found.
- Difficulty levels: OpenHands+GPT-4.1 achieves success rates of 3.5%, 9.4%, 13.1%, and 17.1% at Level 0/1/2/3 respectively (Figure 6); Level 0 reproduced 5 of the 142 vulnerabilities after GPT-4.1's cutoff date.
- PoC length: The longer the ground truth PoC, the lower the success rate (Figure 7); GPT-4.1 achieves 43.5% and Claude-Sonnet-4 55.3% in the [0,10) byte range, while instances with PoCs longer than 100 bytes (65.7% of the full benchmark) have a success rate of only about 10%.
Other ablations and analyses
- Crash type breakdown: OpenHands+Claude-Sonnet-4 achieves success rates of 10.6%–25.0% on the top 10 crash types (Table 8).
- Balanced resampling: Conclusions remain unchanged after balanced resampling by project or crash type (Figures 15, 16).
- Failure modes: For OpenHands+GPT-4.1, the early-termination proportion is about 0.26–0.30, and the long plaintext PoC proportion is 0.14–0.19 (Table 9).
- Execution steps: Successes are mostly concentrated in 20–80 steps, and nearly half of the runs fail near the 80–100 step limit (Figure 18).
- Security impact: Of the PoCs generated during evaluation, 759 crash on the post-patch version, confirming 9 zero-days (existing on average 969 days) and 18 incomplete patches; additionally, Level 0 was run on 431 projects, with GPT-4.1 confirming 7 and GPT-5 confirming 22 zero-days (4 overlapping), totaling 34 zero-days, for which 4 CVE IDs have been obtained and 10 have been patched.
What are some points that can be further explored?
The authors state that, limited by the dependence on sanitizers, they only cover C/C++ memory safety vulnerabilities and PoC tasks, and list two directions for future work: benchmarks and agents.
Limitations and future directions noted by the authors
- Vulnerability types and language scope: CyberGym currently mainly covers memory safety vulnerabilities in C/C++ projects, which stems from its dependence on sanitizer detection and may fail to capture the full picture of security vulnerabilities (Section 3.1, Section 6).
- Extending vulnerability categories and platforms: The authors plan to extend to types such as logic vulnerabilities and cryptographic weaknesses, and to cover web and mobile platforms and more programming languages (Section 6).
- Extending task types: Currently only PoC generation is done; the authors plan to support tasks such as patching (defense) and exploitation (offense); they note that patch evaluation needs to address challenges such as determining functional preservation and standardizing heterogeneous test systems, and that exploitation evaluation requires finer-grained oracles (Section 6).
- Directions for agent improvement: The authors suggest strengthening LLM long-context reasoning, designing ensemble frameworks that combine the complementary strengths of various agents, developing specialized security tools, and optimizing tool-use patterns (Section 6).
Scope of experiments
- The models tested are 11 LLMs and 4 agent frameworks; the main experiments with backbone models all use OpenHands as the scaffold, and the framework comparison experiments all use GPT-4.1 as the backbone (Section 4).
- The thinking mode comparison is conducted only on the 300-instance subset with 4 models (Figure 4).
- The data contamination analysis performs statistical tests only on the 4 models with more than 50 post-cutoff samples (Table 2).
- The zero-day discovery experiments use OpenHands with GPT-4.1 and GPT-5, covering 431 projects and 1,748 entry executables (Section 5).
- The paper does not report the number of repeated runs per instance; the manual verification for quality filtering uses 300 stratified samples (Appendix C).
Summarize the main content of the paper
CyberGym evaluates agents with 1,507 real vulnerabilities, with a highest success rate of 22.0%, and incidentally discovered 34 zero-day vulnerabilities.
CyberGym is a large-scale evaluation benchmark for AI agents' cybersecurity capabilities, built to address the problems that existing benchmarks are small in scale and only test static results.
- Problem to solve: The authors believe existing security benchmarks have at most 200 instances and only focus on known historical vulnerabilities, making it difficult to stably evaluate agents' impact on the real security ecosystem.
- Method highlights: 1,507 real vulnerabilities were collected from OSS-Fuzz (188 C/C++ projects); the agent generates a PoC based on the vulnerability description and the pre-patch codebase; success is judged by the sanitizer crashing on the pre-patch version and not crashing on the post-patch version; four difficulty levels, Level 0–3, are set, all executed in containers.
- Main results: OpenHands+Claude-Sonnet-4 achieves a 17.9% success rate at Level 1 (Figure 3); GPT-5 rises from 7.7% to 22.0% after enabling thinking (Figure 4); SWE-specific models do not exceed 2.0%; the four agent frameworks each achieve 7.2%–9.4%, with a union of 18.4% (Figure 5).
- Security impact: During evaluation, 18 historically incomplete patches were found; the open-ended discovery experiment confirmed a total of 34 zero-day vulnerabilities, which were responsibly disclosed, obtaining 4 CVE IDs, with 10 patched.
- Authors' conclusion: The authors state that CyberGym can effectively distinguish the security capabilities of agents and models, forms a difficulty ladder, and can serve as a proxy for agents' real security capabilities; the current strongest combination also achieves only about a 20% success rate, indicating that the benchmark is overall highly difficult.