Lockfiles, cooldowns, blocklists, SCA and a package firewall compared
Pinning, cooldowns, blocklists, SCA. Chainsaw sits behind them.
They solve different parts of the problem, and most of them stack.
| Approach | When it acts | What it's good at | Where it stops |
|---|---|---|---|
| Lockfile pinning | At resolve | Reproducible builds, no surprise upgrades. | A later compromised version still gets pulled once you bump it. Doesn't judge intent. |
| Dependency cooldown pnpm minimumReleaseAge | At resolve | Cheap, free, catches fast-reverted compromises. | Probabilistic: relies on someone else getting burned first. No org-wide enforcement. A Shai-Hulud-style worm spreads through trusted maintainers and packages that already passed the window. |
| Malicious-package blocklist Safe Chain, etc. | At install | Blocks known-bad against a feed, free. | Only as good as the feed's coverage. A blocklist isn't a policy you can shape per team. |
| SCA scanner Snyk · Sonatype Lifecycle · Mend | After install | Inventory, CVE matching, license checks. | Reports after the install script already ran. CVE-centric, weaker on behavioral supply-chain signals. Alert volume. |
| Chainsaw — free CLI | At install, offline | Blocks known-malicious + typosquats for npm/PyPI/Go/Rust/Ruby, same engine each. No account. | No deep install-script behavioral analysis on the laptop — that's the proxy. |
| Chainsaw — proxy | At install, on the path | 25 signals beyond CVE: install-script exfiltration, maintainer takeover, publish-velocity. Monitor mode. Enforcement across CI, endpoint, network. | npm and PyPI have full behavioral parity. Some signals thin or absent on registries without per-version publisher metadata. |
Measured, one run
Numbers we can reproduce
An earlier 0.00% didn't reproduce, so it was re-measured. The verdict that refuses an install, one run:
| Real malware hard-blocked | Top packages false-blocked |
|---|---|
| 43.7% · 104 of 238 | 0.47% · 4 of 860 |
One 1,098-package corpus, own-bytes only, before the 231k-entry known-malicious feed floor,
measured August 2026. The malware samples come from
DataDog's open malicious-packages dataset.
The harness is
benign_fp_eval_test.go
and the corpus builder is
tools/corpus-gen,
both in chainsaw-core.
The four false blocks
Each is an indicator in genuine shipping code: tqdm's Telegram progress-bar
backend, ipython's %dpaste magic, huggingface-hub's
documented webhook endpoint, and browser-use, which reads browser
credential-store paths as its entire purpose.
The looser "a signal fired" measure (dated)
It surfaces, it doesn't block: 69% of real malware at a 5% signal rate on benign packages. Measured on a superseded 597-sample corpus and not re-run, so it is never quoted beside 0.47%. Both cells of one row, never one cell from each.
Against real attacks rather than a corpus: public 2026 supply-chain attacks tested against production Chainsaw, with the rule or signal that covers each one.
Questions
How does Chainsaw compare with Socket, JFrog Curation and Sonatype Repository Firewall?
Chainsaw, Socket, JFrog Curation and Sonatype Repository Firewall all refuse a bad package before install, so the useful difference is where each one runs. Socket Firewall checks installs through Socket's own tooling, and Socket is strong on npm behaviour analysis and fast attack research. JFrog Curation is a policy gate on Artifactory remote repositories, which suits a team already running JFrog. Sonatype Repository Firewall quarantines new components at a Nexus Repository 3 Pro or self-hosted Artifactory proxy. Its Release Integrity feature sends suspicious new releases to the Sonatype research team for review. Chainsaw is a registry proxy that needs no repository manager. Package managers point straight at Chainsaw, and the same binary runs as SaaS, in your own cloud, self-hosted or air-gapped. The Chainsaw decision engine is open source under Apache-2.0. A security team can read the function that returns the 403 before routing installs through Chainsaw. Every Chainsaw rule starts in monitor mode, so a team can compare decisions on its own dependencies first.
Which package firewall works across npm, PyPI and Maven?
Chainsaw is a registry proxy that covers npm, PyPI and Maven, and Sonatype Repository Firewall and Socket Firewall Enterprise list all three too. Chainsaw covers 17 package ecosystems through one proxy, including Go, Cargo, NuGet and Docker images. Detection depth differs by ecosystem. npm and PyPI get up to all 25 signals, and every proxied ecosystem, Maven included, gets at least 4. Sonatype's documentation lists 18 formats for Repository Firewall, including npm, PyPI, Maven, Go modules, Docker and Hugging Face. Socket Firewall Enterprise lists JavaScript, Python, Go, Java through Maven and Gradle, Ruby, Rust and .NET. The free Socket Firewall covers npm, yarn, pnpm, pip, uv and cargo. JFrog Curation checks packages in Artifactory remote repositories and names Maven as a supported ecosystem. JFrog's docs hold the current list. With Chainsaw, a Java and Python team first points Maven's settings.xml and pip's configuration at the same proxy. One policy then covers both.
In depth
How is Chainsaw different from a registry or a scanner?
Registries such as Cloudsmith, JFrog, Nexus and Verdaccio store and cache packages. Scanners such as Snyk, Sonatype Lifecycle and Mend report on them, often in a pull-request comment after the dependency is already in. Neither decides on the install path. Chainsaw is a registry that does: it sits in front of the registry you already have, so nothing migrates, and refuses a package before the bytes land, under one policy enforced across the org rather than an opt-in CLI on each developer’s machine.
Is Chainsaw just another SCA tool?
No. The difference is timing (what a package firewall is). A scanner looks at what you already installed. Chainsaw decides whether the install happens. An install script that steals your env vars runs the moment the package lands — before any scanner reads it. That’s the whole reason the category exists.
So the honest framing: SCA reports, Chainsaw refuses, and most teams should run both. We’re not trying to replace your scanner’s inventory or its CVE feed. The full SCA head-to-head is here.
Isn’t a dependency cooldown enough?
Not on its own, though cooldowns are good. We mean that. A one-day or seven-day delay on new versions dodges a lot of smash-and-grab compromises that get yanked within hours. Two things a cooldown doesn’t give you:
- Enforcement. A cooldown is a setting each developer can have or not have. Chainsaw is a policy the org applies at the proxy, so CI and laptops follow the same rules — and you can prove it.
- Coverage of the slow attack. A Shai-Hulud-style worm spreads through maintainers you already trust and packages that already passed their cooldown window. A delay doesn’t see that. Behavioral signals do.
Keep your cooldown. Chainsaw sits behind it and catches the cases it can’t.
How does Chainsaw compare with one specific product?
Each of these head-to-head pages goes further than the table above: SCA scanners, Socket, GitHub package firewall, DepGate, Endor Labs Package Firewall, Aikido Safe Chain, SafeDep PMG, Bytesafe, JFrog Curation, JFrog Xray and artifact managers. If the tool has to run inside your own network, read self-hosted package firewall.
What does Chainsaw not claim?
We won’t claim any of these:
- We won’t pretend the free CLI does behavioral install-script analysis. It does typosquat and known-malicious blocking offline; the behavioral signals live in the proxy. We’ll tell you which tier you’re getting.
- We won’t claim “zero false positives” — we used to publish 0.00%, it didn’t reproduce, and we re-measured rather than leave it up. A reproducible 0.47% beats an unreproducible zero, and it’s now a CI budget rather than a claim. Better still, monitor mode shows the number on your dependencies before you enforce anything.
- We won’t use a customer logo until a customer says yes.
If any of that changes, this page changes with it.
No product pitch — just the teardowns
What happened in each notable package attack?
Each teardown covers what happened, what stopped it, and where Chainsaw would and wouldn't have caught it.