arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.13491cs.CR
收藏

EviRepair:用于可靠漏洞修复的证据驱动智能体

EviRepair: Evidence-Driven Agents for Reliable Vulnerability Repair

Nanjing University(南京大学);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);Imperial College London(伦敦帝国理工学院)

Yilian Shi, Qingyu Liu, Tianyi Zhou, Wende Tan, Chenyang Si, Yueming Lyu, Xia Hu, Dongrui Liu

AI总结:

本文提出EviRepair证据驱动多智能体框架,通过引入证据审查提升仓库级自动漏洞修复的可靠性,在PatchEval和SecBench基准上较现有基线方法分别实现16.37%和40.33%的解决率提升。

摘要:

大型语言模型(LLMs)的最新进展已使基于智能体的仓库级自动漏洞修复(AVR)方法成为可能,展现出良好的修复能力。然而,一个重要问题却未得到足够关注:如何确保修复过程中生成的证据足够可靠,以支持准确的漏洞理解和补丁生成?本文提出EviRepair,一种用于仓库级AVR的证据驱动多智能体框架。EviRepair将证据审查引入修复过程,使智能体能够协同收集漏洞证据、验证证据一致性,并构建经审查的漏洞模型以进行补丁合成与验证。在PatchEval和SecBench基准上,结合多种智能体框架与LLMs开展的大量实验表明,EviRepair始终优于现有的基于智能体的基线方法,在PatchEval和SecBench上的解决率分别实现了16.37%和40.33%的平均提升。代码可在该https URL获取。

英文摘要:

Recent advances in large language models (LLMs) have enabled agent-based approaches for repository-level automated vulnerability repair (AVR), showing promising repair capabilities. However, an important issue has received limited attention: how can we ensure that the evidence generated during the repair process is reliable enough to support accurate vulnerability understanding and patch generation? In this paper, we propose EviRepair, an evidence-driven multi-agent framework for repository-level AVR. EviRepair introduces evidence review into the repair process by enabling agents to collaboratively collect vulnerability evidence, verify evidence consistency, and construct a reviewed vulnerability model for patch synthesis and validation. Extensive experiments on PatchEval and SecBench benchmarks with multiple agent frameworks and LLMs demonstrate that EviRepair consistently outperforms existing agent-based baselines, achieving average improvements of 16.37% and 40.33% in resolved rates on PatchEval and SecBench, respectively. Codes are available at https://github.com/lly-s/EviRepair

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

↑