Metraipolis › archive › dc_6f25088e3942

GraftyVul: Synthesising Insecure Programs Through Real-World Vulnerability Grafting — arXiv:2608.27928

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.27928
License (as archived)
CC0-1.0
Archived
2026-10-17T10:58:10.153Z
SHA-256 of the archived text
c67d7d7a67a7f085e180c97816269cc9c09d3dc4579568e5a0537d7971e33ed9
Stable URL of this page
https://metraipolis.com/documento/dc_6f25088e3942

How to cite

GraftyVul: Synthesising Insecure Programs Through Real-World Vulnerability Grafting — arXiv:2608.27928 — arXiv (en), https://arxiv.org/abs/2608.27928 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_6f25088e3942 (Metraipolis archive dc_6f25088e3942, sha256 c67d7d7a67a7f085e180c97816269cc9c09d3dc4579568e5a0537d7971e33ed9)
BibTeX
@misc{dc6f25088e3942,
  title = {GraftyVul: Synthesising Insecure Programs Through Real-World Vulnerability Grafting — arXiv:2608.27928},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.27928},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_6f25088e3942; sha256 c67d7d7a67a7f085e180c97816269cc9c09d3dc4579568e5a0537d7971e33ed9},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.27928. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Vulnerability datasets underpin a wide range of security research, including vulnerability detection, automated remediation, and secure code generation. However, existing datasets sacrifice at least one of three desirable properties: diversity (of language or vulnerability type), reproducibility/executability, or realism. We therefore present GraftyVul, a system that constructs vulnerable programs by grafting real-world vulnerabilities into open-source projects. This grounds the dataset in vulnerabilities observed in real-world contexts while harnessing known good build and test environments, enabling exploit-verification scripts to guarantee that an introduced vulnerability successfully alters a program's behaviour. Using GraftyVul, we generate 212 verified and exploitable vulnerable programs spanning five programming languages (Python, TypeScript, Java, Go, and C#) across 23 CWE categories. To evaluate fidelity, we introduce a language- and context-agnostic semantic embedding that compares vulnerabilities by sink, mechanism and host-feature rather than surface code. This approach outperforms standard code embeddings on cross-language clone and CWE classification. These embeddings demonstrate that GraftyVul samples retain a strong semantic signature to their source vulnerability. We additionally compare GraftyVul against 13 widely used datasets, where it attains competitive diversity while being the only reproducible-exploit dataset with broad language and CWE coverage. Finally, we illustrate GraftyVul's practical utility through an industrial case study evaluating a production vulnerability remediation system.

Tema degli esploratori: fiducia digitale e crittografia (retro-catalogo arXiv: annunci del 2026-08-31 in cs.CR).
Categorie arXiv: Cryptography and Security (cs.CR) ; Software Engineering (cs.SE).
Pagina del lavoro: https://arxiv.org/abs/2608.27928 — 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-17T10:49:51.642Z dalla pagina https://arxiv.org/catchup/cs.CR/2026-08-31?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).