P2Patch treats a repaired vulnerability as the next target for testing. One agent obtains a runnable proof of vulnerability, a second agent changes the program, and the first searches for a different input that still violates the same security boundary. An execution controller checks whether each candidate works; confirmed counterexamples remain permanent…
Inspect the ClaimsCase · DiggingBeagle record
Execution-guided patching exposes repairs that only block the initial exploit
Controlled C/C++ and Java repairs for 101 project/CVE subjects. The claimed 41% result describes confirmed execution of additional candidate bypasses within a finite experimental loop, not a prevalence estimate for all deployed patches.
Assessment profile
Assessment method- Setting
- research demonstration
- Exploitation
- demonstrated
- Evidence
- Grade C
- Remediation
- not applicable
- AI role
- WITH AI
Basis and provenance
Primary abstract and existing detailed Claims support the reported execution-guided loop and held-out comparisons. This review did not rerun builds or adjudicate whether every additional working input was semantically distinct. Impact remains ungraded because the available evidence does not establish realized harm or a defensible general severity for the assessed deployment.
Assessed Oct 16, 2026 using diggingbeagle.assessment/1.
Evidence basis: CLM-P2PATCH-REPAIR-BYPASSES-01 · CLM-P2PATCH-REPAIR-BYPASSES-02 · CLM-P2PATCH-REPAIR-BYPASSES-03 · P2Patch: exploit-guided vulnerability repair
At a glance
Repair validation should test the security property using counterexamples distinct from the exploit that generated the patch. Independent exploit oracles and functional regression checks are required; tool success or a disappearing initial PoC alone is insufficient.
Read the implicationsThe 41 of 101 execution results do not prove that all additional payloads represent distinct root causes. Finite held-out exploit oracles do not exhaust possible exploit paths, environment configurations or regressions. The study does not provide production exploitation or universal patch success rates across new software projects.
Limits and uncertaintyFull account
P2Patch treats a repaired vulnerability as the next target for testing. One agent obtains a runnable proof of vulnerability, a second agent changes the program, and the first searches for a different input that still violates the same security boundary. An execution controller checks whether each candidate works; confirmed counterexamples remain permanent repair requirements instead of disappearing when the initial proof stops succeeding.
In the reported 101-subject experiment, 41 runs produced another execution-confirmed bypass after the original proof no longer worked. The researchers caution that the semantic distinctness of those bypasses was prompted rather than separately adjudicated, so the distinct-bypass fraction is an upper bound. Against single-pass Claude Code, held-out fix-closed coverage rises from 78.1% to 84.7%, while beyond-upstream coverage rises from 42.1% to 62.5%. These are separate evaluation properties. Even passing all held-out examples cannot establish the absence of unknown attack variants, newly introduced vulnerabilities or functional regressions.
Mechanism and trust boundary
- 01
Reproduce the initial vulnerability
An exploitation agent generates a runnable proof against the original program, confirmed by the execution controller.
Boundary: vulnerability report / executable behavior
- 02
Patch the observed failure
A repair agent changes program logic to stop the current proof, leaving uncertain whether the invariant holds for other inputs.
Boundary: observed test / underlying security property
- 03
Probe the revised boundary
The exploiter searches for another working candidate and the controller checks execution results. A successful counterexample becomes a permanent test.
Boundary: single exploit / broader exploit family
- 04
Evaluate with held-out oracles
Construction proofs remain separate from independent security tests so the patch is not graded only on examples seen during repair.
Boundary: agent-generated evidence / external validation
Timeline
- Oct 14, 2026disclosure
Public disclosure
Claims & evidence
CLM-P2PATCH-REPAIR-BYPASSES-01P2Patch reports additional execution-confirmed bypasses in 41 of 101 repair runs after the initial proof stopped working. Semantic distinctness was prompted, not mechanically verified, so the authors qualify that percentage as an upper bound on distinct bypasses.supported
Basis: reported finding
- supportsP2Patch: exploit-guided vulnerability repairprimary disclosure
Results, loop dynamics; paragraph following the 41/101 hardening result and its semantic-distinctness qualification
CLM-P2PATCH-REPAIR-BYPASSES-02The study reports held-out security coverage of 78.1% for single-pass Claude Code and 84.7% for P2Patch on 101 subjects.supported
Basis: reported finding
- supportsP2Patch: exploit-guided vulnerability repairprimary disclosure
Table 2, fix-closed evaluation; independent security-oracle methodology
CLM-P2PATCH-REPAIR-BYPASSES-03On the paper's beyond-upstream held-out evaluation, P2Patch raises reported coverage from 42.1% for single-pass Claude Code to 62.5%, a different metric from fix-closed coverage.supported
Basis: reported finding
- supportsP2Patch: exploit-guided vulnerability repairprimary disclosure
Paper abstract, comparison of fix-closed and beyond-upstream coverage
Implications
Repair validation should test the security property using counterexamples distinct from the exploit that generated the patch. Independent exploit oracles and functional regression checks are required; tool success or a disappearing initial PoC alone is insufficient.
Controls and mitigations
- Keep confirmed counterexamples as regression tests, not transient chat context.
- Measure security fixes with held-out exploit oracles and functional tests independently of the patch-generating agent.
- Distinguish novel exploit inputs, independent root causes and production exploitability before reporting additional vulnerabilities.
Unknowns and contradictions
- The 41 of 101 execution results do not prove that all additional payloads represent distinct root causes.
- Finite held-out exploit oracles do not exhaust possible exploit paths, environment configurations or regressions.
- The study does not provide production exploitation or universal patch success rates across new software projects.
Sources and citation
Material revision history
- Oct 16, 2026 · Canonical change recorded · new in release · revision 160