Install-path firewall
Chainsaw How-To Guides
How to deploy and run Chainsaw — the install-path firewall for npm, pip, Maven, Docker, and 12 more.
Start here
Chainsaw is a policy proxy in front of npm, PyPI, Maven, RubyGems, Go, NuGet, Cargo, Composer, Docker/OCI, APT, RPM, and Hugging Face. Point your package managers at it, start in monitor mode, then flip to enforce once you’ve seen the data. Whether you use the managed service, run it in your own VPC, or self-host it, these guides cover getting set up, hardening, and running it in production — the rest is reference.
Pick the row that matches your job. Each path is three to five tutorials and ends with packages flowing through an enforced proxy.
I’m a Platform Engineer — I want to deploy and integrate Chainsaw
You own the proxy config, the credentials, and the CI/CD wiring — whether Chainsaw is managed for you or you run it yourself. You don’t decide which CVE score is too risky; you just need installs to keep working.
Recommended path
- Set up Chainsaw as your organization’s package proxy — deploy and verify traffic flow. (30 min, Beginner)
- Configure your package manager for Chainsaw — point npm / pip / Maven / etc. at the proxy. (15 min per ecosystem)
- Create and manage client credentials — issue service tokens for pipelines and humans. (15 min)
Also useful: integrate with CI/CD pipelines · manage repositories and upstream mirrors · cache and build performance · YAML imports for config-as-code · custom hook scripts · traffic patterns
I’m a Security Engineer — I want to block bad packages and triage violations
You write the policies that decide what ships. Start with the highest-signal threats, then widen out to the slower-burn risks.
Recommended path
- Block vulnerable packages using CVSS and EPSS — the single highest-ROI policy. (20 min, Intermediate)
- Block typosquatted packages — refuse lookalike-name attacks before they install. (20 min)
- Block known malware on the install path — match against published malware feeds and refuse the install. (20 min)
- Protect against dependency confusion — reserve your internal namespaces. (20 min)
- Monitor violations and respond to blocked installs — close the loop when a developer is blocked. (20 min)
Supply-chain-integrity conditions (refuse on the install path): block install-script exfiltration · refuse compromised-package campaigns · block hidden Unicode homoglyphs · quarantine publish-velocity anomalies · reserved-namespace packs · checksum fail-closed · refuse when a required signal could not be evaluated · OS package hash-chain provenance · container image layer scanning
Also useful: license compliance · SLSA provenance · trust scores · release freshness · monitor mode before enforcing · quarantine triage · policy precedence and exceptions · country / IP access policies · AI/ML models from Hugging Face · Billy — AI policy assistant
I’m a DevOps Operator / Org Admin — I want to run Chainsaw in production
You own identity, access, audit, and compliance. Most of the work is one-time setup, then ongoing governance.
Recommended path
- Set up Chainsaw as your organization’s package proxy — if it’s not already deployed. (30 min, Beginner)
- Invite team members and assign roles — Owner / Admin / Manager / Member. (10 min)
- Set up two-factor authentication — for every human account. (10 min)
- Configure SSO — OIDC or SAML — pick one based on your IdP. (30 min)
- Map SSO groups to Chainsaw roles — let your IdP drive who gets Admin. (15 min)
- Configure SCIM provisioning — auto-deprovision leavers. (25 min)
- Use audit logs to track consumption — evidence for SOC 2 / ISO / internal reviews. (15 min)
Also useful: dashboard — supply chain KPIs · export SBOM (CycloneDX) · export BOM (CSV)
Browse by workflow
Every guide lives in one of eleven workflow sections. Start at a section Overview for the recommended setup-to-troubleshooting path, or jump straight to a guide.
- Getting Started — install the proxy, point a package manager at it, first block, air-gapped install
- Repositories & Caching — upstream mirrors, cache and build performance
- Policy & Enforcement — CVSS/EPSS gates, license, freshness, geo/IP, monitor mode, fail-closed
- Threat Detection — malware, typosquat, dependency confusion, install-script exfil, behavioral signals, trust scores
- AI/ML Supply Chain — Hugging Face, pickle opcodes, prompt injection, MCP provenance
- Provenance & SBOM — SLSA, OS hash-chain, CycloneDX, BOM inspector
- Remediation & Patching — patch leaderboard, simulator, hardening bundle, CVE-affected inventory
- Monitoring & Compliance — dashboard, traffic, violations, audit, SIEM, webhooks
- Team & Access — roles, 2FA, OIDC, SAML, group mappings, SCIM
- AI Assistant (Billy) & Agents — Billy investigate/triage, MCP connect, agent credentials
- Integrations & Automation — CI/CD, YAML config-as-code, custom hooks
- Error codes — every
CHW-NNNNAPI error, with remediation
Each guide lists its persona, difficulty, estimated_time, and
(where applicable) prerequisites in its frontmatter.