Malicious npm package (MAL-2026-18703)
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
MAL-2026-18703 lists malicious npm versions. Unreviewed: RotateIt published this automatically from that OSV record, 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 (OSV record MAL-2026-18703 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
- Remove the affected version and reinstall dependencies from a lockfile that does not pin it
OSV record MAL-2026-18703 lists these versions as malicious.
- 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.
By hand, free: the steps above.