Malicious npm package (GHSA-g67x-vc4c-hj3p)
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-g67x-vc4c-hj3p 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-g67x-vc4c-hj3p 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
GitHub advisory GHSA-g67x-vc4c-hj3p 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.
- Unreviewed: GitHub advisory GHSA-g67x-vc4c-hj3p gives no harm classification, so RotateIt assumes the worst.
- Popularity when published: 84 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 84 at 2026-11-26T17:40:26.502Z.
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.