Research · Published 2 December 2026

Dependency confusion in 2026: one toolkit, nine company scopes

Between 22 October and 1 December 2026, Protet confirmed 213 malicious npm package versions, and 167 of them (78 %) were dependency confusion: packages named like a company's internal packages, published to the public registry so that a misconfigured build installs them instead. A single toolkit accounts for 123 of those versions, under nine scopes that look like internal company scopes.

Dependency confusion is not new. It was demonstrated publicly in 2021. It still works because many build setups ask both a private registry and the public npm registry for the same name, and take the highest version they find.

What we counted

Protet screens newly published npm package versions as they appear; a person reviews every flagged version before it is listed on Protet Intel. As of 2 December 2026 that is 832,195 versions screened and 216 confirmed malicious. This article uses the 213 confirmed versions published between 22 October and 1 December, from the public feed. Counts are package versions unless we say packages. Methodology.

One toolkit, nine scopes

123 versions in 34 packages share the same code and the same reporting address:

  • a postinstall script runs node beacon.cjs on npm install;
  • the script sends an HTTP POST to a server on port 8787, path /_ah/dc, with the machine's host name, the install directory, the current working directory and the Node.js version;
  • the package's entry point sends the same report again whenever the package is loaded;
  • the package then exports a stub that returns empty functions for everything, so a build that expected the internal package keeps going instead of failing.

The reports went to three servers over the six weeks. The versions are inflated (up to 99.0.x) so that a resolver that also checks the public registry prefers them.

ScopeVersionsPackagesPublished
@c1-ease32521 Nov
@ppa-web-components25625 Oct
@ecg-internal23623 Oct
@grabcad10323 Oct
@greenlake9524 Oct
@sxm-web6124 Oct
@drone-js-ext4225 Oct
@blueskydataplatform4123 Oct
@cecm-web-sdk4122 Oct
four unscoped names (template-cards, template-pictogram, template-projection-map, ppbbll5)4

Each scope was filled in a single day, often with many version numbers at once. All 34 packages are listed on osv.dev as malicious.

Parts of this toolkit were reported publicly before, scope by scope: in the OpenSSF malicious-packages repository (for example 65 versions of 14 packages under four of these scopes from one npm account) and in a community write-up on @c1-ease. What the per-package reports do not show is the whole picture: the same code and the same reporting path across nine scopes and three servers over six weeks, and that this one toolkit makes up more than half of all malicious npm versions we confirmed in that time.

Why "just a beacon" is still an incident

The toolkit does not steal secrets. It reports where it was installed. That is exactly what an attacker needs for the next step:

  • It confirms the name resolves. A report proves that this internal name is fetched from the public registry somewhere. A later version can carry anything.
  • It maps the inside. Host names and directory paths often contain user names, project names and CI workspace names.
  • It runs where the credentials are. On a CI runner, the same postinstall step runs next to registry tokens, cloud roles and the job token. A beacon today is a stealer tomorrow, with no change to how it gets in.
  • The build does not fail. The no-op stub means nobody notices a missing dependency.

The rest of the 167

The other 44 dependency-confusion versions come from smaller groups:

  • Out-of-band callbacks (10 versions): packages that send the user name and host name through DNS lookups to public interaction-testing services. Several say they are bug-bounty proofs of concept. They still disclose real data from every machine that installs them.
  • A tarball outside the registry (4 versions, scopes @clickwraps, @clikwraps, @basis-theory-elements, plus one unscoped name): the package has no code of its own and pulls a dependency from a cloud storage URL, whose preinstall script sends the user name, host name and home directory.
  • A DNS beacon under one scope (4 versions, @ngp-ui): the host name leaves through a DNS lookup.
  • A "flag file" beacon (3 versions, 1 December): a preinstall script looks for /flag.txt-style files and reports whether it found one, under several package names at version 99.9.9.
  • Single packages (23 versions) with internal-looking names and very high version numbers.

Is your scope affected?

  1. Search your lockfiles for the scopes above and for any internal scope of your own: if a public-registry URL appears for an internal package, you resolved from the wrong place.
  2. Check a name on protet.io/check, or pull the feeds into your tooling.
  3. Claim your scope on npm. An organisation that owns its scope on the public registry cannot be impersonated under it.
  4. Pin internal scopes to your private registry (@yourscope:registry= in .npmrc, or scope routing in Nexus and Artifactory), so the public registry is never asked for them.
  5. Watch install scripts in CI. A postinstall that opens a connection to a host your build never uses is visible while the job runs. That is the layer CI/CD runtime security watches.

Data

All numbers come from the public Protet Intel feed as of 2 December 2026: findings (NDJSON), statistics, Atom. Free to reuse with a link.