Daily Tech Briefing
AI 科技速览

每天 5 分钟内学习 AI。获取最新的人工智能新闻,理解其重要性,并学习如何将其应用于您的工作。

AI 快讯
arXiv AI · 2026/7/31 13:42:51

AgenticRepair: Multi-Faceted Program Context Engineering for Agentic Vulnerability Repair

AI 中文解读
核心亮点:AI修复软件漏洞的成功率从44%飙升到73%,靠的不是更聪明的模型,而是让AI学会像安全专家一样多角度“观察”漏洞。 通俗解读:以前AI修漏洞像只听病人说“头疼”,就开止痛药,容易误诊。现在这套系统给AI配了三个“侦察兵”:一个翻代码找问题根源,一个跑程序看实际崩溃现场,还有一个查历史记录看漏洞怎么混进来的。三个侦察兵的情报汇总给“主治医生”AI,它再开药方,自然准确多了。 实际影响:软件更新会更安全高效。过去安全团队修一个漏洞可能要几天,现在AI几分钟就能拿出方案,人工只用确认最终结果。这意味着你用的网银、社交软件里的安全补丁上线更快,个人信息被黑客利用的窗口期大大缩短,日常数字生活更有保障。
Automated vulnerability repair aims to reduce the time and effort required to patch security flaws from a vulnerability triage report. Recent agentic AI approaches have shown promising results in automated program repair. However, vulnerability repair demands richer program context than general bug repair - context that security engineers routinely assemble in practice but that existing agentic approaches do not engineer. We identify three critical gaps: code-structure context capturing cross-file data flows and memory operation patterns, runtime-execution context revealing crash semantics and memory origins, and commit-history context recovering how fragile code patterns were introduced. We present AgenticRepair, an agentic vulnerability repair framework that addresses the gaps through multi-faceted program context engineering. AgenticRepair orchestrates three specialized LLM subagents to engineer the contexts, which are then embedded into the memory of a dedicated repair subagent for context-conditioned patch synthesis. Evaluated on SEC-Bench comprising 300 real-world instances with sanitizer-based patch verification, AgenticRepair achieves a 73% success rate, substantially outperforming the strongest baseline by 29%. Our ablation study confirms that the three context facets are mutually complementary, and that multi-agent scaffolding and base-model capacity each play an essential role. Collectively, these findings establish multi-faceted program context engineering as a promising design direction for agentic vulnerability repair.
分享
阅读原文