For developers

Your .npmrc picks up a token. The rest of your day doesn't change.

Chainsaw is a registry proxy, not a plugin and not an agent. A pass looks no different. A block tells you which rule fired and who can unblock it.

What you'll see

Same install command, one new check

  1. 01 · You, or CI

    npm install

    pip, Maven, Cargo, Go, Docker: unchanged

  2. 02 · Chainsaw proxy

    • vulnerability rules
    • license and version rules
    • typosquat and attack signals
  3. Blocked

    the error names the rule and who can unblock it

    Allowed

    repeat installs serve from cache

A block, as npm prints it
$ npm install is-number
npm error code E403
npm error 403 403 Forbidden - GET https://chain305.com/chainproxy/repository/@your-org/npmjs/is-number - Install blocked by chainsaw firewall by policy "Demo: block is-number". For a policy exception, contact your organization administrator. — run `chainsaw why npm is-number --request-id 858ee712…` for details

Real output from a demo org with a rule that blocks is-number. The org name is replaced, the request ID is shortened and npm's two generic closing lines are left out.

Common worries

What's actually true

WorryWhat's true
Builds get slowerRepeat installs serve from Chainsaw's cache. CI usually gets faster.
I can't debug a blockThe error names the rule, the reason and the exception reviewer.
Workspaces breakIt proxies the registry, so pnpm, Yarn, Nx and Turborepo work unchanged. Lockfiles stay the same.
A new rule breaks meAsk for new rules in monitor first. The audit log records what would have been blocked.
Setup eats a dayOne client credential per machine. chainsaw install-hook writes it for you.
My agent picks packagesIt can ask Chainsaw's MCP server first, with only the scope an admin grants it.

Agent setup: /for-agents/

Config

Point your package manager at Chainsaw

Paste one into your config, or let chainsaw install-hook write it.

.npmrc
registry=https://chain305.com/chainproxy/repository/@default/npmjs/
//chain305.com/chainproxy/repository/@default/npmjs/:_authToken=${CHAINSAW_TOKEN}
always-auth=true
pip.conf
[global]
index-url = https://${CHAINSAW_TOKEN}@chain305.com/chainproxy/repository/@default/pypi/simple/
trusted-host = chain305.com
~/.m2/settings.xml
<mirrors>
  <mirror>
    <id>chainsaw</id>
    <url>https://chain305.com/chainproxy/repository/@default/maven-central/</url>
    <mirrorOf>*</mirrorOf>
  </mirror>
</mirrors>
~/.docker/config.json
{
  "auths": {
    "chain305.com": {
      "auth": "${BASE64_TOKEN}"
    }
  }
}
.cargo/config.toml
[source.crates-io]
replace-with = "chainsaw"

[source.chainsaw]
registry = "https://chain305.com/chainproxy/repository/@default/crates-io/"
token = "${CHAINSAW_TOKEN}"
Go GOPROXY
export GOPROXY=https://${CHAINSAW_TOKEN}@chain305.com/chainproxy/repository/@default/gomod
# Internal modules skip the proxy and checksum DB:
# export GOPRIVATE=github.com/yourorg/*

Questions developers ask

Will a package firewall slow down npm install?

A package firewall adds little time to npm install, and repeat installs often get faster. Chainsaw's latency target for a cache hit with the policy unchanged is a p50 under 8 ms, with no network call on the hot path. A cache miss adds an upstream fetch, the 25 supply-chain signals and the Rego policy evaluation; the target there is a p95 under 450 ms, and most of that time is the public registry's own latency. These figures are targets, not measurements, and each deployment publishes its observed p50 and p95 to Prometheus. Allowed packages are stored in a content-addressed cache, deduplicated by hash, so the second install of the same version in CI is served by Chainsaw instead of npmjs.org or pypi.org. Cached versions also keep installing during a public registry outage. Chainsaw proxies the registry instead of wrapping the package manager, so pnpm, Yarn, Nx and Turborepo workspaces and existing lockfiles work unchanged.

What happens when Chainsaw blocks a package I need?

When Chainsaw blocks a package, the install fails in your own terminal with an error that names the rule that fired, the reason and the exception reviewer. The proxy refuses the version with an HTTP 403, so npm, pip or Maven stops before any bytes or install scripts reach the machine. If the block is wrong for your project, you request an exception instead of filing a ticket with platform engineering. Each exception carries a reviewer, a reason and an expiry date, and an organisation can require two-person approval. Platform teams can keep a new rule in monitor mode, for example for a week: installs succeed, and the audit log records what would have been blocked, so legitimate dependencies get exceptions before enforcement starts. Developers using an AI coding agent such as Claude Code or Cursor can have the agent ask Chainsaw's MCP server whether a package is allowed before suggesting it.

Is Chainsaw free and open source?

Chainsaw's CLI and decision engine are free and open source under the Apache-2.0 licence at github.com/chain305/chainsaw-core. Installing the CLI and running chainsaw guard init --install hooks npm, pip, cargo, gem and go in your shell, so installs on that machine are checked with no account and no server. The guard blocks known-malicious packages and typosquats offline, and chainsaw guard update pulls the full public OpenSSF malicious-packages set. In a recorded run of version 0.19.11, the guard blocked npm install crossenv as a typosquat of cross-env. Hosted Chainsaw is the connected service that adds central policy, threat intelligence and team features. The hosted Free tier covers up to 3 people with no card. Team costs $25 per seat per month, or $240 per seat per year billed annually, with SSO and SCIM included. CI and service tokens are never billed as a seat.

Evaluating for your team?

Free plan is permanent; ten minutes to wire one repo

Point one .npmrc at Chainsaw, install a package on a CVE list, and read the error yourself.