mlsanityData to 14 Oct 2026

ContraFix: Skill-Enhanced Contrastive Runtime Analysis for Vulnerability Repair

arXiv 2605.17450 ↗First posted 17 May 2026cs.SE cs.AI cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

As software systems grow increasingly complex, automated vulnerability repair (AVR) remains difficult because the materials available to a repair system are usually failure artifacts rather than repair guidance. Traditional analysis techniques can provide suspicious locations, reduced triggers, or constraints, but they are costly to configure across repositories and seldom directly actionable for patch generation. Recent LLM-based agents can edit and validate repository-level patches, and experience-based systems can reuse prior repair traces or demonstrations, but they still need current-instance evidence that turns a broad, symptom-level failure report into a concrete repair decision. We present ContraFix, an agentic AVR framework that constructs such evidence through contrastive runtime analysis. Starting from a failing witness, ContraFix generates nearby failing and non-failing variants, executes them through aligned probe sites, and compares their runtime states to infer the repair boundary and guide source-level patching. Each candidate patch is accepted only after build and validation. ContraFix also stores validated repair episodes in a dual-track skill base, reusing mutation skills to construct useful variants and correction skills to refine failed patches. On SEC-Bench, ContraFix with GPT-5-mini achieves resolution rate of 92.0% over three repeated runs and an average resolution rate of 91.8% +/- 0.8. On PatchEval, it resolves 73.8% of 225 Go, Python, and JavaScript instances. A semantic audit of benchmark-validated SEC-Bench patches shows that 58.2% of ContraFix's patches are semantically correct, compared with 31.3% for the strongest baseline, indicating that the proposed framework improves semantic correctness beyond benchmark validation.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 16 of its 49 references that are in the map. First posted on arXiv 17 May 2026.

Builds on

16 of 49 references.

References · 16

  1. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
  2. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 1,002
  3. 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 479
  4. 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repaircited by 232
  5. 2023Keep the Conversation Going: Fixing 162 out of 337 bugs for 0.42 each using ChatGPTcited by 125
  6. 2021CURE: Code-Aware Neural Machine Translation for Automatic Program Repaircited by 86
  7. 2019TBar: Revisiting Template-based Automated Program Repaircited by 65
  8. 2018The Art, Science, and Engineering of Fuzzing: A Surveycited by 62
  9. 2021Neural Transfer Learning for Repairing Security Vulnerabilities in C Codecited by 36
  10. 2018Nopol: Automatic Repair of Conditional Statement Bugs in Java Programscited by 32
  11. 2025PoCGen: Generating Proof-of-Concept Exploits for Vulnerabilities in Npm Packagescited by 12
  12. 2025SoK: Automated Vulnerability Repair: Methods, Tools, and Assessmentscited by 12
4 more
  1. 2025SoK: Towards Effective Automated Vulnerability Repaircited by 10
  2. 2025InfCode-C++: Intent-Guided Semantic Retrieval and AST-Structured Search for C++ Issue Resolutioncited by 3
  3. 2024CRepair: CVAE-based Automatic Vulnerability Repair Technologycited by 2
  4. 2026VulnResolver: A Hybrid Agent Framework for LLM-Based Automated Vulnerability Issue Resolutioncited by 2

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026EviACT: An Evidence-to-Action Framework for Agentic Program Repair
  2. 2026AgenticRepair: Multi-Faceted Program Context Engineering for Agentic Vulnerability Repair
  3. 2026EvoRepair: Enhancing Vulnerability Repair Agents Through Experience-Based Self-Evolution
  4. 2026MemRepair: Hierarchical Memory for Agentic Repository-Level Vulnerability Repair
  5. 2025Understanding Automated Program Repair Agents Through the Lens of Traceability: An Empirical Study
  6. 2026Knowledge-Enhanced Agentic Vulnerability Repair
  7. 2026RAVEN: Agentic RAG for Automated Vulnerability Repair
  8. 2026Where Did the Repair First Go Wrong? Localizing the Origins of Silent Failures in Agentic Vulnerability Repair