codesec-sast-dataset / data /dataset_stats.json
Sibi
Upload data/dataset_stats.json with huggingface_hub
1e9a6e4 verified
Raw History Blame Contribute Delete
1.77 kB
{
"total": 7443,
"train": 6699,
"validation": 744,
"by_task": {
"ast_vuln_detection": 3940,
"vuln_patch": 700,
"assembly_vuln_detection": 6,
"obfuscation_handling": 24,
"supply_chain_sca": 2773
},
"by_language": {
"javascript": 619,
"go": 579,
"python": 660,
"c": 4606,
"csharp": 362,
"cpp": 103,
"java": 508,
"assembly": 6
},
"by_source": {
"curated SAST pattern + tree-sitter AST": 350,
"curated secure pattern + tree-sitter AST": 112,
"DiverseVul (real labeled functions)": 800,
"BigVul (real CVE-fixed functions)": 1800,
"DiverseVul (real non-vulnerable functions)": 600,
"BigVul (real non-vulnerable functions)": 278,
"BigVul (real CVE fix pairs)": 700,
"curated x86/x64 assembly + shellcode signatures": 6,
"generated obfuscated payloads (real encodings)": 20,
"curated hard-obfuscation cases": 3,
"curated benign-minified case": 1,
"OSV (osv.dev) / GitHub Advisory Database": 2292,
"OSV (osv.dev) / Debian & Alpine security trackers": 481
},
"vulnerable": 5679,
"non_vulnerable": 1740,
"real_code_records": 4178,
"top_cwes": [
[
"CWE-119",
545
],
[
"CWE-20",
328
],
[
"CWE-200",
221
],
[
"CWE-399",
198
],
[
"CWE-189",
186
],
[
"CWE-264",
176
],
[
"CWE-125",
173
],
[
"CWE-476",
168
],
[
"CWE-362",
140
],
[
"CWE-22",
137
],
[
"CWE-190",
137
],
[
"CWE-79",
133
],
[
"CWE-787",
127
],
[
"CWE-284",
107
],
[
"CWE-400",
104
]
]
}