APPATCH: Automated Adaptive Prompting Large Language Models for Real-World Software Vulnerability Patching
Not on the map. Why?
Abstract (arXiv)
Timely and effective vulnerability patching is essential for cybersecurity defense, for which various approaches have been proposed yet still struggle to generate valid and correct patches for real-world vulnerabilities. In this paper, we leverage the power and merits of pre-trained language language models (LLMs) to enable automated vulnerability patching using no test input/exploit evidence and without model training/fine-tuning. To elicit LLMs to effectively reason about vulnerable code behaviors, which is essential for quality patch generation, we introduce vulnerability semantics reasoning and adaptive prompting on LLMs and instantiate the methodology as APPATCH, an automated LLM-based patching system. Our evaluation of APPATCH on 97 zero-day vulnerabilities and 20 existing vulnerabilities demonstrates its superior performance to both existing prompting methods and state-of-the-art non-LLM-based techniques (by up to 28.33% in F1 and 182.26% in recall over the best baseline). Through APPATCH, we demonstrate what helps for LLM-based patching and how, as well as discussing what still lacks and why.
Key facts. Cited by 18 papers in the map (data through 7 Oct 2026). First posted on arXiv 24 Aug 2024.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2024: 1; 2025: 6; 2026: 11.
18 papers.
Sort:
By area:
- 2025Frontier AI's Impact on the Cybersecurity Landscapecited by 21
- 2024From Vulnerabilities to Remediation: A Systematic Literature Review of LLMs in Code Securitycited by 9
- 2026From SFT to RL: Demystifying the Post-Training Pipeline for LLM-based Vulnerability Detectioncited by 4
- 2025CyberSleuth: Autonomous Blue-Team LLM Agent for Web Attack Forensicscited by 3
- 2025VULPO: Context-Aware Vulnerability Detection via On-Policy LLM Optimizationcited by 3
- 2026VulnResolver: A Hybrid Agent Framework for LLM-Based Automated Vulnerability Issue Resolutioncited by 2
- 2026PatchIsland: Orchestration of LLM Agents for Continuous Vulnerability Repaircited by 2
- 2025Collaborative Agents for Automated Program Repair in Rubycited by 1
- 2026RAVEN: Agentic RAG for Automated Vulnerability Repaircited by 1
- 2025SoK: Measuring What Matters for Closed-Loop Security Agentscited by 0
- 2025Evaluating LLMs for One-Shot Patching of Real and Artificial Vulnerabilitiescited by 0
- 2026LLMs + Security = Troublecited by 0
6 more
- 2026Fine-grained Approaches for Confidence Calibration of LLMs in Automated Code Revisioncited by 0
- 2026Knowledge-Enhanced Agentic Vulnerability Repaircited by 0
- 2026Bulkhead: Automated Semantic Detection and Remediation of Container Escape Vulnerabilitiescited by 0
- 2026Benchmarking Automated Security Patch Backporting: How Far Are We?cited by 0
- 2026PatchBench: Evaluating AI Agents for Vulnerability Patchingcited by 0
- 2026Metrics Failure in LLM-Based Code Vulnerability Repair: An Empirical Study and a Change-Aware Screencited by 0
- 2026Metrics Failure in LLM-Based Code Vulnerability Repair: An Empirical Study and a Change-Aware Screen22 Sep 2026
- 2026PatchBench: Evaluating AI Agents for Vulnerability Patching3 Sep 2026
- 2026Benchmarking Automated Security Patch Backporting: How Far Are We?18 Aug 2026
- 2026Bulkhead: Automated Semantic Detection and Remediation of Container Escape Vulnerabilities14 Jul 2026
- 2026Knowledge-Enhanced Agentic Vulnerability Repair1 Jul 2026
- 2026RAVEN: Agentic RAG for Automated Vulnerability Repair21 Jun 2026
- 2026Fine-grained Approaches for Confidence Calibration of LLMs in Automated Code Revision8 Apr 2026
- 2026From SFT to RL: Demystifying the Post-Training Pipeline for LLM-based Vulnerability Detection15 Feb 2026
- 2026LLMs + Security = Trouble9 Feb 2026
- 2026PatchIsland: Orchestration of LLM Agents for Continuous Vulnerability Repair24 Jan 2026
- 2026VulnResolver: A Hybrid Agent Framework for LLM-Based Automated Vulnerability Issue Resolution20 Jan 2026
- 2025Evaluating LLMs for One-Shot Patching of Real and Artificial Vulnerabilities28 Nov 2025
6 more
- 2025VULPO: Context-Aware Vulnerability Detection via On-Policy LLM Optimization14 Nov 2025
- 2025Collaborative Agents for Automated Program Repair in Ruby6 Nov 2025
- 2025SoK: Measuring What Matters for Closed-Loop Security Agents2 Oct 2025
- 2025CyberSleuth: Autonomous Blue-Team LLM Agent for Web Attack Forensics28 Aug 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
- 2025CyberSleuth: Autonomous Blue-Team LLM Agent for Web Attack Forensicscited by 3
- 2026VulnResolver: A Hybrid Agent Framework for LLM-Based Automated Vulnerability Issue Resolutioncited by 2
- 2026PatchIsland: Orchestration of LLM Agents for Continuous Vulnerability Repaircited by 2
- 2025Collaborative Agents for Automated Program Repair in Rubycited by 1
- 2026RAVEN: Agentic RAG for Automated Vulnerability Repaircited by 1
- 2025SoK: Measuring What Matters for Closed-Loop Security Agentscited by 0
- 2026Knowledge-Enhanced Agentic Vulnerability Repaircited by 0
- 2026Knowledge-Enhanced Agentic Vulnerability Repair1 Jul 2026
- 2026RAVEN: Agentic RAG for Automated Vulnerability Repair21 Jun 2026
- 2026PatchIsland: Orchestration of LLM Agents for Continuous Vulnerability Repair24 Jan 2026
- 2026VulnResolver: A Hybrid Agent Framework for LLM-Based Automated Vulnerability Issue Resolution20 Jan 2026
- 2025Collaborative Agents for Automated Program Repair in Ruby6 Nov 2025
- 2025SoK: Measuring What Matters for Closed-Loop Security Agents2 Oct 2025
- 2025CyberSleuth: Autonomous Blue-Team LLM Agent for Web Attack Forensics28 Aug 2025
- 2025Frontier AI's Impact on the Cybersecurity Landscapecited by 21
- 2024From Vulnerabilities to Remediation: A Systematic Literature Review of LLMs in Code Securitycited by 9
- 2025Evaluating LLMs for One-Shot Patching of Real and Artificial Vulnerabilitiescited by 0
- 2026LLMs + Security = Troublecited by 0
- 2026Fine-grained Approaches for Confidence Calibration of LLMs in Automated Code Revisioncited by 0
- 2026Bulkhead: Automated Semantic Detection and Remediation of Container Escape Vulnerabilitiescited by 0
- 2026Benchmarking Automated Security Patch Backporting: How Far Are We?cited by 0
- 2026PatchBench: Evaluating AI Agents for Vulnerability Patchingcited by 0
- 2026Metrics Failure in LLM-Based Code Vulnerability Repair: An Empirical Study and a Change-Aware Screencited by 0
- 2026Metrics Failure in LLM-Based Code Vulnerability Repair: An Empirical Study and a Change-Aware Screen22 Sep 2026
- 2026PatchBench: Evaluating AI Agents for Vulnerability Patching3 Sep 2026
- 2026Benchmarking Automated Security Patch Backporting: How Far Are We?18 Aug 2026
- 2026Bulkhead: Automated Semantic Detection and Remediation of Container Escape Vulnerabilities14 Jul 2026
- 2026Fine-grained Approaches for Confidence Calibration of LLMs in Automated Code Revision8 Apr 2026
- 2026LLMs + Security = Trouble9 Feb 2026
- 2025Evaluating LLMs for One-Shot Patching of Real and Artificial Vulnerabilities28 Nov 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