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