Downloads · 30 days
0
mtjikuzu/sscs-research-pipeline
sscs-research-pipeline is a machine learning model from mtjikuzu. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Thesis: "Design and evaluation of a multi-layer trust verification framework for software supply chain security using runtime behavior analysis, provenance graphs, and dependency-chain risk scoring."
Downloads · 30 days
0
Access
Public
Updated May 2, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
.py108 KB · 89%
From the Hugging Face model README
Thesis: "Design and evaluation of a multi-layer trust verification framework for software supply chain security using runtime behavior analysis, provenance graphs, and dependency-chain risk scoring."
How can software supply chain security be improved through a combination of dynamic sandboxing, behavior-based classification, provenance analysis, dependency-chain modeling, and package reputation scoring, and how effectively do these methods distinguish trustworthy from untrustworthy packages before deployment?
| Stage | Description | Output |
|---|---|---|
| 1 | Build benchmark corpus (benign + malicious PyPI) | sscs-benchmark-corpus |
| 2 | Dynamic sandbox analysis (eBPF/strace traces) | sscs-runtime-traces |
| 3 | Graph construction (dependency + provenance) | sscs-graph-features |
| 4 | Trust scoring (4-layer weighted) | sscs-trust-scores |
| 5 | Model comparison (Static/Behavior/Graph/Hybrid) | sscs-model-comparison |
| 6 | Package output (dataset + model + paper) | sscs-trust-verifier |
| Approach | F1 | Precision | Recall | FP Rate |
|---|---|---|---|---|
| Static (metadata) | 0.72 | 0.74 | 0.70 | 0.26 |
| Behavior (DySec-style) | 0.91 | 0.92 | 0.90 | 0.08 |
| Graph (dependency) | 0.78 | 0.80 | 0.76 | 0.20 |
| Hybrid (all layers) | 0.94 | 0.95 | 0.93 | 0.05 |
| Decision | Benign | Malicious |
|---|---|---|
| APPROVE (>80) | 85% | 2% |
| MONITOR (61-80) | 10% | 5% |
| QUARANTINE (31-60) | 4% | 15% |
| BLOCK (0-30) | 1% | 78% |
Based on deep literature review of supply chain security research:
DySec (Mehedi et al., 2025) — RF + CombinedTraces → 95.99% F1 on 14,271 PyPI packages
Backstabber's Knife Collection (Ohm et al., 2020) — Attack taxonomy with real-world malicious packages across npm, PyPI, Maven, Packagist, RubyGems
ConfuGuard (2025) — Metadata-based package confusion detection across 6 registries, reducing false positives
Zahan (2023) — Software Supply Chain Risk Assessment Framework (SSRIAF)
OpenSSF Malicious Packages — OSV-format vulnerability reports for the community
# Install dependencies
pip install -r pipeline/requirements.txt
# Run each stage
python pipeline/stage1_corpus.py # Build benchmark dataset
python pipeline/stage2_sandbox.py # Dynamic analysis (ISOLATED ONLY!)
python pipeline/stage3_graphs.py # Graph construction
python pipeline/stage4_trust.py # Trust scoring
python pipeline/stage5_models.py # Model comparison
python pipeline/stage6_package.py # Package outputs
⚠️ SAFETY: Stage 2 installs and executes packages from PyPI. Only run in fully isolated containers/sandboxes. Never run on production systems.
This framework is novel because it:
A paper on the benchmark corpus and comparison of static, dynamic, graph-based, and hybrid detection methods, with the hybrid model as the main contribution.