DepthCharge inspects third-party packages across three independent layers — reputation, static analysis, and an isolated execution sandbox — before they ever reach production. Every finding is mapped to MITRE ATT&CK and a single, actionable risk score.
Each layer fails differently — so they're stacked in depth. A package must survive reputation, static inspection, and live execution to come back clean.
Weighted & additive, with cross-layer correlation bonuses (obfuscation and outbound network scores more than either alone) and a strict whitelist that suppresses false positives on trusted packages.
The core orchestrates three scanners that all emit the same JSON shape. The scorer, dashboard and CI gate consume any module interchangeably — which let four people build in parallel.
Input CLI · Dashboard · CI │ ▼ ┌─ Core engine ─ depthcharge.py ─────────────┐ │ ├─▶ Reputation → PyPI / npm / OSV │ │ ├─▶ Static (AST/YARA/entropy/taint) │ │ └─▶ Dynamic sandbox → Docker --network none │ └──────────────┬──────────────────────────────┘ ▼ Risk scorer · scorer.py # correlation + whitelist ▼ SQLite # history + inventory ▼ Verdict · Dashboard · Reports · CI gate (fail-on-high)
Vulnerability scanners miss novel malware. Malware detectors reason on code, not behavior. DepthCharge is the only self-hostable tool combining all three layers with ATT&CK mapping and compliance built in.
| Tool | Reputation | Static | Sandbox | CVE/OSV | ATT&CK | Compliance | CI/CD | OSS |
|---|---|---|---|---|---|---|---|---|
| Dependabot / pip-audit | ✗ | ✗ | ✗ | ✓ | ✗ | ✗ | ✓ | ✓ |
| OSV-Scanner | ✗ | ✗ | ✗ | ✓ | ✗ | ✗ | ✓ | ✓ |
| Snyk | ∼ | ∼ | ✗ | ✓ | ✗ | ∼ | ✓ | ✗ |
| Socket.dev | ✓ | ✓ | ∼ | ✓ | ✗ | ∼ | ✓ | ✗ |
| GuardDog | ✓ | ✓ | ✗ | ∼ | ✗ | ✗ | ✓ | ✓ |
| DepthCharge | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
Python and an optional Docker daemon for the sandbox. No daemon? DepthCharge degrades gracefully and runs reputation + static.
git clone https://github.com/MAITO465/depthcharge.gitcd depthcharge && pip install -r requirements.txtpython modules/dashboard/app.py # http://localhost:5001python depthcharge.py scan requestsEnd-to-end walkthrough: scanning a legitimate package, catching a typosquat, and watching the Docker sandbox intercept malicious runtime behavior.
A four-member project in the Génie Cyber-Défense & Systèmes de Télécommunications Embarqués program — Université Cadi Ayyad, 2025–2026.
CI/CD pipeline, risk-scoring engine, and the real-time web dashboard.
↗ GitHub ↗ LinkedIn
Docker sandbox, syscall monitors, and the strace behavior parser.
↗ GitHub ↗ LinkedIn
Metadata intelligence, typosquatting and OSV vulnerability lookup.
↗ GitHub ↗ LinkedIn