arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2506.02548cs.CRcs.AIcs.LG
收藏

CyberGym:大规模评估AI代理的真实世界网络安全能力

CyberGym: Evaluating AI Agents' Real-World Cybersecurity Capabilities at Scale

UC Berkeley(加州大学伯克利分校)

Zhun Wang, Tianneng Shi, Jingxuan He, Matthew Cai, Jialin Zhang, Dawn Song

AI总结:

CyberGym通过大规模基准测试评估AI代理的网络安全能力,发现其在漏洞复现任务中表现有限,同时发现34个零日漏洞和18个历史未完成补丁,凸显其作为网络安全评估和实际影响平台的价值。

摘要:

AI代理在网络安全领域具有巨大潜力,但现有评估方法存在不足,因为它们基于小型基准测试并仅测量静态结果,无法捕捉真实世界安全挑战的动态范围。为解决这些问题,我们引入CyberGym,一个包含188个软件项目中1507个真实世界漏洞的大规模基准测试。CyberGym可调整不同漏洞分析设置,主要任务是让代理在仅给定漏洞文本描述和相应代码库的情况下生成漏洞证明概念测试。我们的广泛评估显示,CyberGym能够有效区分代理和模型的网络安全能力。即使表现最好的组合也仅达到约20%的成功率,表明CyberGym的整体难度。除了静态基准测试,我们还显示CyberGym导致发现34个零日漏洞和18个历史上不完整的补丁。这些结果表明,CyberGym不仅是一个衡量AI在网络安全进步的稳健基准,也是一个创造直接现实安全影响的平台。

英文摘要:

AI agents have significant potential to reshape cybersecurity, making a thorough assessment of their capabilities critical. However, existing evaluations fall short, because they are based on small-scale benchmarks and only measure static outcomes, failing to capture the full, dynamic range of real-world security challenges. To address these limitations, we introduce CyberGym, a large-scale benchmark featuring 1,507 real-world vulnerabilities across 188 software projects. Adjustable to different vulnerability analysis settings, CyberGym primarily tasks agents with generating a proof-of-concept test that reproduces a vulnerability, given only its text description and the corresponding codebase. Our extensive evaluation highlights that CyberGym effectively differentiates agents' and models' cybersecurity capabilities. Even the top-performing combinations only achieve a ~20% success rate, demonstrating the overall difficulty of CyberGym. Beyond static benchmarking, we show that CyberGym leads to the discovery of 34 zero-day vulnerabilities and 18 historically incomplete patches. These results underscore that CyberGym is not only a robust benchmark for measuring AI's progress in cybersecurity but also a platform for creating direct, real-world security impact.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑