Open-source software supply-chain security

Know what your dependencies do before they run.

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.

Illustrative local demonstration
scan / package detail•••
PYPI PACKAGE

demo-mal-install-encoded-exec

1.0.0 · scanned locally · 280 ms

× BLOCK
RISK SCORE100
CRITICAL
Behavioural risk100 / 100
Vulnerability riskUnknownintelligence unavailable
ProvenanceUnavailablenot verified in demo
Confidence86% strongdeterministic evidence
CRITICALATTACK_CHAINconfidence 97%
Obfuscated code loader

Encoded payload is decoded for execution alongside install-time evidence.

CWE-506T1140T1059.006
v2.1.0 current releasePython 3.11–3.13 supportedMIT licensedCI tests on pull requests OpenSSF Scorecard report

A different security question

A clean vulnerability report does not mean a package is safe.

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.

01

What traditional scanners miss

BehaviourNo known advisorylooks clean
Publishernew or changedneeds context
Install hookdownloads payloadstop and inspect

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.

01 Behavioural analysis02 Identity and provenance03 Policy decision

Product walkthrough

Evidence first. Verdict second.

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.

LOCAL DEMO · SAMPLE DATA
PYPI / DEMO-MAL-INSTALL-ENCODED-EXEC

Package scan overview

× BLOCK
OVERALL RISK100CRITICAL
Behavioural risk100
Vulnerability riskUnknown
ProvenanceUnavailable
IntegrityNot verified
Confidence86% · strong
!
Policy decision: block

A correlated critical attack chain meets the production policy threshold and is non-overridable.

policy: production

Security coverage

Four lenses on dependency risk.

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?

See the CLI reference
01

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.

AST static analysisInstall vectorsObfuscationIOC matching
02

Identity and provenance

Typosquatting, dependency confusion, publisher identity, PEP 740 attestations, release drift and maintainer changes supply context around the artifact.

Threat model
03

Vulnerability and context

OSV, CISA KEV, FIRST EPSS and optional NVD inputs stay separate from behavioural evidence. Reachability and blast radius add project context.

Data model
04

Policy and enforcement

Turn 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.

thresholdswarn: 40block: 70deny: attack_chain

The analysis boundary

A pipeline built for hostile input.

The package is untrusted from the moment it arrives. Warden bounds acquisition and extraction, runs analyzers in parallel, then makes the verdict explainable.

No package code execution
STAGE 01 / ACQUISITION

Acquire the exact release requested.

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.

✓ HTTPS-only hardened client✓ Redirect host allowlist on every hop✓ No fallback to an unrequested “latest” version
Package request→Verified bytes

Risk engine

One score, many reasons.

The 0–100 risk score is derived from separate dimensions. Vulnerability intelligence that is unavailable is represented as null, never silently converted to zero.

Behavioural100
VulnerabilityUnknown
Provenance—
Integrity—
GUARDRAIL

Rules lead. ML stays bounded.

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.

rule evidence+bounded model margin=explainable outcome
Read the ML model notes

Measured with context

Benchmarks that keep their denominators.

Warden reports two complementary suites. The numbers are regression evidence from this repository, not an industry-wide detection claim.

Read the methodology
SYNTHETIC REGRESSION14 malicious · 8 benign
13/14

focused patterns detected

1 / 8benign sample warned, not blocked
i

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

Runs where the decision happens.

Use the local engines from the CLI or GitHub Action, or connect the security console and API to PostgreSQL, Redis and the monitoring worker.

Open architecture docs
CLIENTS
FASTAPI BACKEND
Package acquisition + safe extractionStatic analyzers + correlationRisk + policy enginesProject + container analysisReports · events · audit chainPrometheus metrics + Grafana
Choose a component to see where it fits.
PERSISTENCE + INTELLIGENCE

The security console

See the system, not just a pass/fail.

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.

Explore the frontend

Developer workflows

Start at the boundary you already have.

Run Warden locally, in pull requests, or in front of package installation. The same analysis and policy ideas travel with the workflow.

LOCAL AND CI-FRIENDLY

Inspect a package or a project from the terminal.

The CLI supports package scans, installer gating, project manifests, SBOM generation, release diffs, reports and policy validation.

CLI reference
terminal
# 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.json

Read the implementation

Security claims should be inspectable.

Explore the architecture, threat model, benchmark methodology and source code behind Warden.