Datasets:
Upload 18 files
Browse files- .gitattributes +7 -58
- README.md +217 -1
- full/full_mapping.json +1 -0
- full/full_test.jsonl +3 -0
- full/full_train.jsonl +3 -0
- full/full_val.jsonl +3 -0
- top10/top10_mapping.json +1 -0
- top10/top10_test.jsonl +3 -0
- top10/top10_train.jsonl +3 -0
- top10/top10_val.jsonl +3 -0
- top20/top20_mapping.json +1 -0
- top20/top20_test.jsonl +3 -0
- top20/top20_train.jsonl +3 -0
- top20/top20_val.jsonl +3 -0
- top50/top50_mapping.json +1 -0
- top50/top50_test.jsonl +3 -0
- top50/top50_train.jsonl +3 -0
- top50/top50_val.jsonl +3 -0
.gitattributes
CHANGED
|
@@ -1,60 +1,9 @@
|
|
| 1 |
-
*.
|
| 2 |
-
*.
|
| 3 |
-
*.
|
| 4 |
-
*.
|
| 5 |
-
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 6 |
-
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 7 |
-
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
-
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 9 |
-
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 10 |
-
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 11 |
-
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 12 |
-
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
| 13 |
-
*.mds filter=lfs diff=lfs merge=lfs -text
|
| 14 |
-
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 15 |
-
*.model filter=lfs diff=lfs merge=lfs -text
|
| 16 |
-
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 17 |
-
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 18 |
-
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 19 |
-
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 20 |
-
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 21 |
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 22 |
-
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 23 |
-
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 24 |
-
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 25 |
-
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 26 |
-
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 27 |
-
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 28 |
-
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 29 |
-
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 30 |
-
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 31 |
-
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 32 |
-
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 33 |
-
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 34 |
-
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 35 |
-
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 36 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 37 |
-
*.
|
| 38 |
-
*
|
| 39 |
-
|
| 40 |
-
*.pcm filter=lfs diff=lfs merge=lfs -text
|
| 41 |
-
*.sam filter=lfs diff=lfs merge=lfs -text
|
| 42 |
-
*.raw filter=lfs diff=lfs merge=lfs -text
|
| 43 |
-
# Audio files - compressed
|
| 44 |
-
*.aac filter=lfs diff=lfs merge=lfs -text
|
| 45 |
-
*.flac filter=lfs diff=lfs merge=lfs -text
|
| 46 |
-
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 47 |
-
*.ogg filter=lfs diff=lfs merge=lfs -text
|
| 48 |
-
*.wav filter=lfs diff=lfs merge=lfs -text
|
| 49 |
-
# Image files - uncompressed
|
| 50 |
-
*.bmp filter=lfs diff=lfs merge=lfs -text
|
| 51 |
-
*.gif filter=lfs diff=lfs merge=lfs -text
|
| 52 |
-
*.png filter=lfs diff=lfs merge=lfs -text
|
| 53 |
-
*.tiff filter=lfs diff=lfs merge=lfs -text
|
| 54 |
-
# Image files - compressed
|
| 55 |
-
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 56 |
-
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 57 |
-
*.webp filter=lfs diff=lfs merge=lfs -text
|
| 58 |
-
# Video files - compressed
|
| 59 |
-
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
-
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
| 1 |
+
*.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.jsonl.gz filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.csv filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.csv.gz filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
*.parquet filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.tar.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
README.md
CHANGED
|
@@ -1,3 +1,219 @@
|
|
| 1 |
---
|
| 2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
pretty_name: VulnBridge
|
| 3 |
+
license: other
|
| 4 |
+
task_categories:
|
| 5 |
+
- text-classification
|
| 6 |
+
language:
|
| 7 |
+
- code
|
| 8 |
+
tags:
|
| 9 |
+
- software-security
|
| 10 |
+
- vulnerability-detection
|
| 11 |
+
- cwe-classification
|
| 12 |
+
- source-code
|
| 13 |
+
- benchmark
|
| 14 |
+
- c
|
| 15 |
+
- cpp
|
| 16 |
+
size_categories:
|
| 17 |
+
- 100K<n<1M
|
| 18 |
+
configs:
|
| 19 |
+
- config_name: top10
|
| 20 |
+
data_files:
|
| 21 |
+
- split: train
|
| 22 |
+
path: top10/train.jsonl
|
| 23 |
+
- split: validation
|
| 24 |
+
path: top10/validation.jsonl
|
| 25 |
+
- split: test
|
| 26 |
+
path: top10/test.jsonl
|
| 27 |
+
- config_name: top20
|
| 28 |
+
data_files:
|
| 29 |
+
- split: train
|
| 30 |
+
path: top20/train.jsonl
|
| 31 |
+
- split: validation
|
| 32 |
+
path: top20/validation.jsonl
|
| 33 |
+
- split: test
|
| 34 |
+
path: top20/test.jsonl
|
| 35 |
+
- config_name: top50
|
| 36 |
+
data_files:
|
| 37 |
+
- split: train
|
| 38 |
+
path: top50/train.jsonl
|
| 39 |
+
- split: validation
|
| 40 |
+
path: top50/validation.jsonl
|
| 41 |
+
- split: test
|
| 42 |
+
path: top50/test.jsonl
|
| 43 |
+
- config_name: full
|
| 44 |
+
data_files:
|
| 45 |
+
- split: train
|
| 46 |
+
path: full/train.jsonl
|
| 47 |
+
- split: validation
|
| 48 |
+
path: full/validation.jsonl
|
| 49 |
+
- split: test
|
| 50 |
+
path: full/test.jsonl
|
| 51 |
---
|
| 52 |
+
|
| 53 |
+
# VulnBridge
|
| 54 |
+
|
| 55 |
+
VulnBridge is a unified function-level benchmark for software vulnerability
|
| 56 |
+
detection and CWE classification. It integrates seven public C/C++ vulnerability
|
| 57 |
+
datasets under a common schema, applies function-level deduplication, normalizes
|
| 58 |
+
binary and CWE labels, derives frequency-based Top-K CWE variants, and provides
|
| 59 |
+
fixed stratified train/validation/test splits.
|
| 60 |
+
|
| 61 |
+
The benchmark is designed for two tasks:
|
| 62 |
+
|
| 63 |
+
- Binary vulnerability detection: predict whether a function is vulnerable.
|
| 64 |
+
- CWE classification: predict the CWE weakness category for CWE-annotated
|
| 65 |
+
vulnerable functions.
|
| 66 |
+
|
| 67 |
+
## Dataset Summary
|
| 68 |
+
|
| 69 |
+
After unification and deduplication, VulnBridge contains 744,650 functions,
|
| 70 |
+
52,936 vulnerable functions, 333 CWE types, and 7,749 CVEs. The public modeling
|
| 71 |
+
variants are:
|
| 72 |
+
|
| 73 |
+
| Variant | Train | Validation | Test | Total | #CWE | Vulnerable % | Head coverage % | Shrink vs Full % |
|
| 74 |
+
|---|---:|---:|---:|---:|---:|---:|---:|---:|
|
| 75 |
+
| Top-10 | 36,088 | 4,511 | 4,511 | 45,110 | 10 | 39.6 | 60.5 | 20.0 |
|
| 76 |
+
| Top-20 | 40,468 | 5,058 | 5,059 | 50,585 | 20 | 46.1 | 79.5 | 10.3 |
|
| 77 |
+
| Top-50 | 43,740 | 5,467 | 5,468 | 54,675 | 50 | 50.2 | 93.9 | 3.0 |
|
| 78 |
+
| Full | 45,100 | 5,638 | 5,638 | 56,376 | 174 | 51.7 | N/A | 0.0 |
|
| 79 |
+
|
| 80 |
+
## Source Datasets
|
| 81 |
+
|
| 82 |
+
VulnBridge is constructed from the following public function-level vulnerability
|
| 83 |
+
sources:
|
| 84 |
+
|
| 85 |
+
| Dataset | Year | Functions | Vulnerable | Vulnerable % | Vulnerable with CWE | #CWE | #CVE | Language |
|
| 86 |
+
|---|---:|---:|---:|---:|---:|---:|---:|---|
|
| 87 |
+
| Devign | 2019 | 26,037 | 11,888 | 45.7 | N/A | N/A | N/A | C/C++ |
|
| 88 |
+
| ReVeal | 2020 | 18,169 | 1,664 | 9.2 | N/A | N/A | N/A | C/C++ |
|
| 89 |
+
| CrossVul | 2023 | 134,126 | 6,884 | 5.1 | 6,833 | 107 | 224 | C/C++ |
|
| 90 |
+
| CVEfixes | 2022 | 168,089 | 8,932 | 5.3 | 8,343 | 121 | 104 | C/C++ |
|
| 91 |
+
| BigVul | 2020 | 264,919 | 11,823 | 4.5 | 8,783 | 91 | 181 | C/C++ |
|
| 92 |
+
| MegaVul | 2024 | 353,873 | 11,557 | 3.3 | 11,556 | 312 | 5,620 | C/C++ |
|
| 93 |
+
| DiverseVul | 2023 | 523,956 | 41,377 | 7.9 | 22,382 | 155 | 2,336 | C/C++ |
|
| 94 |
+
| VulnBridge | 2026 | 744,650 | 52,936 | 7.1 | 28,188 | 333 | 7,749 | C/C++ |
|
| 95 |
+
|
| 96 |
+
## Data Format
|
| 97 |
+
|
| 98 |
+
Each split is distributed as JSON Lines. A typical record has the following
|
| 99 |
+
fields:
|
| 100 |
+
|
| 101 |
+
```json
|
| 102 |
+
{
|
| 103 |
+
"id": "top20_train_000001",
|
| 104 |
+
"func": "int example(...) { ... }",
|
| 105 |
+
"label_bin": 1,
|
| 106 |
+
"CWE": ["CWE-787"],
|
| 107 |
+
"CWE_multiclass": "CWE-787",
|
| 108 |
+
"label_cwe_multiclass": 0,
|
| 109 |
+
"source": "BigVul",
|
| 110 |
+
"cve": "CVE-XXXX-YYYY"
|
| 111 |
+
}
|
| 112 |
+
```
|
| 113 |
+
|
| 114 |
+
Recommended fields:
|
| 115 |
+
|
| 116 |
+
| Field | Type | Description |
|
| 117 |
+
|---|---|---|
|
| 118 |
+
| `id` | string | Stable sample identifier. |
|
| 119 |
+
| `func` | string | Function-level C/C++ source code. |
|
| 120 |
+
| `label_bin` | integer | Binary vulnerability label: `1` vulnerable, `0` non-vulnerable. |
|
| 121 |
+
| `CWE` | list[string] or null | Original normalized CWE label(s), when available. |
|
| 122 |
+
| `CWE_multiclass` | string or null | Selected single CWE class for multiclass classification. |
|
| 123 |
+
| `label_cwe_multiclass` | integer | Integer class id for CWE classification; use `-1` when unavailable or ignored. |
|
| 124 |
+
| `source` | string | Original source dataset name. |
|
| 125 |
+
| `cve` | string or null | CVE identifier when available. |
|
| 126 |
+
|
| 127 |
+
For CWE classification, samples with `label_cwe_multiclass = -1` should be
|
| 128 |
+
ignored in the CWE loss and CWE metrics, while they may still be used for binary
|
| 129 |
+
vulnerability detection.
|
| 130 |
+
|
| 131 |
+
## Loading the Dataset
|
| 132 |
+
|
| 133 |
+
Replace `YOUR_NAMESPACE/VulnBridge` with the final Hugging Face dataset
|
| 134 |
+
repository id.
|
| 135 |
+
|
| 136 |
+
```python
|
| 137 |
+
from datasets import load_dataset
|
| 138 |
+
|
| 139 |
+
dataset = load_dataset("YOUR_NAMESPACE/VulnBridge", "top20")
|
| 140 |
+
|
| 141 |
+
train = dataset["train"]
|
| 142 |
+
valid = dataset["validation"]
|
| 143 |
+
test = dataset["test"]
|
| 144 |
+
|
| 145 |
+
print(train[0].keys())
|
| 146 |
+
```
|
| 147 |
+
|
| 148 |
+
To load a different CWE coverage variant:
|
| 149 |
+
|
| 150 |
+
```python
|
| 151 |
+
top10 = load_dataset("YOUR_NAMESPACE/VulnBridge", "top10")
|
| 152 |
+
top50 = load_dataset("YOUR_NAMESPACE/VulnBridge", "top50")
|
| 153 |
+
full = load_dataset("YOUR_NAMESPACE/VulnBridge", "full")
|
| 154 |
+
```
|
| 155 |
+
|
| 156 |
+
## Intended Use
|
| 157 |
+
|
| 158 |
+
VulnBridge is intended for research on:
|
| 159 |
+
|
| 160 |
+
- Function-level software vulnerability detection.
|
| 161 |
+
- CWE weakness classification.
|
| 162 |
+
- Benchmarking pre-trained code encoders and source-code classifiers.
|
| 163 |
+
- Studying class imbalance, label normalization, deduplication, and long-tail CWE
|
| 164 |
+
behavior under fixed evaluation splits.
|
| 165 |
+
|
| 166 |
+
The dataset is not a production vulnerability scanner and should not be used as
|
| 167 |
+
the sole basis for security decisions.
|
| 168 |
+
|
| 169 |
+
## Construction Pipeline
|
| 170 |
+
|
| 171 |
+
VulnBridge is built through the following stages:
|
| 172 |
+
|
| 173 |
+
1. Source merging into a common function-level record format.
|
| 174 |
+
2. Function-level deduplication before splitting to reduce cross-split leakage.
|
| 175 |
+
3. Binary vulnerability label normalization.
|
| 176 |
+
4. CWE label normalization into a shared schema.
|
| 177 |
+
5. Frequency-based Top-K CWE variant construction.
|
| 178 |
+
6. Fixed stratified 80/10/10 train/validation/test splitting.
|
| 179 |
+
|
| 180 |
+
Unresolved or inconsistent CWE labels are excluded from CWE training and
|
| 181 |
+
evaluation but retain their binary vulnerability labels.
|
| 182 |
+
|
| 183 |
+
## Limitations
|
| 184 |
+
|
| 185 |
+
- The benchmark currently covers C/C++ functions only.
|
| 186 |
+
- CWE labels are inherited from public vulnerability datasets and may contain
|
| 187 |
+
residual source-label noise.
|
| 188 |
+
- Function-level deduplication reduces but cannot fully eliminate all semantic
|
| 189 |
+
overlap or labeling inconsistencies.
|
| 190 |
+
- CWE labels are long-tailed; macro-averaged metrics should be reported
|
| 191 |
+
alongside accuracy.
|
| 192 |
+
|
| 193 |
+
## Ethical and Security Considerations
|
| 194 |
+
|
| 195 |
+
The dataset contains source code associated with software vulnerabilities. It is
|
| 196 |
+
released for defensive research, benchmarking, and reproducibility. Users should
|
| 197 |
+
respect the licenses and terms of the upstream datasets and avoid using the data
|
| 198 |
+
to facilitate harmful exploitation.
|
| 199 |
+
|
| 200 |
+
## Citation
|
| 201 |
+
|
| 202 |
+
If you use VulnBridge, please cite:
|
| 203 |
+
|
| 204 |
+
```bibtex
|
| 205 |
+
@inproceedings{nguyen2026vulnbridge,
|
| 206 |
+
title = {VulnBridge: A Unified Function-Level Benchmark for Vulnerability Detection and CWE Classification},
|
| 207 |
+
author = {Nguyen, Anh Thi-Hoang and Nguyen, Dung Ha and Cam, Nguyen Tan},
|
| 208 |
+
booktitle = {Proceedings of ISWTA 2026},
|
| 209 |
+
year = {2026}
|
| 210 |
+
}
|
| 211 |
+
```
|
| 212 |
+
|
| 213 |
+
## License
|
| 214 |
+
|
| 215 |
+
This benchmark is derived from multiple public datasets. Before public release,
|
| 216 |
+
please verify redistribution rights and license compatibility for every upstream
|
| 217 |
+
source. If in doubt, publish only normalized metadata, splits, and scripts, and
|
| 218 |
+
provide instructions for users to reconstruct the dataset from the upstream
|
| 219 |
+
sources.
|
full/full_mapping.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"CWE-125": 0, "CWE-400": 1, "CWE-189": 2, "CWE-190": 3, "CWE-119": 4, "CWE-754": 5, "CWE-787": 6, "CWE-399": 7, "CWE-476": 8, "CWE-Other": 9, "CWE-362": 10, "CWE-835": 11, "CWE-295": 12, "CWE-264": 13, "CWE-20": 14, "CWE-284": 15, "CWE-416": 16, "CWE-415": 17, "CWE-401": 18, "CWE-662": 19, "CWE-Noinfo": 20, "CWE-681": 21, "CWE-674": 22, "CWE-444": 23, "CWE-345": 24, "CWE-241": 25, "CWE-22": 26, "CWE-323": 27, "CWE-703": 28, "CWE-120": 29, "CWE-203": 30, "CWE-732": 31, "CWE-909": 32, "CWE-212": 33, "CWE-617": 34, "CWE-611": 35, "CWE-755": 36, "CWE-200": 37, "CWE-330": 38, "CWE-79": 39, "CWE-269": 40, "CWE-122": 41, "CWE-193": 42, "CWE-59": 43, "CWE-254": 44, "CWE-522": 45, "CWE-134": 46, "CWE-772": 47, "CWE-310": 48, "CWE-834": 49, "CWE-61": 50, "CWE-131": 51, "CWE-369": 52, "CWE-667": 53, "CWE-823": 54, "CWE-290": 55, "CWE-19": 56, "CWE-862": 57, "CWE-276": 58, "CWE-287": 59, "CWE-94": 60, "CWE-770": 61, "CWE-354": 62, "CWE-665": 63, "CWE-209": 64, "CWE-74": 65, "CWE-843": 66, "CWE-275": 67, "CWE-459": 68, "CWE-319": 69, "CWE-78": 70, "CWE-863": 71, "CWE-908": 72, "CWE-417": 73, "CWE-384": 74, "CWE-191": 75, "CWE-704": 76, "CWE-326": 77, "CWE-327": 78, "CWE-404": 79, "CWE-406": 80, "CWE-1284": 81, "CWE-352": 82, "CWE-682": 83, "CWE-1021": 84, "CWE-349": 85, "CWE-502": 86, "CWE-77": 87, "CWE-89": 88, "CWE-918": 89, "CWE-252": 90, "CWE-436": 91, "CWE-116": 92, "CWE-306": 93, "CWE-346": 94, "CWE-285": 95, "CWE-434": 96, "CWE-388": 97, "CWE-367": 98, "CWE-129": 99, "CWE-697": 100, "CWE-763": 101, "CWE-320": 102, "CWE-776": 103, "CWE-17": 104, "CWE-121": 105, "CWE-672": 106, "CWE-93": 107, "CWE-407": 108, "CWE-668": 109, "CWE-601": 110, "CWE-911": 111, "CWE-331": 112, "CWE-337": 113, "CWE-693": 114, "CWE-288": 115, "CWE-613": 116, "CWE-347": 117, "CWE-172": 118, "CWE-824": 119, "CWE-1077": 120, "CWE-532": 121, "CWE-229": 122, "CWE-565": 123, "CWE-16": 124, "CWE-312": 125, "CWE-113": 126, "CWE-639": 127, "CWE-913": 128, "CWE-338": 129, "CWE-88": 130, "CWE-427": 131, "CWE-197": 132, "CWE-590": 133, "CWE-91": 134, "CWE-282": 135, "CWE-670": 136, "CWE-610": 137, "CWE-90": 138, "CWE-126": 139, "CWE-798": 140, "CWE-294": 141, "CWE-628": 142, "CWE-924": 143, "CWE-762": 144, "CWE-281": 145, "CWE-208": 146, "CWE-1333": 147, "CWE-335": 148, "CWE-385": 149, "CWE-255": 150, "CWE-838": 151, "CWE-426": 152, "CWE-118": 153, "CWE-266": 154, "CWE-428": 155, "CWE-18": 156, "CWE-1188": 157, "CWE-273": 158, "CWE-440": 159, "CWE-73": 160, "CWE-552": 161, "CWE-307": 162, "CWE-117": 163, "CWE-1187": 164, "CWE-300": 165, "CWE-325": 166, "CWE-680": 167, "CWE-1049": 168, "CWE-457": 169, "CWE-361": 170, "CWE-250": 171, "CWE-26": 172, "CWE-23": 173}
|
full/full_test.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:501c2126893fc55376fd15f9416dd32e52fd51eccf65bac512535a773a86b001
|
| 3 |
+
size 19413878
|
full/full_train.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:94528e0268a19d595db6cdd36343df7eac460b4081e011b5006f938c91164f6a
|
| 3 |
+
size 154015039
|
full/full_val.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:76c6ea9178f38236f737d8b1db3bc0c2fba0199b79beb42a7c77b50a2bcfcaa8
|
| 3 |
+
size 19407088
|
top10/top10_mapping.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"CWE-787": 0, "CWE-125": 1, "CWE-119": 2, "CWE-20": 3, "CWE-476": 4, "CWE-Other": 5, "CWE-416": 6, "CWE-Noinfo": 7, "CWE-703": 8, "CWE-190": 9}
|
top10/top10_test.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3ffc5a554e1d98513fd3f055b80e4cc6fb83b34c28462a7ee40545711174aaa8
|
| 3 |
+
size 11260706
|
top10/top10_train.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:05c375a813ee7d0f6c9dd805612171958b0342e3f67f82aad623fb3c509070d0
|
| 3 |
+
size 85617291
|
top10/top10_val.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2a3ff6fb4d49d80cb6a8571ba6154ee9abf38976bab60a2ea63c20c48a0c6011
|
| 3 |
+
size 10984038
|
top20/top20_mapping.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"CWE-787": 0, "CWE-125": 1, "CWE-119": 2, "CWE-20": 3, "CWE-476": 4, "CWE-Other": 5, "CWE-416": 6, "CWE-Noinfo": 7, "CWE-703": 8, "CWE-190": 9, "CWE-200": 10, "CWE-399": 11, "CWE-362": 12, "CWE-189": 13, "CWE-264": 14, "CWE-401": 15, "CWE-284": 16, "CWE-120": 17, "CWE-400": 18, "CWE-310": 19}
|
top20/top20_test.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e6270c1c7d09a986cdbb30462ac9da1230da2d027d15bfce4dd9896765393945
|
| 3 |
+
size 13504701
|
top20/top20_train.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9441df47ea1d4b3ff33b4cffec30ba696149a7fd515bf31f8141522574f1bd57
|
| 3 |
+
size 103627711
|
top20/top20_val.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b586fe2130caf3178016cda6e552f102f938aed0c8fc235a38ae1c07ed851cb7
|
| 3 |
+
size 13425578
|
top50/top50_mapping.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"CWE-787": 0, "CWE-125": 1, "CWE-119": 2, "CWE-20": 3, "CWE-476": 4, "CWE-Other": 5, "CWE-416": 6, "CWE-Noinfo": 7, "CWE-703": 8, "CWE-190": 9, "CWE-200": 10, "CWE-399": 11, "CWE-362": 12, "CWE-189": 13, "CWE-264": 14, "CWE-401": 15, "CWE-284": 16, "CWE-120": 17, "CWE-400": 18, "CWE-310": 19, "CWE-415": 20, "CWE-369": 21, "CWE-835": 22, "CWE-617": 23, "CWE-22": 24, "CWE-772": 25, "CWE-295": 26, "CWE-269": 27, "CWE-770": 28, "CWE-94": 29, "CWE-78": 30, "CWE-254": 31, "CWE-59": 32, "CWE-122": 33, "CWE-287": 34, "CWE-19": 35, "CWE-674": 36, "CWE-862": 37, "CWE-89": 38, "CWE-79": 39, "CWE-74": 40, "CWE-61": 41, "CWE-908": 42, "CWE-834": 43, "CWE-754": 44, "CWE-732": 45, "CWE-909": 46, "CWE-241": 47, "CWE-193": 48, "CWE-444": 49}
|
top50/top50_test.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:17b14fadfb5031c6ec4f16be656edc152ec60eee8106cf11efee819447e59003
|
| 3 |
+
size 15571989
|
top50/top50_train.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:10303c4b30e8237d15b3f05c9ddaa8b93841d1b3f65501ab36efb9ccacd41f17
|
| 3 |
+
size 126103713
|
top50/top50_val.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b18788c49db0eae954fbbe412fcff7f7516e8237857f529a932d2a62f2bf66e6
|
| 3 |
+
size 16162595
|