P2Patch: Exploit-Guided Vulnerability Repair
We present P2Patch, a generative adversarial repair system that treats each patch as a new attack target.
ProofPaper ↗
Key points
- Large language models are increasingly deployed as autonomous agents for automated program repair, patching software vulnerabilities through multi-step reasoning and tool use.
- Yet these systems typically validate a patch against the same evidence used to construct it -- a static alert, sanitizer trace, published exploit, or test suite.
- Starting from a normalized vulnerability finding, an exploitation agent constructs a reproducing proof of vulnerability (PoV), a patching agent repairs the program, and the exploitation agent then attacks the patched program for a distinct same-vulnerability exploit.
- Across 101 C/C++ and Java CVE subjects, this adversarial loop surfaces a distinct confirmed exploit in 41% of runs after the patch has already blocked its original construction-time PoV.
Sources (1)
- [1]P2Patch: Exploit-Guided Vulnerability RepairarXiv (AI, ML, NLP, CV, robotics, multi-agent) · Oct 14, 02:19 PM
We present P2Patch, a generative adversarial repair system that treats each patch as a new attack target.
Large language models are increasingly deployed as autonomous agents for automated program repair, patching software vulnerabilities through multi-step reasoning and tool use.
Extractive summary: sentences quoted from the sources.
Before this
- Oct 14, 2026Generate presentations with Amazon Bedrock AgentCore
- Oct 14, 2026mistralai/Timestral-209M
- Oct 14, 2026ReaDy: Recurrent States as Dynamic Context for Speculative Drafting in Hybrid Linear Attention Large Language Models
- Oct 14, 2026Sparse Autoencoders Are a Shared Coordinate System for Symbolic Matching
- Oct 13, 2026i12bp8/decomp.wtf: What The Function: your AI agent decompiles games you own into C that compiles to the exact same bytes. Runs locally.
- Oct 13, 2026Agent-Reflex: Teaching Language Agents to Act Reflectively