Large language model (LLM) agents have shown promise for repository-level automated vulnerability repair (AVR), but the reliability of the evidence they produce during the repair process has received limited attention. A new paper on arXiv proposes EviRepair, a multi-agent framework that explicitly addresses this issue by adding an evidence-review stage.
EviRepair works by having agents collaboratively collect vulnerability evidence, verify its consistency, and construct a reviewed vulnerability model. This model is then used for patch synthesis and validation. The goal is to ensure that the agents' understanding of the vulnerability is sound before any patch is generated, rather than relying on potentially unreliable intermediate evidence.
The authors evaluated EviRepair on the PatchEval and SecBench benchmarks, using multiple agent frameworks and LLMs. They report that it consistently outperformed existing agent-based baselines, with average improvements in resolved rates of 16.37% on PatchEval and 40.33% on SecBench. The authors state that code is available.