Inventory

When the next CVE drops, "are we affected?" is a search box.

The Chainsaw inventory is a record of every install, captured at the install path rather than at PR time. Each npm install, pip install and mvn dependency:resolve becomes a row with the package, version, ecosystem, repo, CI job, who pulled the package and when. The inventory is free, on by default, and built from the same data the policy engine already collects. When a CVE drops, a security team searches the inventory for the CVE ID instead of waiting for a scanner re-run. The answer lists every affected repository and CI job across the 17 ecosystems the Chainsaw proxy covers.

Workflow

How do you check whether a new CVE affects you?

The Chainsaw inventory search is the first step: paste the CVE ID, and the affected package and version ranges come back as rows.

  1. 01 · Search

    Paste the CVE ID

    affected package and version ranges, as rows

  2. 02 · Walk dependents

    Cycle-safe closure

    repo, CI job and last install on every row

  3. 03 · Ship the answer

    Export and quarantine

    CycloneDX, per repo or org-wide

  4. Next install refused

    the error names the CVE; the audit trail covers the whole loop

The surface

"Are we affected?" on the real screen

Chainsaw Inventory screen with an 'Are we affected by a CVE?' search box and a by-package table listing ecosystem, version, install counts and last verdict.
Inventory CVE lookup and the by-package table. Demo org, synthetic install traffic; the owning-team column fills once CODEOWNERS is connected.

What makes it operational

What makes the inventory usable in an incident?

An inventory row is the unit of incident response: every Chainsaw inventory row carries a CODEOWNERS-derived owner, so an incident groups by owning team.

  • Captured at the install path

    Every npm install, pip install and mvn dependency:resolve hits the same point, as it happens. Not at PR time, not at the next dependency-graph crawl.

  • Default-on

    No 'enable inventory' checkbox. From the first install the row exists: package, version, ecosystem, repo, CI job, who pulled it, when.

  • Transitive dependents, not just direct

    An N-level depgraph walk (default 5, capped at 10), with closure size and max depth on every package row.

  • Owned-by facet

    Every row carries a CODEOWNERS-derived owner, so an incident groups by owning team.

  • Snapshots tied to incidents

    Quarantining a package pins the exact set of installs at the moment of decision, and the snapshot exports the same way the SBOM does.

  • MCP query tool for agents

    chainsaw_inventory_summary(repo?) and chainsaw_query_affected_packages(cve) for Claude Code, Cursor and Windsurf. Same data, same ACLs.

Inventory shows what flowed through the proxy. Unproxied installs stay invisible until Hardening Level 2+.

Coverage floor

Does the Chainsaw inventory see installs that bypass the proxy?

No. The Chainsaw inventory records only installs that flow through the proxy, so a developer who points npm straight at registry.npmjs.org leaves no row. Chainsaw states the coverage floor instead of guessing: the /coverage page lists what is missing, and bypass detection reports when an install routed around the proxy. On a single machine, chainsaw doctor verify-hook catches client-side bypasses such as an .npmrc edit or an environment override that skips the proxy. To close the gap, move up the four hardening levels; most teams start at Level 1 and stop at Level 2. Level 1 audits every install and blocks nothing. Level 2 adds a Kubernetes admission webhook that rejects workloads pulling images outside policy. Level 3 adds an egress allowlist that denies direct traffic to npmjs.org, pypi.org and registry-1.docker.io. Level 4 pushes MDM payloads through Jamf, Intune or Workspace ONE that pin the registry config on managed laptops.

SBOM export

How do I export an SBOM of what my team actually installed?

Export a CycloneDX 1.6 SBOM from the Chainsaw inventory, per repository or org-wide, and the file is current as of the last install through the proxy. Because the inventory is captured at the install path, the SBOM needs no lockfile crawl and no nightly rebuild. Direct and transitive dependencies are encoded as CycloneDX dependency edges, so a compliance scanner or vendor-risk tool receives a graph to walk instead of a flat list. When the policy engine quarantines a package, Chainsaw pins a snapshot of the exact install set at the moment of decision. Re-exporting the same snapshot six months later produces the same bytes for an auditor. Snapshots are searchable by CVE, license, package name and transitive depth. AI agents in Claude Code, Cursor or Windsurf query the same data over MCP with chainsaw_inventory_summary and chainsaw_query_affected_packages, under the same ACLs as people.

Inventory vs scanning

How is an install-path inventory different from an SCA scan?

An install-path inventory is a record written at the moment of each install, while an SCA scan reads manifests and lockfiles after the code is committed. The Chainsaw inventory sits on the proxy, so every npm install, pip install and mvn dependency:resolve becomes a row as the install happens, not at PR time and not at the next dependency-graph crawl. A scan reports what a repository declares; the inventory reports what a laptop or CI job actually fetched, and from which repository and CI job. When a new CVE is published, the answer comes from a search over rows that already exist, with no scanner re-run and no lockfile crawl. Transitive dependents come from an N-level depgraph walk, 5 levels by default and capped at 10. The coverage floor is the proxy itself: installs that route around Chainsaw leave no row, and the /coverage page lists what is missing.

Row contents

What does each Chainsaw inventory row record?

Each Chainsaw inventory row records one install: the package, the version, the ecosystem, the repository, the CI job, who pulled the package and when. Rows are written from the first install through the proxy, with no setting to enable, and the inventory is free. The proxy covers 17 ecosystems, including npm, PyPI, Maven, Go, Cargo and Docker, so one search spans every ecosystem a team installs from. Every row also carries a CODEOWNERS-derived owner, which lets an incident group by owning team. For each package, Chainsaw walks transitive dependents 5 levels deep by default, capped at 10, and stores the closure size and maximum depth on the package row. The same rows feed the CycloneDX 1.6 SBOM export and the two MCP tools, chainsaw_inventory_summary and chainsaw_query_affected_packages, that agents in Claude Code, Cursor and Windsurf call. Installs that skip the proxy leave no row.

Chainsaw inventory by-package table: npm chalk 5.3.0 success, lodahs 0.0.1-security blocked, encodeurl 1.0.4 blocked, react 18.3.1 success, follow-redirects 1.16.3 flagged, ms 2.1.1 success, each with install count, distinct clients and last seen time.
By package One row per ecosystem, package and version, with the last verdict the proxy gave it. Demo org, real installs through the proxy; the owning-team column is off the right edge at this width.

Stop firing on every advisory you read on Twitter

See your inventory in 15 minutes

The Chainsaw inventory is a free, default-on record of every install. Point one package manager at Chainsaw, run for a week, and see what you actually shipped.