🛰️ Daily AI Frontier
‹ back to 2026-10-15

P2Patch: Exploit-Guided Vulnerability Repair

arXiv cs.CR LLM Agents Mohsen Iranmanesh, Sina Moradi Sabet, Sina Marefat, Ali Javidi Ghasr, Maxime Newman Nereyabagabo, Kousha Amouzesh, Jaivir Malhi, Vinci Velasco, Alex Chung, Mohammad A. Tayebi 2026-10-14

TL;DR - P2Patch is an adversarial, multi-agent vulnerability-repair system that repeatedly attacks generated patches and turns each new exploit into a permanent repair requirement. This improves robustness beyond one-shot patch validation, which can overfit to the original exploit or test evidence.

  • Uses separate exploitation and patching agents, with construction-time proofs of vulnerability isolated from held-out evaluation oracles.
  • Found a distinct, confirmed same-vulnerability exploit in 41% of runs after the original exploit had already been blocked.
  • Improved held-out fix-closed coverage over single-pass Claude Code repair from 78.1% to 84.7%.
  • Raised beyond-upstream coverage from 42.1% to 62.5% across 101 C/C++ and Java CVE subjects.

view merged work →