arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.03012cs.CRcs.AI
收藏

CVE-Factory:规模化专家级代码安全漏洞智能体任务

CVE-Factory: Scaling Expert-Level Agentic Tasks for Code Security Vulnerability

Harbin Institute of Technology (HIT)(哈尔滨工业大学);Central South University (CSU)(中南大学);University of Science and Technology of China (UTSC)(中国科学技术大学)

Xianzhen Luo, Jingyuan Zhang, Shiqi Zhou, Jinyang Huang, Chuan Xiao, Qingfu Zhu, Zhiyuan Ma, Xing Yue, Yang Yue, Wencong Zeng, Wanxiang Che

AI总结:

提出CVE-Factory多智能体框架,自动将稀疏CVE元数据转化为可执行的智能体任务,构建持续更新的基准LiveCVEBench和训练数据集,微调模型性能显著提升。

摘要:

评估和改进代码智能体的安全能力需要高质量、可执行的漏洞任务。然而,现有工作依赖昂贵且不可扩展的人工复现,并受限于过时的数据分布。为解决这些问题,我们提出了CVE-Factory,这是首个实现专家级质量的多智能体框架,能够自动将稀疏的CVE元数据转化为完全可执行的智能体任务。与人类专家复现的交叉验证表明,CVE-Factory实现了95%的解决方案正确性和96%的环境保真度,证实了其专家级质量。该框架还在最新的真实漏洞上进行了评估,达到了66.2%的验证成功率。这种自动化带来了两个下游贡献。首先,我们构建了LiveCVEBench,一个持续更新的基准测试,包含190个任务,涵盖14种语言和153个仓库,捕获了包括AI工具漏洞在内的新兴威胁。其次,我们合成了超过1000个可执行的训练环境,这是代码安全领域智能体任务的首次大规模扩展。微调后的Qwen3-32B在LiveCVEBench上的性能从5.3%提升到35.8%,超过了Claude 4.5 Sonnet,并且这些提升泛化到了Terminal Bench(从12.5%到31.3%)。我们开源了CVE-Factory、LiveCVEBench、Abacus-cve(微调模型)、训练数据集和排行榜。所有资源可在https://github.com/livecvebench/CVE-Factory获取。

英文摘要:

Evaluating and improving the security capabilities of code agents requires high-quality, executable vulnerability tasks. However, existing works rely on costly, unscalable manual reproduction and suffer from outdated data distributions. To address these, we present CVE-Factory, the first multi-agent framework to achieve expert-level quality in automatically transforming sparse CVE metadata into fully executable agentic tasks. Cross-validation against human expert reproductions shows that CVE-Factory achieves 95\% solution correctness and 96\% environment fidelity, confirming its expert-level quality. It is also evaluated on the latest realistic vulnerabilities and achieves a 66.2\% verified success. This automation enables two downstream contributions. First, we construct LiveCVEBench, a continuously updated benchmark of 190 tasks spanning 14 languages and 153 repositories that captures emerging threats including AI-tooling vulnerabilities. Second, we synthesize over 1,000 executable training environments, the first large-scale scaling of agentic tasks in code security. Fine-tuned Qwen3-32B improves from 5.3\% to 35.8\% on LiveCVEBench, surpassing Claude 4.5 Sonnet, with gains generalizing to Terminal Bench (12.5\% to 31.3\%). We open-source CVE-Factory, LiveCVEBench, Abacus-cve (fine-tuned model), training dataset, and leaderboard. All resources are available at https://github.com/livecvebench/CVE-Factory .

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

↑