rotateit

All incidents

Malicious npm package (GHSA-w25j-c6g4-mhwq)

Disclosed Nov 6, 2026 · updated Nov 6, 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-w25j-c6g4-mhwq 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-w25j-c6g4-mhwq 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-w25j-c6g4-mhwq 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.

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.