Skip to main content
MalwarePublished

root-locator (npm) · Malicious Code

Affects root-locatorSource GCVE Database

0

Malicious package : remove root-locator and rotate any secrets on hosts that installed it.

Data as of 14 Aug 2026, 16:46 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-14009

What to do

Remove root-locator from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmroot-locatorAffected
  • =1.2.0
  • =1.1.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The npm package 'root-locator' versions 1.1.0 and 1.2.0 contain malicious code or depend on code that is malicious. Installing or running this package can lead to a full compromise of the affected computer. Secrets and keys stored on the compromised system should be rotated immediately from a different, secure machine. Removing the package alone may not eliminate all malicious software introduced by it.

References

Community reviews

Loading reviews…