| Name | Size | Uploaded | Xet hash |
|---|---|---|---|
| code | 71 items | ||
| graphs | 288 items | ||
| kb | 6 items | ||
| network | 524 items | ||
| scripts | 95 items | ||
| CITATIONS.bib | 20.5 kB xet | 0903d839 | |
| README.md | 29.7 kB xet | 05fcb368 | |
| sources.yaml | 383 kB xet | 34c3b16d |
cyberset
Personal research project by mvd001 (Hugging Face). Defensive / academic use.
Bucket: hf://buckets/mvd001/cyberset · dataset repo (datasets.load_dataset): https://huggingface.co/datasets/mvd001/cyberset · built 2026-10-04 12:38 IST · build plan: Stage 1 (knowledge hub), Stages 2–3 (code tier), Stage 4 (graph tier) and Stage 5 (network tier) of PLAN.md.
This bucket contains no exploit code, malware, packet captures or payload bytes. Exploit-DB appears only as EDB IDs linked to CVEs; network data is flow features only.
⚠️ NON-COMMERCIAL RESEARCH USE ONLY —
network/net_flow/dataset=nf_uq_nids_v2/. NF-UQ-NIDS-v2 (University of Queensland, licence "Permitted Re-Use with Commercial Use Restriction") is derived from UNSW-NB15, BoT-IoT and ToN-IoT (academic-only datasets from UNSW Canberra) and CSE-CIC-IDS2018. Commercial use requires the authors' agreement. If you use it you must cite Sarhan, Layeghy & Portmann (2022) and the upstream papers: Moustafa & Slay 2015 (UNSW-NB15), Koroniotis et al. 2019 (BoT-IoT), Moustafa 2021 / Alsaedi et al. 2020 (ToN-IoT) and Sharafaldin et al. 2018 (CSE-CIC-IDS2018) — BibTeX keyssarhan2022nfv2,nfuqnidsv2data,moustafa2015unswnb15,koroniotis2019botiot,moustafa2021toniot,alsaedi2020toniot,sharafaldin2018cicidsinCITATIONS.bib.
⚖️ GPL-3.0 (share-alike) —
code/gpl/megavul/. The MegaVul-derived folder is GPL-3.0, unlike the rest of the code tier; see the MegaVul section below andcode/gpl/megavul/LICENSE.
Layout
| Path | What | Size |
|---|---|---|
kb/ |
knowledge hub: vuln_kb, weakness_kb, capec_kb, attack_kb, taxonomy_map, ids_rules (Parquet, zstd) |
85.0 MB |
code/code_sample/language=<lang>/ |
deduplicated function/file-level vulnerable + non-vulnerable code, public sources only | 938.7 MB |
code/restricted_index/source_dataset=<ds>/ |
IDs, hashes and labels only (no code) for DiverseVul, ReposVul, CleanVul, Devign | 66.1 MB |
code/gpl/megavul/ |
GPL-3.0 (share-alike) MegaVul C/C++ + Java functions not already in code_sample, overlap_map.parquet, LICENSE |
110.1 MB |
code/label_conflicts.parquet |
every sample whose sources disagree on the label, with all votes and the resolution | 1.8 MB |
code/STATS.md |
code-tier row counts, dedup and conflict statistics | |
graphs/code_graph/language=*/split=*/shard-*.parquet |
Joern v4.0.645 code graphs (AST/CFG/CDG/DDG/PDG/CALL) of the public code_sample functions | Apache-2.0 tool; graphs follow each row's source_license |
graphs/graph_status/, graphs/vocab/, graphs/README.md, graphs/STATS.md |
per-function graph outcome, node-type/token/edge-type vocabularies, graph schema and statistics | |
network/net_flow/dataset=<ds>/ |
harmonised network flows (features + labels) for CIC-IDS2017, CSE-CIC-IDS2018, NF-UQ-NIDS-v2, CTU-13, IoT-23, plus CVE-linked flows from Suricata over public pcaps (CSE-CIC-IDS2018 and CIC-IDS2017 pcaps, MACCDC, DARPA 1999, WRCCDC, FIRST 2015, F5 / container honeypots) and CVE-tagged exploit pcaps | 20,366.0 MB |
network/net_alert/dataset=<ds>/ |
Suricata ET Open alerts on the published pcap-derived flows (one row per flow × rule; sid, rule CVEs, metadata) | 7.0 MB |
network/restricted_index/ |
UNSW-NB15 flow IDs + labels + GT CVE ids only, and rebuild_unsw_nb15.py |
43.0 MB |
network/net_capture.parquet, network/README.md, network/STATS.md |
per-capture summary, network schema/protocol docs, network statistics | |
README.md, CITATIONS.bib, sources.yaml, scripts/ |
this card, citations, download manifest with sha256s, full rebuild code |
Query directly, e.g. with DuckDB:
SELECT language, is_vulnerable, count(*) FROM read_parquet('hf://buckets/mvd001/cyberset/code/code_sample/*/*.parquet', hive_partitioning=true) GROUP BY ALL;
(or hf sync hf://buckets/mvd001/cyberset ./cyberset and read locally).
Knowledge hub (kb/)
vuln_kb has one row per CVE (400,870 rows, rejected CVEs kept with cve_state='REJECTED') joining CVE List V5, NVD (CVSS v2/v3/v4, CWE, CPE),
OSV + GHSA (ecosystems, fix commits with a heuristic score), CWE→CAPEC→ATT&CK closure, CISA KEV, EPSS, Exploit-DB (exploitdb_ids only) and the
ET Open reference:cve index (ids_signatures: sid / msg / classtype, no rule bodies). Other tables: weakness_kb (CWE 4.20), capec_kb (CAPEC 3.9),
attack_kb (ATT&CK Enterprise 19.2), taxonomy_map (CWE→CAPEC→ATT&CK closure + 25 curated network attack families with dataset label aliases),
ids_rules (72,048 ET Open rules: metadata + CVE refs). Every table has a source_license column. Full column list and coverage statistics:
scripts/README_hub.md and scripts/STATS_hub.md.
Code tier (code/code_sample)
2,212,564 rows — 299,716 vulnerable, 1,912,848 non-vulnerable — partitioned by language. One row per unique normalised function
(or file, where a source only has files and no function could be found).
Schema
| column | meaning |
|---|---|
sample_id |
sha256 of the normalised code (comments stripped string-aware, whitespace collapsed; identifiers kept). Primary key. Same as code_normalized_hash. |
language, language_detail |
partition language (c_cpp, java, python, php, javascript, …) and finer detail (c, cpp, c_or_cpp, …) |
granularity |
function or file |
code, code_sha256 |
original code of the primary origin, and sha256 of that raw text |
near_dup_cluster_id, near_dup_cluster_size |
MinHash-LSH cluster (token 5-grams, 128 splitmix64-seeded hash functions, 16 bands × 8 rows, edges kept if estimated Jaccard ≥ 0.8; id = smallest member sample_id) |
is_cluster_representative |
one row per (cluster, split) — filter on it to train without near-duplicates |
near_dup_of_test |
train row whose near-dup cluster also has a test member (possible leakage; drop for strict evaluation) |
project, repo_url, commit_sha, commit_date, date_source |
provenance; date_source = commit or cve_published (fallback via the hub) |
file_path, func_name, start_line, end_line |
location (when the source provides it) |
is_vulnerable, vuln_lines |
resolved label; vuln_lines (Big-Vul only) are deleted-line numbers within the function |
pair_id, pair_role |
links vulnerable ↔ patched versions; pair_role ∈ vuln, fix (post-fix version, not vulnerable), unrelated_in_commit (unchanged function from a fixed file) |
cve_ids, cwe_ids, cve_link_source, cwe_link_source |
union over all origins; hub_fix_commit / hub_cve = filled in from kb/vuln_kb (commit sha → CVE, CVE → CWE) |
label_source, label_confidence, label_conflict, confidence_notes, cleanvul_score |
label provenance (below) |
origins |
list of every source record with this exact normalised code: dataset, original_id, original_label, label_source, label_confidence, is_vulnerable, source_split (includes ID-only sources) |
n_origins, n_datasets, primary_source |
how many source records / datasets share this code; which one supplied code and metadata |
source_license |
license of the primary source (the code itself keeps its upstream project license — see below) |
split, split_strategy |
train / val / test and how it was assigned (below) |
source_extra |
small JSON blob of source-specific fields (e.g. PrimeVul hash, Big-Vul CVSS, MoreFixes fix score) |
Label provenance and confidence
label_source |
used for | base confidence |
|---|---|---|
prime_vul |
PrimeVul (one-function / NVD-description-matched fixes) | vuln 0.90 · paired fix 0.85 · other benign 0.70 |
nvd_patch_commit |
CVEfixes, MoreFixes, CrossVul, Big-Vul (functions changed by a CVE fix commit) | vuln 0.65 (+0.05 if the commit changed exactly one function) · fix 0.60 · unrelated_in_commit 0.50; −0.30 for test/vendor/minified paths; MoreFixes −0.25 when its fix score < 65; CrossVul file-level rows −0.15 |
synthetic |
Juliet C/C++ 1.3 (bad* vs good* functions) |
1.0 (but synthetic style — models overfit to it) |
static_analyzer |
Draper VDISC (flawfinder/cppcheck/clang SA labels) | vuln 0.35 · not flagged 0.30 |
| ID-only sources (restricted_index) | diversevul_commit 0.60/0.50, reposvul_untangled 0.70/0.60 (vuln, by llm+static check) 0.50 (unchanged), manual_commit_review (Devign) 0.80/0.75, llm_heuristic (CleanVul) by score 4:0.80 3:0.70 2:0.45 1:0.30 0:0.15 |
Resolution for a sample_id seen in several records: every record votes with its confidence (CleanVul does not vote; it is only a confidence
signal). The label with the highest single confidence wins (ties: higher summed confidence, then vulnerable). Agreement of ≥2 datasets adds +0.05
(cap 0.97); a conflict sets label_conflict=true and confidence = winner − 0.5 × best loser. CleanVul score ≥3 on the vulnerable version adds
+0.10, ≤1 subtracts 0.20. All conflicts are in code/label_conflicts.parquet. Recommended filters: label_confidence >= 0.6 for supervised
training, label_source <> 'static_analyzer' and <> 'synthetic' for real-world evaluation.
Splits
- PrimeVul official split kept intact (
split_strategy='primevul_official'): any sample present in PrimeVul keeps PrimeVul's train/valid/test (valid →val); PrimeVul test is the protected external benchmark. - Draper VDISC keeps its official split (
draper_official); Juliet is split 80/10/10 per test case (testcase_random, good/bad of one case together). - All other real-world rows: time-ordered, project-disjoint (
project_time): projects are ordered by the median date of their rows; the most recent projects filltest(≈10 % of rows), the nextval(≈10 %), the resttrain. Projects holding >3 % of rows (e.g. the Linux kernel) are forced into train. Rows without a project fall back to pure time (time: ≥2023-01-01 test, 2022 val). Vulnerable/fixed pairs never straddle splits, except 13 pairs whose members PrimeVul itself put in different official splits (kept as-is so PrimeVul's split stays intact).
Statistics
See code/STATS.md for the full tables. Headline numbers:
- source records staged: 3,317,124; unique normalised samples: 2,439,384 (exact duplicates removed: 877,740)
- label conflicts: 21,379 samples (21,058 of them in the public table)
- near-dup: 1,919,546 clusters over 2,212,564 public rows; 469,522 rows sit in non-singleton clusters; 85,822 train rows are near-dups of a test row
MegaVul — GPL-3.0 folder (code/gpl/megavul/)
⚖️ GPL-3.0 (copyleft / share-alike) — everything under
code/gpl/megavul/. This folder is derived from MegaVul (Ni et al., MSR '24), which is released under the GNU General Public License v3.0. If you redistribute this folder, a modified version of it, or a dataset that incorporates it, you must do so under GPL-3.0 (include the licence text, keep the notices, and make the corresponding source available). It is kept apart from the permissively-licensedcode/code_sample/so that the rest of the bucket can be used without these terms. Licence text:code/gpl/megavul/LICENSE. Citeni2024megavul(CITATIONS.bib).
What it is. MegaVul 2024-04 (CVE-linked fix commits crawled from 28 git hosting sites; function-level). Read from megavul_simple.json
(+ commit dates / CVSS from cve_with_graph_abstract_commit.json) for C/C++ and Java; the Joern graph zips were not downloaded.
| language | MegaVul functions | vulnerable | non-vulnerable | rows staged (vuln + patched + unchanged) | already in code/code_sample (sample_ids) |
published here | of which vulnerable |
|---|---|---|---|---|---|---|---|
| c_cpp | 353,873 | 17,975 | 335,898 | 371,844 | 159,209 | 195,772 | 8,305 |
| java | 41,949 | 2,433 | 39,516 | 44,382 | 6,202 | 36,501 | 1,335 |
Mapping to code_sample. Same columns as code/code_sample (plus near_dup_in_public_tier), so the two can be unioned with
union_by_name=true. Each MegaVul vulnerable function gives two rows sharing a pair_id: func_before → is_vulnerable=true,
pair_role='vuln' (vuln_lines = removed lines of MegaVul's diff_func, numbered within the function) and func (after the fix) →
pair_role='fix'; MegaVul's non-vulnerable functions → pair_role='unrelated_in_commit'. sample_id uses exactly the same normalisation and
sha256 as the main tier, so ids are directly comparable. label_source='nvd_patch_commit' with the main tier's confidences (vuln 0.65, +0.05 when the
commit changed one function; fix 0.60; unchanged 0.50; −0.30 for test/vendor paths), then the same multi-source resolution (votes from the
restricted index count, CleanVul is a signal only). source_license='GPL-3.0', primary_source='megavul'; origins[].original_id =
<language>:<index in megavul_simple.json>:<before|after|func>; source_extra keeps CVSS, CVE publish date, parent commit and MegaVul's graph path.
Deduplication. 176,892 MegaVul records (165,411 distinct sample_ids) were already in code/code_sample and are not republished
here; overlap_map.parquet maps each MegaVul id to that existing row (its split, cluster, primary source and label; MegaVul's label agrees for
173,633 records and disagrees for 3,259). The existing public rows were not modified (their origins do not list MegaVul;
use the map). Restricted-index samples that MegaVul also contains are published here with MegaVul's code, and the restricted labels appear in origins.
Near-duplicates and splits. MinHash-LSH exactly as in the main tier (signatures compared against every staged source, public and restricted;
edges at estimated Jaccard ≥ 0.8). A MegaVul row that is a near-duplicate of an existing sample takes that sample's near_dup_cluster_id
(near_dup_in_public_tier=true if the cluster has rows in code/code_sample): 42,349 rows. split_strategy='project_time': a project already
in the main tier keeps its split; new projects are split with the main tier's median-date cut-offs (test ≥ 2023-12-07, val ≥ 2022-05-04; projects with > 3 % of rows → train),
and vulnerable/fixed pairs never straddle splits (also when one half is already in the main tier). near_dup_of_test marks train rows whose cluster has a
test row here or in code/code_sample (5,076 rows); is_cluster_representative is only set where the main tier has no representative for that
(cluster, split). Because MegaVul's Java CVEs are recent, the Java split is val-heavy.
SELECT * FROM read_parquet(['hf://buckets/mvd001/cyberset/code/code_sample/*/*.parquet',
'hf://buckets/mvd001/cyberset/code/gpl/megavul/code_sample/*/*.parquet'], hive_partitioning=true, union_by_name=true);
Network tier (network/)
439,751,219 flows (90,639,991 benign/background, 349,111,228 malicious) from 13 public IDS datasets in one net_flow schema
(NetFlow-style feat_core, CICFlowMeter feat_cic, first-32-packet feat_pkt_seq), partitioned by dataset, with harmonised label_family
→ CWE/CAPEC/ATT&CK and ground-truth / IDS-signature CVE links. UNSW-NB15 (academic-only) is an ID+label index with a rebuild script.
No pcaps, payloads or malware. Details: network/README.md; statistics: network/STATS.md.
CVE-linked flows: 141,097 (246 distinct CVEs), up from 170 (2) — Suricata 7.0.10 + pinned ET Open
CVE rules over public pcaps (CSE-CIC-IDS2018, CIC-IDS2017 (day by day), MACCDC, DARPA 1999, WRCCDC, FIRST 2015, NCC Group F5 and RAID-2023 container honeypots; ids_signature, confidence 0.30–0.50, alerts in network/net_alert/) and CVE-tagged
exploit pcap collections (exploit_pcap, 0.6–0.95; the upstream repos have no licence, so only derived features and labels are published).
CIC-IDS2017 raw pcap coverage complete — all 5 days (Monday–Friday) — 2,091,241 published cic_ids2017 flows matched to the pcap now have UTC ts_start / ts_end and feat_pkt_seq.
| dataset | flows | malicious | licence |
|---|---|---|---|
| iot23 | 325,309,946 | 294,449,255 | CC BY (Stratosphere Lab) |
| nf_uq_nids_v2 | 75,987,976 | 50,822,681 | NON-COMMERCIAL research use only (UQ; cite Sarhan et al. + upstream) |
| ctu13 | 19,976,700 | 444,699 | CC BY (Stratosphere Lab) |
| cse_cic_ids2018 | 16,232,943 | 2,748,235 | UNB CIC research terms (AWS Open Data) |
| cic_ids2017 | 2,099,971 | 505,431 | UNB CIC research terms; Engelen et al. corrected flows |
| maccdc | 110,978 | 110,978 | no explicit licence (Netresec public share); derived features only |
| nccgroup_f5_honeypot | 11,248 | 11,248 | no licence file (NCC Group GitHub); derived features only |
| cse_cic_ids2018_pcap_ids | 10,626 | 10,626 | UNB CIC research terms (AWS Open Data); Suricata-derived |
| container_honeypot_raid2023 | 6,429 | 6,429 | no explicit licence (Netresec share; Spahn et al. 2023); derived features only |
| exploit_pcap | 3,993 | 1,237 | no upstream licence — derived flow features + labels only, no pcaps/payloads |
| darpa1999 | 366 | 366 | MIT LL public release (no explicit licence); derived features only |
| first2015_netforensics | 42 | 42 | no explicit licence (Netresec mirror); derived features only |
| cic_ids2017_pcap_ids | 1 | 1 | UNB CIC research terms; Suricata-derived |
| unsw_nb15 (restricted_index) | 2,797,720 | 485,956 | academic-only — IDs/labels only |
⚠️ NON-COMMERCIAL RESEARCH USE ONLY —
network/net_flow/dataset=nf_uq_nids_v2/. NF-UQ-NIDS-v2 (University of Queensland, licence "Permitted Re-Use with Commercial Use Restriction") is derived from UNSW-NB15, BoT-IoT and ToN-IoT (academic-only datasets from UNSW Canberra) and CSE-CIC-IDS2018. Commercial use requires the authors' agreement. If you use it you must cite Sarhan, Layeghy & Portmann (2022) and the upstream papers: Moustafa & Slay 2015 (UNSW-NB15), Koroniotis et al. 2019 (BoT-IoT), Moustafa 2021 / Alsaedi et al. 2020 (ToN-IoT) and Sharafaldin et al. 2018 (CSE-CIC-IDS2018) — BibTeX keyssarhan2022nfv2,nfuqnidsv2data,moustafa2015unswnb15,koroniotis2019botiot,moustafa2021toniot,alsaedi2020toniot,sharafaldin2018cicidsinCITATIONS.bib.
Graph tier (graphs/)
Joern v4.0.645 (Apache-2.0) code graphs for the public code/code_sample functions: six representations per function
(AST, CFG, CDG, DDG, PDG, CALL) as integer node lists (type, token vocab ids, relative line) and int32 [src, dst, etype] edge lists,
zstd Parquet partitioned by language and split, joined on sample_id. Vocabularies are in graphs/vocab/; per-function outcomes are in
graphs/graph_status/. Status as of 2026-10-04 07:22 IST: complete. 2,004,425 functions graphed (5.61 GB):
| group | planned | graphed |
|---|---|---|
| p1_vuln_pairs | 202,421 | 158,254 |
| p2_realworld | 436,806 | 398,115 |
| p3_bigvul | 70,553 | 68,580 |
| p4_juliet | 236,260 | 236,226 |
| p5_draper | 1,266,524 | 1,143,250 |
Details: graphs/README.md (schema, reprs, construction, limitations) and graphs/STATS.md.
Licenses
Per-row source_license names the license of the dataset that supplied the row.
| Source | License | In this bucket |
|---|---|---|
| CVE List V5 | CVE Program Terms of Use | kb |
| NVD | US Gov public data — This product uses data from the NVD API but is not endorsed or certified by the NVD. | kb |
| OSV | per ecosystem (CC-BY-4.0 / CC0 / Apache-2.0 / MIT; Ubuntu records CC-BY-SA-4.0, flagged in source_license) |
kb |
| GHSA | CC-BY-4.0 | kb |
| MITRE CWE / CAPEC / ATT&CK | MITRE terms of use (royalty-free; © The MITRE Corporation) | kb |
| CISA KEV | US Gov public | kb |
| EPSS | FIRST EPSS terms (attribution) | kb |
| Exploit-DB | GPL-2.0-or-later | EDB IDs + CVE links only |
| ET Open | BSD / GPLv2 per sid | rule metadata only |
| CVEfixes v1.0.8 | CC-BY-4.0 (data), MIT (code) | code |
| MoreFixes (dump 2026-06-20) | CC-BY-4.0 on Zenodo; tool MIT/Apache-2.0; reuses NVD/GHSA | code |
| CrossVul 2.0 | CC-BY-4.0 | code |
| PrimeVul | MIT | code |
| Big-Vul (MSR'20) | MIT | code |
| Draper VDISC | CC-BY-4.0 | code |
| Juliet C/C++ 1.3 (NIST SARD) | public domain (17 USC 105) | code |
| DiverseVul | no license | IDs/hashes/labels only |
| ReposVul | no license | IDs/hashes/labels only |
| CleanVul | no license | IDs/hashes/labels/scores only |
| Devign (CodeXGLUE) | C-UDA | IDs/hashes/labels only |
| MegaVul (2024-04) | GPL-3.0 (copyleft / share-alike) | code, separate folder code/gpl/megavul/ only |
| CIC-IDS2017 (Engelen et al. 2021 corrected flows) | UNB CIC research terms; cite Sharafaldin 2018 + Engelen 2021 | network (flow features + labels; via unofficial HF mirror) |
| CSE-CIC-IDS2018 (AWS Open Data) | UNB CIC research terms; cite Sharafaldin 2018 | network (flow features + labels) |
| NF-UQ-NIDS-v2 (UQ RDM) | UQ 'Permitted Re-Use with Commercial Use Restriction' (non-commercial, attribution) | network (flow features + labels) |
| CTU-13 (Stratosphere) | CC BY | network (flows, pcap-derived packet sequences; no pcaps) |
| IoT-23 (Stratosphere) | CC BY | network (Zeek flows + labels) |
| UNSW-NB15 | academic / research use only | flow IDs + labels + GT CVE ids only |
Upstream code licenses. The functions themselves come from open-source projects (Linux, FFmpeg, QEMU, Chromium, …) and keep those projects'
licenses (GPL, LGPL, Apache, MIT, …). Use repo_url to look them up and honour them if you redistribute.
Rebuilding the restricted parts. restricted_index lets you re-attach code locally: download DiverseVul / ReposVul / CleanVul / Devign
yourself, run scripts/code/ingest_diversevul.py / ingest_restricted.py, and join on (source_dataset, original_id) or sample_id.
Known limitations
- Weak ATT&CK links.
attack_techniquescome from MITRE's sparse, coarse CAPEC→ATT&CK mappings via the CWE→CAPEC closure (54.9 % of non-rejected CVEs get any technique). Treat them as weak labels. - Fix commits are skewed toward Linux kernel backports. The same kernel fix appears on kernel.org stable, torvalds/linux and GitHub mirrors (mirrors are not merged), so commit-based sources over-represent the kernel. The kernel is forced into the train split.
- Unreviewed GHSA entries. GHSA includes unreviewed mirrors of NVD records; only 8.2 % of non-rejected CVEs are GitHub-reviewed (
ghsa_reviewed). - Commit-mined labels are noisy. Not every function changed by a fix commit is vulnerable (PrimeVul measured 25–50 % label accuracy on older
datasets). Use
label_confidence,label_sourceand the conflicts table. - Synthetic and static-analyser data (Juliet, Draper) have very different distributions from real code; Draper labels are analyser output.
- Missing metadata. PrimeVul's paper release has no repo URL/dates (CVE linked via the hub by commit sha where possible); Draper and Devign have
no CVEs; dates fall back to CVE publication dates (
date_source). - Dropped rows. Functions > 100,000 characters and minified code (average line > 400 characters) are dropped; empty/trivial bodies too.
- MegaVul is GPL-3.0 and lives only in
code/gpl/megavul/(not merged intocode/code_sample). OSV Ubuntu data is share-alike (CC-BY-SA-4.0). - Near-dup clustering uses LSH with star-linked buckets; a few unrelated samples may be chained into one cluster.
- Graph tier: functions are parsed one by one without headers/build context (unresolved types, no macro expansion, CALL edges end at callee stubs, intra-procedural data flow only);
tokenholds types rather than identifier names/literal values; functions Joern cannot recover a method from (fragmentary source records, header-less C++) areno_graphingraphs/graph_status/; languages without a Joern frontend (objc, scala, lua, shell, perl, …) are not graphed. Seegraphs/README.md. - Network tier: CIC-IDS2017 is from an unofficial mirror of the corrected CSVs (timestamps damaged); CSE-CIC-IDS2018 is the original, uncorrected CIC output (some S3 day files are truncated at 1,048,575 rows); NF-UQ-NIDS-v2 has no timestamps and is re-extracted from UNSW-NB15/BoT-IoT/ToN-IoT/CSE-CIC-IDS2018 pcaps (do not train on NF-CSE-CIC-IDS2018-v2 and test on cse_cic_ids2018); CTU-13 Background flows are unverified (benign, confidence 0.4);
feat_pkt_seqexists only for CTU-13 infected-host flows (label leak if used as a feature across classes);ids_signatureCVE links are weak. Seenetwork/README.md. - Same-dataset conflicts. Many conflicts are within one fix database (e.g. CVEfixes vs CVEfixes): a commit that only touched comments/whitespace
makes the 'before' and 'after' versions identical after normalisation, or the same function text is 'before' in one fix and 'after' in another.
These rows keep the higher-confidence label with reduced confidence and
label_conflict=true; filter them out for clean training. - CVEfixes metadata DB. This build's CVEfixes run used metadata salvaged from a partial load (no
cwe_classification, so CVEfixes CWEs come from the hub via CVE → CWE).scripts/code/load_cvefixes_meta.py(the rebuild path) also keepscwe_classification, so a rebuild may add a few CWEs.
Skipped sources in this build
- cic_ids2017_pcap (https://cicresearch.ca/CICDataset/CIC-IDS-2017/): registration form (regForm -> insert.php) required; direct .../Dataset/CIC-IDS-2017/PCAPs/ links redirect to https://www.unb.ca/cic/datasets/index.html
- cic_ids2017 (https://intrusion-detection.distrinet-research.be/CNS2022/Datasets/CICIDS2017_improved.zip): server accepts TCP but drops every TLS handshake from this host (curl: TLS connect error, unexpected eof; retried 3x between 12:50 and 13:25 IST); HTTP redirects to https. Used unofficial HF mirror bvk/CICIDS-2017@b9515d5c instead
- cse_cic_ids2018 (https://intrusion-detection.distrinet-research.be/CNS2022/Datasets/CSECICIDS2018_improved.zip): same TLS failure as CICIDS2017_improved.zip (9.7 GB)
- unsw_nb15_pcap (https://unsw-my.sharepoint.com/:f:/g/personal/z5025758_ad_unsw_edu_au/EvBTaetotpdGnW7rJQ8fCvYBh8063CNeY9W33MpRsarJaQ): pcaps (~100 GB) not needed: UNSW-NB15 is academic-only so only IDs/labels are published; CSV+GT suffice for the restricted index
- iot23_full (https://mcfp.felk.cvut.cz/publicDatasets/IoT-23-Dataset/iot_23_datasets_full.tar): full pcaps skipped by instruction (flows-only: iot_23_datasets_small.tar.gz)
- ctu13_s10_pcap (https://mcfp.felk.cvut.cz/publicDatasets/CTU-13-Dataset/CTU-13-Dataset.tar.bz2 (member 10/*.pcap)): 70.7 GB botnet pcap of scenario 10 not extracted (disk); scenario 10 has binetflow features/labels but no feat_pkt_seq / Suricata SIDs
- cse_cic_ids2018_pcap (s3://cse-cic-ids2018/Original Network Traffic and Log data/Tuesday-20-02-2018/pcap.rar): skipped: 44.4 GB RAR archive (no random access to members over HTTP range; would need the whole archive on disk)
- skipped_cve_pcap_sources (https://www.netresec.com/?page=ISTS): skipped: Netresec page marks the download 'temporarily unavailable'
- skipped_cve_pcap_sources (https://github.com/ptresearch/AttackDetection): skipped: no pcaps in the repository (rules + exploit code only) and a restrictive personal / non-commercial licence; clone deleted
- skipped_cve_pcap_sources (https://github.com/fajarsajid/suricata-detections): skipped: its only real capture is a malware-traffic-analysis.net redistribution; other pcaps are produced by a generator script (not run)
- skipped_cve_pcap_sources (https://www.malware-traffic-analysis.net/): skipped by policy: password-protected archives that bundle live malware
- skipped_cve_pcap_sources (https://contagiodump.blogspot.com/): skipped by policy: password-protected zips containing real malware
- skipped_cve_pcap_sources (https://media.defcon.org/): skipped: multi-GB RAR archives without range-streamable members; CTF traffic is not CVE-tagged
- skipped_cve_pcap_sources (https://cloudstor.aarnet.edu.au/plus/index.php/s/2DhnLGDdEECo4ys?path=%2FUNSW-NB15%20-%20pcap%20files): skipped: academic-only dataset; its GT CVE links are already in network/restricted_index (no change needed)
- skipped_cve_pcap_sources (https://archive.ll.mit.edu/ideval/data/1998data.html): not processed this run (DARPA 1999 used; 1998 is the same testbed, older)
Rebuild
sources.yaml lists every downloaded file (URL, version, size, sha256, license; code-tier raw files were deleted after processing to save disk).
scripts/run_all.sh rebuilds the hub; scripts/code/run_code_tier.sh re-downloads and rebuilds the code tier; scripts/net/ (netfetch.py, ingest_*.py, ctu13_pcapjoin.py, suricata_pass.sh, index_unsw.py, make_network_docs.py) rebuilds the network tier and scripts/net/ids/ (make_ruleset.py, make_suricata_conf.py, run_cse2018.py, run_pcap_urls.py, run_exploit_pcaps.py, build_unit.py, relabel_family.py) its Suricata / exploit-pcap CVE-linked traffic; scripts/publish/ exports and syncs.
Citation
Cite the upstream datasets you use — see CITATIONS.bib. To cite cyberset itself: mvd001_2026cyberset (author: mvd001).
- Total size
- 27.4 GB
- Files
- 987
- Last updated
- Oct 4
- Pre-warmed CDN
- US EU US EU