Warden¶
Decide whether a dependency is safe to install — from what its code does, where it came from, and what is known about it.
Product overview
The public product website is the concise visual overview. This documentation is the implementation reference: commands, data contracts, architecture, threat model and benchmark methodology.
Warden analyses PyPI packages, project manifests and container images without running them. It
reports what a package does (install hooks, network and process behaviour, obfuscation, credential
access), where it came from (provenance, maintainers, dependency confusion) and what is known about
it (OSV, CISA KEV, FIRST EPSS), and turns that into an allow / warn / block decision under a
versioned policy.

What you can do with it¶
| Gate dependencies in CI | warden gate -r requirements.txt fails the build on blocked packages; the GitHub Action uploads SARIF to code scanning. |
| Scan a project | Manifests become findings, a dependency graph with blast radius, and CycloneDX / SPDX SBOMs. Dockerfiles and Compose files are linted too. |
| Compare releases | See what changed in behaviour between two versions of a package before you upgrade. |
| Check container images | Analyse a docker save archive offline: user, secrets, installed packages, set-uid binaries, and known vulnerabilities through Trivy. |
| Watch packages | The monitoring worker checks new releases and raises events on drift or maintainer changes. |
| Investigate | The security console shows findings with file and line, ATT&CK and CWE mappings, attack chains, the audit trail and security events. |
Choose a path¶
| If you want to... | Start here |
|---|---|
| Install and run a first local check | Getting started |
| Add a dependency gate to CI | CLI reference |
| Understand the package pipeline and trust boundary | Architecture |
| Review the measured threat results | Detection benchmark |
| Integrate the API or inspect response shapes | API reference |
| Understand known limits and non-goals | Threat model |
Real-World Threat Evaluation & Assurance¶
Static analysis actively reduces software supply chain risk by combining deep AST parsing, correlation engines, and policy gates. Warden is evaluated against both a real-world attack benchmark modeling genuine historical incidents (PyTorch dependency confusion, ctx/phpass AWS exfiltration, event-stream crypto wallet theft, SolarWinds build hooks, and xz-utils CVE-2024-3094 backdoors) and a compact regression baseline. Machine learning contributes fused risk scores within calibrated bounds (ML model).
Next: Getting started.