ZeroDayBench-22: A Reproducible Protocol and Evaluation Harness for CVE-Linked Source-Code Vulnerability Detection Benchmarks

Empirical evaluation of deep-learning source-code vulnerability detectors has been shown to be highly sensitive to how the underlying corpus is constructed and how the train/test split is defined. Recent methodological work has documented that reported accuracies collapse toward chance level once repository leakage, class-style leakage, and duplicate leakage are removed. Rebuilding evaluations under these constraints requires a corpus construction procedure that is transparent, reproducible, and separated from any single detector implementation. This paper introduces ZeroDayBench-22 as a protocol contribution rather than as a single fixed dataset. The contribution has three parts. First, a reconstruction-oriented benchmark protocol that maps CVE records to specific fix commits, extracts vulnerable and matched non-vulnerable code spans from the same source files, and enforces a repository-disjoint temporal split. Second, a metadata schema that records, per span, the identifiers necessary to reconstruct the exact input from public sources (repository, commit hash, file path, timestamp, language, CWE, label, and normalised-text hash) without redistributing third-party source code. Third, a model-agnostic evaluation harness that takes per-span score files as input and computes ROC-AUC, PR-AUC, Precision, Recall, F1, Recall at fixed FPR operating points, and Recall at top-k, with an explicit sample-size guard that refuses to report Recall@FPR values below the granularity supported by the negative-class count. A prototype metadata release of 240 candidate spans across nine programming languages is documented as an initial reference instance of the protocol. No detector accuracy is reported in this paper; the artefact is the protocol, the schema, and the harness. All code and metadata are released at a public repository under the MIT licence.

Authors

Publication Details

Journal
Al-Noor Journal of Engineering Management and Computer Science
Published
2026-10-26
DOI
https://doi.org/10.71229/69q54g69
Primary Topic
Software Engineering Research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

ZeroDayBench-22: A Reproducible Protocol and Evaluation Harness for CVE-Linked Source-Code Vulnerability Detection Benchmarks

Musab Ahmed Mohammed, Jenan Jader
Al-Noor Journal of Engineering Management and Computer Science
Software Engineering Research
article

ZeroDayBench-22: A Reproducible Protocol and Evaluation Harness for CVE-Linked Source-Code Vulnerability Detection Benchmarks

Musab Ahmed Mohammed, Jenan Jader
article en

Abstract

Empirical evaluation of deep-learning source-code vulnerability detectors has been shown to be highly sensitive to how the underlying corpus is constructed and how the train/test split is defined. Recent methodological work has documented that reported accuracies collapse toward chance level once repository leakage, class-style leakage, and duplicate leakage are removed. Rebuilding evaluations under these constraints requires a corpus construction procedure that is transparent, reproducible, and separated from any single detector implementation. This paper introduces ZeroDayBench-22 as a protocol contribution rather than as a single fixed dataset. The contribution has three parts. First, a reconstruction-oriented benchmark protocol that maps CVE records to specific fix commits, extracts vulnerable and matched non-vulnerable code spans from the same source files, and enforces a repository-disjoint temporal split. Second, a metadata schema that records, per span, the identifiers necessary to reconstruct the exact input from public sources (repository, commit hash, file path, timestamp, language, CWE, label, and normalised-text hash) without redistributing third-party source code. Third, a model-agnostic evaluation harness that takes per-span score files as input and computes ROC-AUC, PR-AUC, Precision, Recall, F1, Recall at fixed FPR operating points, and Recall at top-k, with an explicit sample-size guard that refuses to report Recall@FPR values below the granularity supported by the negative-class count. A prototype metadata release of 240 candidate spans across nine programming languages is documented as an initial reference instance of the protocol. No detector accuracy is reported in this paper; the artefact is the protocol, the schema, and the harness. All code and metadata are released at a public repository under the MIT licence.

Al-Noor Journal of Engineering Management and Computer Science
Openalex Percentile: Top 6%
Software Engineering Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon