Metraipolis › archive › dc_b2cac76ac6f1

LLMVul: A Vulnerability-Labeled Dataset of LLM-Generated C/C++ Functions from Real Production Repositories — arXiv:2609.10945

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.10945
License (as archived)
CC0-1.0
Archived
2026-10-16T05:57:33.315Z
SHA-256 of the archived text
d2027abe8c823318437a204a65189953e5b70a9be1357fa6690a430929548b41
Stable URL of this page
https://metraipolis.com/documento/dc_b2cac76ac6f1

How to cite

LLMVul: A Vulnerability-Labeled Dataset of LLM-Generated C/C++ Functions from Real Production Repositories — arXiv:2609.10945 — arXiv (en), https://arxiv.org/abs/2609.10945 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_b2cac76ac6f1 (Metraipolis archive dc_b2cac76ac6f1, sha256 d2027abe8c823318437a204a65189953e5b70a9be1357fa6690a430929548b41)
BibTeX
@misc{dcb2cac76ac6f1,
  title = {LLMVul: A Vulnerability-Labeled Dataset of LLM-Generated C/C++ Functions from Real Production Repositories — arXiv:2609.10945},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.10945},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_b2cac76ac6f1; sha256 d2027abe8c823318437a204a65189953e5b70a9be1357fa6690a430929548b41},
  year = {2026}
}

Archived text

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

Large language models (LLMs) are increasingly used to generate and assist with software development, yet existing vulnerability datasets largely focus on human-written code or controlled prompting environments. This limits the ability to study security weaknesses in LLM-generated code as it appears in real-world software projects. We present LLMVul, a vulnerability-labeled dataset of LLM-generated C/C++ functions mined from real production repositories. We mine AI-assisted development activity from GitHub over a 4 year period, from November 13, 2022 to September 3, 2026, using provenance signals such as commit metadata and AI-related authorship evidence. After filtering and deduplication, LLMVul contains 21,430 unique C/C++ functions from 226 repositories, together with repository, commit, function, provenance, and AI-tool metadata. We establish vulnerability labels using an ensemble of complementary static-analysis and pattern-based techniques and assign Common Weakness Enumeration (CWE) categories to confirmed vulnerable functions. To assess labeling reliability, we additionally conduct independent manual annotation and measure inter-rater agreement using Cohen's kappa ($k=0.79$). LLMVul contains 1,540 ensemble-vulnerable functions spanning 17 unique CWE categories, providing substantially more real-world LLM-generated vulnerable C/C++ functions than existing vulnerability-oriented LLM code benchmarks. By preserving both code-level vulnerability labels and generation/provenance metadata, LLMVul enables reproducible research on vulnerability detection, security evaluation of LLM-generated code, and analysis of vulnerability patterns in AI-assisted software development. The LLMVul dataset is publicly available at this https URL .

Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-09-11 in cs.SE).
Categorie arXiv: Software Engineering (cs.SE).
Pagina del lavoro: https://arxiv.org/abs/2609.10945 — 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-16T05:45:13.284Z dalla pagina https://arxiv.org/catchup/cs.SE/2026-09-11?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).