Metraipolis › archive › dc_4ab7be0d69ad
A Function-level Dataset of Vulnerable and Fixed Source Code in JavaScript and TypeScript — arXiv:2609.38012
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.38012
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-07T17:27:04.467Z
- SHA-256 of the archived text
24eabdcdb655729fdc8aaec1421211d2a6802a6b521098bc06717035521dec81- Stable URL of this page
https://metraipolis.com/documento/dc_4ab7be0d69ad
How to cite
A Function-level Dataset of Vulnerable and Fixed Source Code in JavaScript and TypeScript — arXiv:2609.38012 — arXiv (en), https://arxiv.org/abs/2609.38012 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_4ab7be0d69ad (Metraipolis archive dc_4ab7be0d69ad, sha256 24eabdcdb655729fdc8aaec1421211d2a6802a6b521098bc06717035521dec81)
BibTeX
@misc{dc4ab7be0d69ad,
title = {A Function-level Dataset of Vulnerable and Fixed Source Code in JavaScript and TypeScript — arXiv:2609.38012},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.38012},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_4ab7be0d69ad; sha256 24eabdcdb655729fdc8aaec1421211d2a6802a6b521098bc06717035521dec81},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.38012. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
JavaScript and TypeScript are widely used in modern web development, making their security critical; however, automated vulnerability detection is often constrained by the availability of high-quality training data. Here we present JsVul, a dataset curated from seven major sources. Unlike generic multi-language datasets that may retain noise -- such as minified code and cosmetic edits -- JsVul utilizes a language-specific pipeline. We collected pre-fix and post-fix versions of files around security fixes and, by filtering irrelevant artifacts and applying automated syntax normalization, isolated security-related changes. We ensured data integrity through multi-stage deduplication and heuristic-based labeling. Provided in a time-ordered JSONL format, JsVul supports robust model training in the JavaScript and TypeScript ecosystem and demonstrates the importance of language-aware preprocessing in building vulnerability datasets. Tema degli esploratori: fiducia digitale e crittografia (retro-catalogo arXiv: annunci del 2026-09-30 in cs.CR). Categorie arXiv: Cryptography and Security (cs.CR) ; Software Engineering (cs.SE). Pagina del lavoro: https://arxiv.org/abs/2609.38012 — 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-07T16:58:17.372Z dalla pagina https://arxiv.org/catchup/cs.CR/2026-09-30?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).