PatchHolmes: Agentic Patch Retrieval via Listwise Selection
PatchHolmes uses listwise agent inspection to find vulnerability-fixing commits missing from CVE advisories.
PatchHolmes retrieves the commit that fixes a known vulnerability using a hybrid retriever and a listwise agent that inspects the top 100 candidates and reads 3 to 10 commits. The authors report that 60% to 63% of CVEs in major advisory databases lack a patch link. On GitHubAD it beat Favia by 25.34% Recall@1 and IRCoT by 31.40% with one agent conversation per CVE, and it runs locally on a frozen open-weight model without fine-tuning or external search APIs.
- Major advisory databases lack patch links for 60-63% of CVEs.
- On GitHubAD, Recall@1 beat Favia by 25.34% and IRCoT by 31.40%.
- Identical candidates: agent added 27.32% Recall@1 over retriever top-1.
- Runs on a frozen open-weight model without fine-tuning or search APIs.
- Products
- PatchHolmesGitHubADPatchFinder
From the original article
1 min read at huggingface.coPatch retrieval, the task of finding the commit that fixes a known vulnerability, is the foundation of vulnerability management workflows, yet 60% to 63% of CVEs in the major advisory databases lack a patch link. We present PatchHolmes, a two-phase patch retrieval system that pairs a hybrid first-stage retriever with an agentic second-stage inspection loop.
By Guanqun Yang, Yingming Zhou, Jiangrui Zheng · huggingface.co
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.