Self-Updating Repair Notebook Helps Agent Fix 389/430 Vulnerabilities
量子位 · wechat · 2026-12-06
A team from NJUST, Nanjing University, and TU Munich propose EvoRepair (accepted at ICSE 2027, code open-sourced): no model swap or fine-tuning, instead the agent maintains a self-updating "mistake notebook" carrying repair experience across vulnerabilities.
- Method: on a Bash-only base agent, each round runs retrieve-repair-record-score; experiences are structured into five fields (vulnerability analysis, fix rationale, trajectory analysis, summary, reflection); retrieval filters by similarity then quality score; an LLM judge scores experiences with优胜劣汰 and merging on ties.
- Results: on 430 vulnerabilities (PATCHEVAL + SEC-bench), GPT-5-mini-based EvoRepair fixes 389 (90.46%), beating Live-SWE-Agent's 359; with experience, models fix 2–76 more, e.g. Qwen3.5-Plus jumps 94→170 on SEC-bench, and fixes arrive earlier.
- Counterintuitive: giving distilled experience beats giving gold patches in round one (78→105 vs. 57); experience transfers across languages with modest gains; costs roughly wash out.
Context: 2025 saw 48k+ new CVEs, up 20% YoY.
More from coding & agent
- 72-hour Neon autoresearcher optimizes DeepSeek inference stack, closing in on vLLM — teortaxesTex · 2026-12-06
- Devs Use OpenAI Codex with ModRetro Plugin to Build Games for Replica Game Boys — pvncher · 2026-12-06
- Quadrillion rebuilds Jupyter from scratch: a cloud-native, agent-ready notebook — Promptmethus · 2026-12-06
- Agent Plasticity paper: frontier models diverge sharply in self-improvement efficiency — anirudhg9119 · 2026-12-06
- Dev laments all LLMs are bad at frontend as Fable 5.2 ships zero-margin buttons — Angaisb_ · 2026-12-06
- Local Qwen4 35B aces a frontier-level coding prompt, then films a cinematic game shot — Smungus05 · 2026-12-06