Behavioural analysis
AST-based rules inspect install-time hooks, dynamic evaluation, obfuscation, secrets, process and network capabilities, indicators of compromise and suspicious inventory — without importing or executing the package.
Open-source software supply-chain security
Warden analyses packages, projects and container images without executing untrusted package code. Verify provenance, understand behaviour and enforce a policy before code enters your environment.
Static analysis boundary: package code is read, never intentionally executed.
1.0.0 · scanned locally · 280 ms
Encoded payload is decoded for execution alongside install-time evidence.
A different security question
Malicious publishes, typosquats, dependency confusion and account takeovers can arrive without a CVE. Warden keeps behavioural evidence, vulnerability intelligence and provenance visible as separate signals so a verdict is explainable.
Warden reads the distribution, its metadata and its release history before installation.
The Warden principle
“What does this code do, and who really published it?”
Every finding carries a severity and a separate confidence, with file location, evidence, remediation and provenance of the observation.
Product walkthrough
Explore a self-contained scan result based on Warden’s documented finding model. It runs entirely in this page; no API, account or secret is involved.
A correlated critical attack chain meets the production policy threshold and is non-overridable.
policy: productionCorrelation strengthens individual capability evidence; unrelated behaviours are not reported as a confirmed chain.
Security coverage
Warden groups its analyzers around decisions engineers actually make: what can this software do, who published it, what is known about it and what should the pipeline permit?
AST-based rules inspect install-time hooks, dynamic evaluation, obfuscation, secrets, process and network capabilities, indicators of compromise and suspicious inventory — without importing or executing the package.
Typosquatting, dependency confusion, publisher identity, PEP 740 attestations, release drift and maintainer changes supply context around the artifact.
Threat modelOSV, CISA KEV, FIRST EPSS and optional NVD inputs stay separate from behavioural evidence. Reachability and blast radius add project context.
Data modelTurn evidence into an explicit decision with policy-as-code, CI gates, pre-commit checks, the PEP 503 PyPI proxy, installer gating and time-boxed exceptions that require an independent approver.
The analysis boundary
The package is untrusted from the moment it arrives. Warden bounds acquisition and extraction, runs analyzers in parallel, then makes the verdict explainable.
Warden resolves a concrete (ecosystem, name, version), selects the distribution, applies size and redirect controls, and verifies the registry-published digest against the received bytes.
Risk engine
The 0–100 risk score is derived from separate dimensions. Vulnerability intelligence that is unavailable is represented as null, never silently converted to zero.
Deterministic evidence can floor a critical score. The ML model may sharpen a rule-supported verdict, but it cannot invent a critical decision when the rules see little.
Measured with context
Warden reports two complementary suites. The numbers are regression evidence from this repository, not an industry-wide detection claim.
threats blocked or warned
focused patterns detected
Corpora are inert and hand-written; real-world samples model documented supply-chain incidents. The authors document known misses and limitations in BENCHMARK.md.
Platform architecture
Use the local engines from the CLI or GitHub Action, or connect the security console and API to PostgreSQL, Redis and the monitoring worker.
The security console
The public site is a product presentation. The authenticated React console is where teams explore scan history, findings, dependency graphs, release drift, policies and audit verification.
Developer workflows
Run Warden locally, in pull requests, or in front of package installation. The same analysis and policy ideas travel with the workflow.
The CLI supports package scans, installer gating, project manifests, SBOM generation, release diffs, reports and policy validation.
CLI referencePin the action to a full commit SHA, grant only the permissions it needs and fail the workflow at your chosen threshold.
Action definitionThe proxy can audit or enforce policy before a wheel or source distribution reaches the installer. In enforce mode, blocked packages receive HTTP 403.
Proxy architectureExport SARIF, Markdown or self-contained HTML reports, with evidence sanitised and secrets redacted during construction.
API reference# install the lightweight CLI
pip install warden-supply-chain-security
# gate an install before it runs
warden run pip install requests==2.32.3
# scan project manifests without installing them
warden project scan ./my-app
# generate a CycloneDX SBOM
warden sbom generate ./my-app --format cyclonedx -o bom.jsonRead the implementation
Explore the architecture, threat model, benchmark methodology and source code behind Warden.