mlsanityData to 7 Oct 2026

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

arXiv 2607.29422 ↗First posted 31 Jul 2026cs.SE cs.AI cs.CRcited by 1

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

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.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 18 of its 34 references that are in the map. First posted on arXiv 31 Jul 2026.

Builds on

18 of 34 references.

Closest ancestors · 7

Same direction, newest first

  1. 2025DoVer: Intervention-Driven Auto Debugging for LLM Multi-Agent Systems7 Dec
  2. 2025Which Agent Causes Task Failures and When? On Automated Failure Attribution of LLM Multi-Agent Systems30 Apr
  3. 2025Evaluating Agent-based Program Repair at Google13 Jan
  4. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agents23 Jul
  5. 2024Agentless: Demystifying LLM-based Software Engineering Agents1 Jul
  6. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May
  7. 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repair25 Mar

Other references · 11

  1. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  2. 2024AutoCodeRover: Autonomous Program Improvementcited by 272
  3. 2023Keep the Conversation Going: Fixing 162 out of 337 bugs for 0.42 each using ChatGPTcited by 125
  4. 2023DiverseVul: A New Vulnerable Source Code Dataset for Deep Learning Based Vulnerability Detectioncited by 98
  5. 2021CVEfixes: Automated Collection of Vulnerabilities and Their Fixes from Open-Source Softwarecited by 89
  6. 2025SEC-bench: Automated Benchmarking of LLM Agents on Real-World Software Security Taskscited by 69
  7. 2023ChatGPT for Vulnerability Detection, Classification, and Repair: How Far Are We?cited by 44
  8. 2021Neural Transfer Learning for Repairing Security Vulnerabilities in C Codecited by 36
  9. 2023AIBugHunter: A Practical Tool for Predicting, Classifying and Repairing Software Vulnerabilitiescited by 17
  10. 2026ARVO: Atlas of Reproducible Vulnerabilities for Open-Source Softwarecited by 8
  11. 2025Vul-R2: A Reasoning LLM for Automated Vulnerability Repaircited by 5

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026MemRepair: Hierarchical Memory for Agentic Repository-Level Vulnerability Repair
  2. 2026EviACT: An Evidence-to-Action Framework for Agentic Program Repair
  3. 2026RAVEN: Agentic RAG for Automated Vulnerability Repair
  4. 2025REFINE: Enhancing Program Repair Agents through Context-Aware Patch Refinement
  5. 2025Understanding Automated Program Repair Agents Through the Lens of Traceability: An Empirical Study
  6. 2026Multi-Perspective Agentic Program Repair via Code Property Graphs and Temporal Execution Graphs
  7. 2026ContraFix: Skill-Enhanced Contrastive Runtime Analysis for Vulnerability Repair
  8. 2026ContextSniper: AntTrail's Token-Efficient Code Memory for Repository-Level Program Repair