Skip to main content
The npm canary adds a scoped registry to ~/.npmrc pointing at Snare. Any npm install of a package under the fake scope fires the callback.

What gets planted

~/.npmrc

Trigger conditions

  • npm install @agent-01-internal/<any-package>
  • An agent trying to install internal packages from the fake registry

Reliability: Medium

Only fires if something specifically tries to install packages in the fake scope. Unlike the pypi canary, this doesn’t fire on every npm install — just scoped installs.