mlsanityData to 14 Oct 2026

Agent That Debugs: Dynamic State-Guided Vulnerability Repair

arXiv 2504.07634 ↗First posted 10 Apr 2025cs.SEcited by 7

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

  1. 2024MarsCode Agent: AI-native Automated Bug Fixing2 Sep
  2. 2024MASAI: Modular Architecture for Software-engineering AI Agents17 Jun
  3. 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repair25 Mar

Other references · 20

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  2. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
  3. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
  4. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 906
  5. 2023ExpeL: LLM Agents Are Experiential Learnerscited by 876
  6. 2024A Survey on Large Language Models for Code Generationcited by 658
  7. 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generationcited by 367
  8. 2022UniXcoder: Unified Cross-Modal Pre-training for Code Representationcited by 361
  9. 2023Towards Revealing the Mystery behind Chain of Thought: A Theoretical Perspectivecited by 294
  10. 2021CVEfixes: Automated Collection of Vulnerabilities and Their Fixes from Open-Source Softwarecited by 91
  11. 2024CodexGraph: Bridging Large Language Models and Code Repositories via Code Graph Databasescited by 65
  12. 2024NExT: Teaching Large Language Models to Reason about Code Executioncited by 63
8 more
  1. 2024LLM4Vuln: A Unified Evaluation Framework for Decoupling and Enhancing LLMs' Vulnerability Reasoningcited by 59
  2. 2023Prompt-Enhanced Software Vulnerability Detection Using ChatGPTcited by 51
  3. 2023ChatGPT for Vulnerability Detection, Classification, and Repair: How Far Are We?cited by 44
  4. 2023Explainable Automated Debugging via Large Language Model-driven Scientific Debuggingcited by 40
  5. 2021Neural Transfer Learning for Repairing Security Vulnerabilities in C Codecited by 36
  6. 2023Evaluation of ChatGPT Model for Vulnerability Detectioncited by 33
  7. 2020SeqTrans: Automatic Vulnerability Fix via Sequence to Sequence Learningcited by 11
  8. 2024CATCODER: Repository-Level Code Generation with Relevant Code and Type Contextcited by 8

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 4; 2026: 3.

7 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Debug2Fix: Can Interactive Debugging Help Coding Agents Fix More Bugs?
  2. 2024UniDebugger: Hierarchical Multi-Agent Framework for Unified Software Debugging
  3. 2025Understanding Automated Program Repair Agents Through the Lens of Traceability: An Empirical Study
  4. 2026DebugHarness: Emulating Human Dynamic Debugging for Autonomous Program Repair
  5. 2026VulnResolver: A Hybrid Agent Framework for LLM-Based Automated Vulnerability Issue Resolution
  6. 2026RAVEN: Agentic RAG for Automated Vulnerability Repair
  7. 2026AgenticRepair: Multi-Faceted Program Context Engineering for Agentic Vulnerability Repair
  8. 2025InspectCoder: Dynamic Analysis-Enabled Self Repair through interactive LLM-Debugger Collaboration