How tanzirmehedi/qut-dv25 works
QUT-DV25 is a research dataset repository, not an application service. Its architecture is a staged data pipeline that starts with package identification and ends with benchmark models trained on trace-derived features. The main boundary is between data curation/collection and downstream validation/ML benchmarking.
1. Dataset acquisition and curation
The first phase builds the malicious and benign package lists. It uses Jupyter notebooks to gather malicious PyPI package name/version information, enrich it from multiple web sources, and then search for benign counterparts using similarity methods. The outputs here are spreadsheets, CSVs, logs, and notebook artifacts that define the candidate package universe.
2. Similarity matching as the pairing layer
A small Python script plus shell wrapper implements similarity checks between malicious and benign package names/metadata. This is the selection bridge between “known malicious samples” and the chosen benign control set. It is a distinct subsystem because it drives dataset balance rather than trace extraction or modeling.
3. Validation and labeling
The second phase validates malicious and benign packages and produces labeling reports. Python scripts and HPC-oriented notebooks generate validation JSON/logs and metadata-derived static dataset tables. This layer confirms ground truth before any trace collection or ML training.
4. Isolated execution environment
Trace extraction happens in a controlled Raspberry Pi testbed running Ubuntu 24.04 LTS. The repo includes setup guidance for SSH, firewall, hostname/DNS, and optionally XRDP, but the key architectural feature is the isolated environment boundary: package execution is separated from the host and monitored under controlled network conditions.
5. eBPF-based observability stack
Behavioral data is collected using eBPF tooling and Linux kernel headers. The monitoring stack captures low-level runtime behavior during package installation and execution. This is the main instrumentation layer and the source of the six behavioral trace families.
6. Trace families produced
The repository organizes raw and analyzed traces into Filetop, Install, Opensnoop, Pattern, System Call, and TCP traces. Each family reflects a different observation plane: file I/O, dependency/install behavior, sensitive file access, syscall sequences, and network activity. These are the primary raw data artifacts that feed all later analysis.
7. Malicious vs benign trace branches
Trace extraction is performed separately for malicious packages and benign packages, but both follow the same monitoring workflow. This creates parallel datasets with the same schema, enabling supervised comparison and classification. Architecturally, the malicious and benign branches converge again during preprocessing and benchmarking.
8. Preprocessing and feature engineering
The technical validation phase begins with notebook-based preprocessing of the raw traces into engineered features. This is where the large raw trace corpus is transformed into the structured tabular forms used by classical ML and by some deep-learning experiments. The repo separates preprocessing from model training, which is important for diagramming the data flow.
9. Modeling subsystem: traditional ML and deep learning
The benchmark layer splits into two tracks. Traditional ML trains multiple models per trace family and stores fitted pickles plus comparison CSVs. Deep learning trains a CNN and a Transformer, storing Keras and PyTorch model artifacts with logs. These model artifacts are outputs, not live services.
10. Published dataset and metadata packaging
The repository also contains Croissant metadata and a validation report, plus references to Harvard Dataverse distribution. That indicates the final packaged dataset is meant for external reuse and reproducibility. The external service boundary is the Dataverse-hosted dataset, while the repo itself holds the generation and validation workflow.
11. Main data flow
In diagram form, the core flow is: malicious package intelligence and benign package selection → validation/labeling → eBPF trace capture on isolated Raspberry Pi nodes → preprocessing and feature engineering → classical ML/DL benchmarking → packaged dataset metadata and publication artifacts.
12. Key technology boundaries
The repo spans Python notebooks/scripts, shell automation, eBPF/Linux observability, and ML tooling. The most important architectural split is operational data collection versus offline analysis. Nothing here is a production inference service; it is a reproducible research pipeline that produces datasets, validation artifacts, and trained benchmark models.
Main entry points: Software eBPF stack · QUT-DV25_Step 1 Traces Preprocesing-Feature Engineering Feature sets · QUT-DV25_Step 3 Malicious Packages Metadata and Static Dataset Static metadata · Phase (iii) Trace Extraction Trace families
Components 20
Dataset curation
Malicious package discovery, enrichment, and benign counterpart selection.
- Malicious intel · Builds the malicious PyPI package universe from notebook-driven collection and enrichment.
Phase (i) Dataset Collection/QUT-DV25_Step 1 Malicious Package Info - Web enrich · Cross-checks malicious package details against multiple web sources and records results.
Phase (i) Dataset Collection/QUT-DV25_Step 2 Malicious Packages Info Check From Different Sources - Similarity match · Computes name/metadata similarity to choose benign counterparts for balance.
Phase (i) Dataset Collection/QUT-DV25_Step 3 Similarity Algorithms Implementation - Benign select · Downloads and finalizes the selected benign package set.
Phase (i) Dataset Collection/QUT-DV25_Step 4 Counterpart Benign Packages
Labeling and validation
Ground-truth checks and static metadata tables before trace work.
- Malicious validate · Validates malicious packages and emits labeling results for the malicious branch.
Phase (ii) Dataset Labeling and Validation/QUT-DV25_Step 1 Malicious Validation Report and Labeling - Benign validate · Validates benign packages and confirms the control set before trace capture.
Phase (ii) Dataset Labeling and Validation/QUT-DV25_Step 2 Benign Validation Report and Labeling - Static metadata · Derives malicious package metadata and a static dataset table from files.
Phase (ii) Dataset Labeling and Validation/QUT-DV25_Step 3 Malicious Packages Metadata and Static Dataset
Trace extraction
Controlled execution on Raspberry Pi testbed with eBPF observability.
- Isolated testbed · Controlled Raspberry Pi environment for package execution and trace capture.
Phase (iii) Trace Extraction/QUT-DV25_Step 1 Isolated Env with RPIs - eBPF stack · Kernel-level monitoring layer used to observe package installation and runtime behavior.
Phase (iii) Trace Extraction/QUT-DV25_Step 1 Isolated Env with RPIs/Software - Malicious branch · Trace capture workflow for malicious packages under the same monitoring schema.
Phase (iii) Trace Extraction/QUT-DV25_Step 2 Malicious Packages Traces - Benign branch · Trace capture workflow for benign packages under the same monitoring schema.
Phase (iii) Trace Extraction/QUT-DV25_Step 3 Benign Packages Traces - Trace families · Primary behavioral trace families collected from the testbed; includes file I/O, installs, sensitive opens, patterns, syscalls, and TCP activity.
Phase (iii) Trace Extraction
Benchmarking
Trace preprocessing plus classical ML and deep learning experiments.
- Preprocess traces · Transforms raw traces into structured feature tables for validation and learning.
Technical Validation and Benchmarks/QUT-DV25_Step 1 Traces Preprocesing-Feature Engineering - Feature sets · Intermediate processed datasets for filetop, install, opensnoop, pattern, system call, and TCP traces.
Technical Validation and Benchmarks/QUT-DV25_Step 1 Traces Preprocesing-Feature Engineering - Traditional ML · Trains per-trace-family classical models and stores fitted pickles plus comparison CSVs.
Technical Validation and Benchmarks/QUT-DV25_Step 2 Traditional ML Implementation - Deep learning · Runs CNN and Transformer experiments for benchmark comparison.
Technical Validation and Benchmarks/QUT-DV25_Step 3 DL Implementation - ML artifacts · Saved classical model pickles and result tables across trace families and combined runs.
Technical Validation and Benchmarks/QUT-DV25_Step 2 Traditional ML Implementation - DL artifacts · Saved neural model weights, training logs, and evaluation outputs.
Technical Validation and Benchmarks/QUT-DV25_Step 3 DL Implementation
Publication
Dataset packaging and validation metadata for reuse.
- Croissant metadata · Repository-level dataset description and validation report for external reuse.
Croissant Report - Published dataset · External distribution boundary for the released QUT-DV25 dataset and metadata.
Connections 22
- Malicious intel → Web enrich: enrich · Malicious package intelligence is verified against external sources.
- Web enrich → Similarity match: rank · Enriched malicious package details feed similarity-based benign selection.
- Similarity match → Benign select: select · Similarity results drive the chosen benign counterpart set.
- Malicious intel → Malicious validate: validate · Malicious samples are validated before trace capture.
- Benign select → Benign validate: validate · Selected benign packages are validated as the control branch.
- Malicious validate → Static metadata: derive · Validation outputs contribute to static metadata tables.
- Benign validate → Static metadata: derive · Benign validation also informs the dataset metadata boundary.
- Static metadata → Isolated testbed: execute · Validated package sets move into the isolated execution environment.
- Isolated testbed → eBPF stack: monitor · The testbed runs under eBPF-based observability.
- eBPF stack → Malicious branch: collect · Monitoring captures malicious-package behavior.
- eBPF stack → Benign branch: collect · Monitoring captures benign-package behavior.
- Malicious branch → Trace families: emit · Malicious branch produces the raw trace families.
- Benign branch → Trace families: emit · Benign branch produces the same trace schema.
- Trace families → Preprocess traces: clean · Raw traces are converted into engineered features.
- Preprocess traces → Feature sets: shape · Preprocessing outputs structured trace tables.
- Feature sets → Traditional ML: train · Feature tables feed classical benchmark models.
- Feature sets → Deep learning: train · Feature tables also feed deep-learning experiments.
- Traditional ML → ML artifacts: store · Traditional ML produces model pickles and comparison CSVs.
- Deep learning → DL artifacts: store · Deep learning produces trained weights and logs.
- Croissant metadata → Published dataset: package · Croissant metadata and validation reports support publication.
- ML artifacts → Croissant metadata: document · Model benchmarking results contribute to the release documentation.
- DL artifacts → Croissant metadata: document · Neural benchmark outputs also inform the release metadata.