Metraipolis › archive › dc_17464c20abaa
The History Is the Detector: Executing CVE Patch History, End-to-End — arXiv:2609.05335
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.05335
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-16T22:29:19.900Z
- SHA-256 of the archived text
4b4da08b85a22e06c53b71f8c33141a176d46aac9dbcd9f836c9738d3df25660- Stable URL of this page
https://metraipolis.com/documento/dc_17464c20abaa
How to cite
The History Is the Detector: Executing CVE Patch History, End-to-End — arXiv:2609.05335 — arXiv (en), https://arxiv.org/abs/2609.05335 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_17464c20abaa (Metraipolis archive dc_17464c20abaa, sha256 4b4da08b85a22e06c53b71f8c33141a176d46aac9dbcd9f836c9738d3df25660)
BibTeX
@misc{dc17464c20abaa,
title = {The History Is the Detector: Executing CVE Patch History, End-to-End — arXiv:2609.05335},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.05335},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_17464c20abaa; sha256 4b4da08b85a22e06c53b71f8c33141a176d46aac9dbcd9f836c9738d3df25660},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.05335. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Public vulnerability databases collect rich information about known software flaws, including their weakness types, affected components, and related patches. Fixing commits provide the exact code changes that removed these flaws. While these records capture why the original code was unsafe, they are documented mainly for human inspection rather than automated reuse. Consequently, the same unsafe conditions may still exist elsewhere in code without a known advisory, leaving much of this detection knowledge unused. We present BUGSTONE-E2E, a framework that transforms vulnerability history into executable detection rules and validates their findings. First, BUGSTONE-E2E mines reusable rules from verified fixing commits, capturing scan anchors, fix semantics, and CVE provenance and organizing them by CWE and language. Second, detection follows a funnel-shaped pipeline: early stages process a large pool of candidates using lightweight analysis, while later stages apply increasingly capable and expensive models to a shrinking set of targets. Specifically, BUGSTONE-E2E first enumerates call sites matching rule anchors using Tree-sitter, then removes benign sites using lightweight heuristics without LLM calls. Next, LLM-based agents inspect the remaining candidates guided by the rule. Following this inspection, the system re-triages surviving candidates and builds runtime verifications, then generates scope-checked patches validated via two-sided differential tests. Using 19,325 high-severity CVEs from 2022 to 2026, BUGSTONE-E2E identifies 2,710 fixing commits and constructs 1,033 detection rules across 56 CWE families, packaged into 172 skills. When applied across 14 programs, it produced runtime evidence for 644 findings. These results demonstrate that CVE history can be turned into an executable workflow, transforming past vulnerabilities into reproducible detection and repair. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-07 in cs.AI). Categorie arXiv: Cryptography and Security (cs.CR) ; Artificial Intelligence (cs.AI); Software Engineering (cs.SE). Pagina del lavoro: https://arxiv.org/abs/2609.05335 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-16T22:18:11.589Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-09-07?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).