Reproduce “Not Just Any Example: Security Requirements and Fix Patterns for Guiding LLM Vulnerability Repair” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Zichen Liu, Liangyi Huang, Stanley Nguyen, Kha Tu Nguyen, Xinda Wang, Xusheng Xiao
The authors present a retrieval approach for vulnerability repair that links violated security requirements to context-sensitive fix patterns. It retrieves concrete patch examples using security-impact associations or code-change similarity, then prompts a language model to plan and generate repairs. On 291 held-out C/C++ targets, guided methods average 49.2% and 48.5% pass@3, versus 37.9% zero-shot, with source-level, not execution, evaluation.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.