A Case Study of LLM for Automated Vulnerability Repair: Assessing Impact of Reasoning and Patch Validation Feedback
Not on the map. Why?
Abstract (arXiv)
Recent work in automated program repair (APR) proposes the use of reasoning and patch validation feedback to reduce the semantic gap between the LLMs and the code under analysis. The idea has been shown to perform well for general APR, but its effectiveness in other particular contexts remains underexplored. In this work, we assess the impact of reasoning and patch validation feedback to LLMs in the context of vulnerability repair, an important and challenging task in security. To support the evaluation, we present VRpilot, an LLM-based vulnerability repair technique based on reasoning and patch validation feedback. VRpilot (1) uses a chain-of-thought prompt to reason about a vulnerability prior to generating patch candidates and (2) iteratively refines prompts according to the output of external tools (e.g., compiler, code sanitizers, test suite, etc.) on previously-generated patches. To evaluate performance, we compare VRpilot against the state-of-the-art vulnerability repair techniques for C and Java using public datasets from the literature. Our results show that VRpilot generates, on average, 14% and 7.6% more correct patches than the baseline techniques on C and Java, respectively. We show, through an ablation study, that reasoning and patch validation feedback are critical. We report several lessons from this study and potential directions for advancing LLM-empowered vulnerability repair
Key facts. Cited by 22 papers in the map (data through 7 Oct 2026). First posted on arXiv 24 May 2024.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2024: 2; 2025: 9; 2026: 11.
22 papers.
Sort:
By area:
- 2025LLM-Powered AI Agent Systems and Their Applications in Industrycited by 22
- 2025Frontier AI's Impact on the Cybersecurity Landscapecited by 21
- 2024CTINexus: Automatic Cyber Threat Intelligence Knowledge Graph Construction Using Large Language Modelscited by 12
- 2024From Vulnerabilities to Remediation: A Systematic Literature Review of LLMs in Code Securitycited by 9
- 2026SGAgent: Suggestion-Guided LLM-Based Multi-Agent Framework for Repository-Level Software Repaircited by 9
- 2025OCR-APT: Reconstructing APT Stories from Audit Logs using Subgraph Anomaly Detection and LLMscited by 6
- 2025Raw Pointer Rewriting with LLMs for Translating C to Safer Rustcited by 4
- 2026AgenticVM: Agentic AI for Adaptive Software Vulnerability Managementcited by 2
- 2026EvoRepair: Enhancing Vulnerability Repair Agents Through Experience-Based Self-Evolutioncited by 2
- 2025A Blueprint for AI-Driven Software Quality: Integrating LLMs with Established Standardscited by 1
- 2025Repairing vulnerabilities without invisible hands. A differentiated replication study on LLMscited by 1
- 2026SynthFix: Adaptive Neuro-Symbolic Code Vulnerability Repaircited by 1
10 more
- 2026Beyond Refusal: A Same-Lineage Study of Aligned and Abliterated LLMs for Vulnerability Analysiscited by 1
- 2025SoK: Measuring What Matters for Closed-Loop Security Agentscited by 0
- 2025TypePilot: Leveraging the Scala Type System for Secure LLM-generated Codecited by 0
- 2025Evaluating LLMs for One-Shot Patching of Real and Artificial Vulnerabilitiescited by 0
- 2026RepoReviewer: A Local-First Multi-Agent Architecture for Repository-Level Code Reviewcited by 0
- 2026LogicEval: A Systematic Framework for Evaluating Automated Repair Techniques for Logical Vulnerabilities in Real-World Softwarecited by 0
- 2026RAVEN: Retrieval-Augmented Vulnerability Exploration Network for Memory Corruption Analysis in User Code and Binary Programscited by 0
- 2026SHIELDS: Automating OS Hardening with Iterative Multi-Agent Remediationcited by 0
- 2026Bulkhead: Automated Semantic Detection and Remediation of Container Escape Vulnerabilitiescited by 0
- 2026Plug 'n' Pray: Agentic LLM-based Detection of Potential Log File Exposures in Third-Party Content Management System Pluginscited by 0
- 2026Plug 'n' Pray: Agentic LLM-based Detection of Potential Log File Exposures in Third-Party Content Management System Plugins15 Sep 2026
- 2026Bulkhead: Automated Semantic Detection and Remediation of Container Escape Vulnerabilities14 Jul 2026
- 2026Beyond Refusal: A Same-Lineage Study of Aligned and Abliterated LLMs for Vulnerability Analysis7 Jul 2026
- 2026SHIELDS: Automating OS Hardening with Iterative Multi-Agent Remediation3 Jun 2026
- 2026EvoRepair: Enhancing Vulnerability Repair Agents Through Experience-Based Self-Evolution28 May 2026
- 2026AgenticVM: Agentic AI for Adaptive Software Vulnerability Management3 May 2026
- 2026RAVEN: Retrieval-Augmented Vulnerability Exploration Network for Memory Corruption Analysis in User Code and Binary Programs20 Apr 2026
- 2026SynthFix: Adaptive Neuro-Symbolic Code Vulnerability Repair19 Apr 2026
- 2026LogicEval: A Systematic Framework for Evaluating Automated Repair Techniques for Logical Vulnerabilities in Real-World Software14 Apr 2026
- 2026RepoReviewer: A Local-First Multi-Agent Architecture for Repository-Level Code Review17 Mar 2026
- 2026SGAgent: Suggestion-Guided LLM-Based Multi-Agent Framework for Repository-Level Software Repair27 Feb 2026
- 2025Evaluating LLMs for One-Shot Patching of Real and Artificial Vulnerabilities28 Nov 2025
10 more
- 2025OCR-APT: Reconstructing APT Stories from Audit Logs using Subgraph Anomaly Detection and LLMs16 Oct 2025
- 2025TypePilot: Leveraging the Scala Type System for Secure LLM-generated Code13 Oct 2025
- 2025SoK: Measuring What Matters for Closed-Loop Security Agents2 Oct 2025
- 2025Repairing vulnerabilities without invisible hands. A differentiated replication study on LLMs28 Jul 2025
- 2025LLM-Powered AI Agent Systems and Their Applications in Industry22 May 2025
- 2025A Blueprint for AI-Driven Software Quality: Integrating LLMs with Established Standards19 May 2025
- 2025Raw Pointer Rewriting with LLMs for Translating C to Safer Rust7 May 2025
- 2025Frontier AI's Impact on the Cybersecurity Landscape7 Apr 2025
- 2024From Vulnerabilities to Remediation: A Systematic Literature Review of LLMs in Code Security19 Dec 2024
- 2024CTINexus: Automatic Cyber Threat Intelligence Knowledge Graph Construction Using Large Language Models28 Oct 2024
- 2025LLM-Powered AI Agent Systems and Their Applications in Industrycited by 22
- 2026SGAgent: Suggestion-Guided LLM-Based Multi-Agent Framework for Repository-Level Software Repaircited by 9
- 2026AgenticVM: Agentic AI for Adaptive Software Vulnerability Managementcited by 2
- 2026EvoRepair: Enhancing Vulnerability Repair Agents Through Experience-Based Self-Evolutioncited by 2
- 2025SoK: Measuring What Matters for Closed-Loop Security Agentscited by 0
- 2026SHIELDS: Automating OS Hardening with Iterative Multi-Agent Remediationcited by 0
- 2026Plug 'n' Pray: Agentic LLM-based Detection of Potential Log File Exposures in Third-Party Content Management System Pluginscited by 0
- 2026Plug 'n' Pray: Agentic LLM-based Detection of Potential Log File Exposures in Third-Party Content Management System Plugins15 Sep 2026
- 2026SHIELDS: Automating OS Hardening with Iterative Multi-Agent Remediation3 Jun 2026
- 2026EvoRepair: Enhancing Vulnerability Repair Agents Through Experience-Based Self-Evolution28 May 2026
- 2026AgenticVM: Agentic AI for Adaptive Software Vulnerability Management3 May 2026
- 2026SGAgent: Suggestion-Guided LLM-Based Multi-Agent Framework for Repository-Level Software Repair27 Feb 2026
- 2025SoK: Measuring What Matters for Closed-Loop Security Agents2 Oct 2025
- 2025LLM-Powered AI Agent Systems and Their Applications in Industry22 May 2025
- 2025Frontier AI's Impact on the Cybersecurity Landscapecited by 21
- 2024CTINexus: Automatic Cyber Threat Intelligence Knowledge Graph Construction Using Large Language Modelscited by 12
- 2024From Vulnerabilities to Remediation: A Systematic Literature Review of LLMs in Code Securitycited by 9
- 2025OCR-APT: Reconstructing APT Stories from Audit Logs using Subgraph Anomaly Detection and LLMscited by 6
- 2025Raw Pointer Rewriting with LLMs for Translating C to Safer Rustcited by 4
- 2025A Blueprint for AI-Driven Software Quality: Integrating LLMs with Established Standardscited by 1
- 2025Repairing vulnerabilities without invisible hands. A differentiated replication study on LLMscited by 1
- 2026SynthFix: Adaptive Neuro-Symbolic Code Vulnerability Repaircited by 1
- 2026Beyond Refusal: A Same-Lineage Study of Aligned and Abliterated LLMs for Vulnerability Analysiscited by 1
- 2025TypePilot: Leveraging the Scala Type System for Secure LLM-generated Codecited by 0
- 2025Evaluating LLMs for One-Shot Patching of Real and Artificial Vulnerabilitiescited by 0
- 2026RepoReviewer: A Local-First Multi-Agent Architecture for Repository-Level Code Reviewcited by 0
12 most cited of 14 All 14 (JSON)
- 2026Bulkhead: Automated Semantic Detection and Remediation of Container Escape Vulnerabilities14 Jul 2026
- 2026Beyond Refusal: A Same-Lineage Study of Aligned and Abliterated LLMs for Vulnerability Analysis7 Jul 2026
- 2026SynthFix: Adaptive Neuro-Symbolic Code Vulnerability Repair19 Apr 2026
- 2026LogicEval: A Systematic Framework for Evaluating Automated Repair Techniques for Logical Vulnerabilities in Real-World Software14 Apr 2026
- 2026RepoReviewer: A Local-First Multi-Agent Architecture for Repository-Level Code Review17 Mar 2026
- 2025Evaluating LLMs for One-Shot Patching of Real and Artificial Vulnerabilities28 Nov 2025
- 2025OCR-APT: Reconstructing APT Stories from Audit Logs using Subgraph Anomaly Detection and LLMs16 Oct 2025
- 2025TypePilot: Leveraging the Scala Type System for Secure LLM-generated Code13 Oct 2025
- 2025Repairing vulnerabilities without invisible hands. A differentiated replication study on LLMs28 Jul 2025
- 2025A Blueprint for AI-Driven Software Quality: Integrating LLMs with Established Standards19 May 2025
- 2025Raw Pointer Rewriting with LLMs for Translating C to Safer Rust7 May 2025
- 2025Frontier AI's Impact on the Cybersecurity Landscape7 Apr 2025
12 newest of 14 All 14 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2025Reasoning with LLMs for Zero-Shot Vulnerability Detection
- 2025Vul-R2: A Reasoning LLM for Automated Vulnerability Repair
- 2026Rethinking Automated Program Repair: The Impact of Bug Complexity, Fault Localization, and LLM Cost-efficiency
- 2025VulInstruct: Teaching LLMs Root-Cause Reasoning for Vulnerability Detection via Security Specifications
- 2024Vul-RAG: Enhancing LLM-based Vulnerability Detection via Knowledge-level RAG
- 2026Correct Verdicts, Flawed Reasoning: Structured Auditing of LLM-based Vulnerability Reasoning
- 2026Tool-Guided Retrieval-Augmented Repair for Securing LLM-Generated C Code
- 2025How Safe Are AI-Generated Patches? A Large-scale Study on Security Risks in LLM and Agentic Automated Program Repair on SWE-bench