rotateit

All incidents

Malicious npm package (GHSA-2x3h-q46j-64j2)

Disclosed Nov 25, 2026 · updated Nov 25, 2026 · high · Active

A malicious npm package is installed in a project you scanned.

Are you affected?

The free scanner that answers this opens soon. Until then, the steps below work by hand.

What happened

GHSA-2x3h-q46j-64j2 lists malicious npm versions. Unreviewed: RotateIt published this automatically from that GitHub advisory, and no person has checked it. RotateIt flags it only when an affected version is pinned in a lockfile or installed in a project it scanned.

Exposure starts
Not known yet (GitHub advisory GHSA-2x3h-q46j-64j2 does not say when the package was first installable)
Exposure ends
Not known yet
Confidence
low
Scope
every credential on a machine where an affected version was installed

What to do, in this order

  1. Remove the affected version and reinstall dependencies from a lockfile that does not pin it

    GitHub advisory GHSA-2x3h-q46j-64j2 lists these versions as malicious.

  2. From a clean machine, rotate every credential the affected machine could read

    Advisory inference: install-time code runs with the user's access, so any credential on that machine may have been read.

    anything else stored there

Notes

  • Advisory inference: a malicious package runs with the access of whoever installed it, so every credential that machine could read is treated as exposed.
  • Unreviewed: GitHub advisory GHSA-2x3h-q46j-64j2 gives no harm classification, so RotateIt assumes the worst.
  • Popularity when published: 335 downloads in the week before, per package as listed (api.npmjs.org). The automatic lane publishes only packages with at most 50000 weekly downloads; above that a person reviews it.
  • Registry evidence, per package as listed (its weekly-downloads request): api.npmjs.org answered 335 at 2026-11-25T17:56:18.581Z.

Sources

Rotating the keys

Pro, $49 a year when it opens, plans the rotation of each affected key for this incident, in this order. Automatic rotation is in testing and included.

One email when it opens. Stored: your email, whether you confirmed, and when you signed up. We send a confirmation link first.

By hand, free: the steps above.