← Lab /Security & privacy

Evidence-driven agents boost automated vulnerability repair success rates

EviRepair improves resolved rates of repository-level automated vulnerability repair

Security & privacy arXiv 9 Oct 2026 Method Prototype evidence

Published as “EviRepair: Evidence-Driven Agents for Reliable Vulnerability Repair”

Why it matters

Incorporating evidence review into LLM-based vulnerability repair can substantially raise patch success rates, especially for complex bugs where the fix location differs from the crash point.

Summary

EVIREPAIR improves automated vulnerability repair, achieving average resolved-rate gains of 16.37% on PatchEval and 40.33% on SecBench over strong agent baselines. The paper reports consistent improvements across three LLM backbones and multiple language subsets, with ablations confirming the benefit of its two-stage, evidence-review design. However, the advantage disappears on multi-file patches and on a few language/backbone combos where baselines perform better.

What they found 4

  1. EVIREPAIR achieves a resolved rate of 89.13% on PatchEval overall with the DeepSeek-4.1-Flash backbone.

    “EVIREPAIR DeepSeek-4.1-Flash 91.57% 94.29% 81.82% 89.13%”

  2. The framework improves resolved rates by 16.37% on PatchEval and 40.33% on SecBench compared to existing agent baselines.

    “achieving average improvements of 16.37% and 40.33% in resolved rates on PatchEval and SecBench, respectively.”

  3. Removing both diagnosis and synthesis multi-agent stages drops performance from 73.04% to 60.87% (a 12.17-point loss).

    “replacing both reduces it to 60.87% (-12.17 points).”

  4. Even with the smallest backbone (Qwen3.8-27B), EVIREPAIR resolves 75.22% of PatchEval tasks, surpassing baselines that use larger models.

    “With this backbone, EVIREPAIR resolves 75.22% of PatchEval tasks, exceeding both baselines not only on Qwen3.8-27B but also on the larger GLM-5.2 (67.39% and 60.87%).”

Caveats 5

  • The only setting in which the advantage does not hold is repairs spanning three or more files, which account for only 7 of the 230 tasks. On these tasks, OpenCode performs best, and EVIREPAIR resolves none of those requiring four or more files.
  • the only exceptions are JavaScript with DeepSeek-4.1-Flash and OSS-Fuzz with Qwen3.8-27B, where OpenCode performs better.
  • The evaluation is limited to PatchEval and SEC-bench, which may not reflect the full diversity of vulnerabilities, languages, repositories, and deployment environments.
  • security assessment is restricted to benchmark-level validation, so the reported results do not guarantee complete vulnerability elimination, absence of regressions, or long-term maintainability.
  • The multi-agent design also incurs extra model calls, latency, and monetary costs.

What’s new here 4

  • Introduces an explicit evidence consistency review stage between diagnosis and patch synthesis.
  • Uses specialized agents to collect and verify reachability, reproducer, and security-boundary evidence before patch generation.
  • Separates vulnerability diagnosis from patch synthesis via a reviewed Vulnerability Model that serves as a formal specification.
  • Demonstrates that structured evidence can compensate for weaker LLM backbones.