Agent That Debugs: Dynamic State-Guided Vulnerability Repair
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
In recent years, more vulnerabilities have been discovered every day, while manual vulnerability repair requires specialized knowledge and is time-consuming. As a result, many detected or even published vulnerabilities remain unpatched, thereby increasing the exposure of software systems to attacks. Recent advancements in agents based on Large Language Models have demonstrated their increasing capabilities in code understanding and generation, which can be promising to achieve automated vulnerability repair. However, the effectiveness of agents based on static information retrieval is still not sufficient for patch generation. To address the challenge, we propose a program repair agent called VulDebugger that fully utilizes both static and dynamic context, and it debugs programs in a manner akin to humans. The agent inspects the actual state of the program via the debugger and infers expected states via constraints that need to be satisfied. By continuously comparing the actual state with the expected state, it deeply understands the root causes of the vulnerabilities and ultimately accomplishes repairs. We experimentally evaluated VulDebugger on 50 real-life projects. With 60.00% successfully fixed, VulDebugger significantly outperforms state-of-the-art approaches for vulnerability repair.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 23 of its 53 references that are in the map. First posted on arXiv 10 Apr 2025.
Builds on
23 of 53 references.
Closest ancestors · 3
Same direction, newest first
- 2024MarsCode Agent: AI-native Automated Bug Fixing2 Sep
- 2024MASAI: Modular Architecture for Software-engineering AI Agents17 Jun
- 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repair25 Mar
Other references · 20
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
- 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 906
- 2023ExpeL: LLM Agents Are Experiential Learnerscited by 876
- 2024A Survey on Large Language Models for Code Generationcited by 658
- 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generationcited by 367
- 2022UniXcoder: Unified Cross-Modal Pre-training for Code Representationcited by 361
- 2023Towards Revealing the Mystery behind Chain of Thought: A Theoretical Perspectivecited by 294
- 2021CVEfixes: Automated Collection of Vulnerabilities and Their Fixes from Open-Source Softwarecited by 91
- 2024CodexGraph: Bridging Large Language Models and Code Repositories via Code Graph Databasescited by 65
- 2024NExT: Teaching Large Language Models to Reason about Code Executioncited by 63
8 more
- 2024LLM4Vuln: A Unified Evaluation Framework for Decoupling and Enhancing LLMs' Vulnerability Reasoningcited by 59
- 2023Prompt-Enhanced Software Vulnerability Detection Using ChatGPTcited by 51
- 2023ChatGPT for Vulnerability Detection, Classification, and Repair: How Far Are We?cited by 44
- 2023Explainable Automated Debugging via Large Language Model-driven Scientific Debuggingcited by 40
- 2021Neural Transfer Learning for Repairing Security Vulnerabilities in C Codecited by 36
- 2023Evaluation of ChatGPT Model for Vulnerability Detectioncited by 33
- 2020SeqTrans: Automatic Vulnerability Fix via Sequence to Sequence Learningcited by 11
- 2024CATCODER: Repository-Level Code Generation with Relevant Code and Type Contextcited by 8
Built on by
Citing papers per year: 2025: 4; 2026: 3.
7 papers.
- 2025LLM-based Agentic Reasoning Frameworks: A Survey from Methods to Scenarioscited by 26
- 2025FalseCrashReducer: Mitigating False Positive Crashes in OSS-Fuzz-Gen Using Agentic AIcited by 2
- 2026EvoRepair: Enhancing Vulnerability Repair Agents Through Experience-Based Self-Evolutioncited by 2
- 2025Collaborative Agents for Automated Program Repair in Rubycited by 1
- 2026Empowering Autonomous Debugging Agents with Efficient Dynamic Analysiscited by 1
- 2025Repeton: Structured Bug Repair with ReAct-Guided Patch-and-Test Cyclescited by 0
- 2026MemRepair: Hierarchical Memory for Agentic Repository-Level Vulnerability Repaircited by 0
- 2026EvoRepair: Enhancing Vulnerability Repair Agents Through Experience-Based Self-Evolution28 May 2026
- 2026MemRepair: Hierarchical Memory for Agentic Repository-Level Vulnerability Repair17 May 2026
- 2026Empowering Autonomous Debugging Agents with Efficient Dynamic Analysis27 Apr 2026
- 2025Collaborative Agents for Automated Program Repair in Ruby6 Nov 2025
- 2025FalseCrashReducer: Mitigating False Positive Crashes in OSS-Fuzz-Gen Using Agentic AI2 Oct 2025
- 2025LLM-based Agentic Reasoning Frameworks: A Survey from Methods to Scenarios25 Aug 2025
- 2025Repeton: Structured Bug Repair with ReAct-Guided Patch-and-Test Cycles9 Jun 2025
Similar, not cited
Close in wording, no citation either way
- 2026Debug2Fix: Can Interactive Debugging Help Coding Agents Fix More Bugs?
- 2024UniDebugger: Hierarchical Multi-Agent Framework for Unified Software Debugging
- 2025Understanding Automated Program Repair Agents Through the Lens of Traceability: An Empirical Study
- 2026DebugHarness: Emulating Human Dynamic Debugging for Autonomous Program Repair
- 2026VulnResolver: A Hybrid Agent Framework for LLM-Based Automated Vulnerability Issue Resolution
- 2026RAVEN: Agentic RAG for Automated Vulnerability Repair
- 2026AgenticRepair: Multi-Faceted Program Context Engineering for Agentic Vulnerability Repair
- 2025InspectCoder: Dynamic Analysis-Enabled Self Repair through interactive LLM-Debugger Collaboration