ExploitGym: Can AI Agents Turn Security Vulnerabilities into Real Attacks?

Agent Agent Eval Benchmarks AI Safety / AI Ethics PIAAP MBDSF
人工智能代理正迅速提升其能力,可能深刻重塑网络安全格局,因此亟需开展严谨的评估。其中一项关键能力是“漏洞利用”(exploitation):即把一个尚不具备攻击性质的漏洞,转化为具有实际安全影响的具体攻击行为,例如未授权访问文件或执行任意代码。漏洞利用是一项极具挑战性的任务,因为它不仅要求对程序进行底层推理(例如理解内存布局),还需在运行时动态调整策略,并在较长的任务周期内持续取得进展。与此同时,该能力天然具有“双重用途”特性——既可支撑防御性工作流程,也会降低攻击者的实施门槛。尽管漏洞利用至关重要,且对评估模型能力具有极高的诊断价值,目前却仍缺乏系统性的评测。为填补这一空白,我们推出了ExploitGym:一个面向人工智能代理漏洞利用能力的大规模、多样化、高保真基准测试平台。给定一个可触发漏洞的程序输入,ExploitGym要求代理逐步扩展该输入,最终构造出一个完整可用的漏洞利用载荷(working exploit)。该基准共包含898个实例,全部源自真实世界中的安全漏洞,覆盖三大领域:用户态程序、谷歌V8 JavaScript引擎以及Linux内核。我们对每个实例施加不同组合的安全防护机制(如ASLR、Stack Canary、SMAP等),以独立评估各类防护措施对代理性能的实际影响。所有测试配置均封装于可复现的容器化环境中。我们的评估结果表明,尽管漏洞利用仍属高难度任务,当前前沿大模型已能成功利用相当比例的真实漏洞。例如,表现最强的两个配置分别为Anthropic公司最新发布的Claude Mythos Preview模型与OpenAI的GPT-5.5模型,二者分别成功生成了157个和120个可用的漏洞利用载荷。尤为值得注意的是,即便在启用业界广泛部署的各类安全防护机制的情况下,模型依然保持了不可忽视的成功率。这些结果充分验证了ExploitGym作为漏洞利用能力评测平台的有效性,同时也凸显出日益强大的人工智能代理所带来的不断加剧的网络安全风险。
AI agents are rapidly gaining capabilities that could significantly reshape cybersecurity, making rigorous evaluation urgent. A critical capability is exploitation: turning a vulnerability, which is not yet an attack, into a concrete security impact, such as unauthorized file access or code execution. Exploitation is a particularly challenging task because it requires low-level program reasoning (e.g., about memory layout), runtime adaptation, and sustained progress over long horizons. Meanwhile, it is inherently dual-use, supporting defensive workflows while lowering the barrier for offense. Despite its importance and diagnostic value, exploitation remains under-evaluated. To address this gap, we introduce ExploitGym, a large-scale, diverse, realistic benchmark on the exploitation capabilities of AI agents. Given a program input that triggers a vulnerability, ExploitGym tasks agents with progressively extending it into a working exploit. The benchmark comprises 898 instances sourced from real-world vulnerabilities across three domains, including userspace programs, Google's V8 JavaScript engine, and the Linux kernel. We vary the security protections applied to each instance, isolating their impact on agent performance. All configurations are packaged in reproducible containerized environments. Our evaluation shows that while exploitation remains challenging, frontier models can successfully exploit a non-trivial fraction of vulnerabilities. For example, the strongest configurations are Anthropic's latest model Claude Mythos Preview and OpenAI's GPT-5.5, which produce working exploits for 157 and 120 instances, respectively. Notably, even with widely used defenses enabled, models retain non-trivial success rates. These results establish ExploitGym as an effective testbed for exploitation and highlight the growing cybersecurity risks posed by increasingly capable AI agents.
许愿