Skip to content
supplychainattack.orgSupply chain attack incident catalog
activecritical

Malware in root-locator

The npm package root-locator contains malware that grants full system compromise to attackers. Any computer with this package installed or running should be considered fully compromised.

ShareXLinkedInHacker News
Disclosed
Last updated
Blast radius
Any system with the package installed or running
Ecosystems
Attack vectors
Affected entities
  • root-locator

The npm package root-locator has been identified as containing malware. According to the GitHub Security Advisory, any computer that has this package installed or running should be considered fully compromised.\n\nThe advisory recommends that all secrets and keys stored on affected computers be rotated immediately from a different, uncompromised system. While the package should be removed, there is no guarantee that removal will eliminate all malicious software that may have been installed as a result of the initial compromise, given that the attacker may have gained full control of the system.\n\nAffected users should treat their systems as potentially fully compromised and take appropriate incident response measures.

Indicators of compromise

Packages
  • root-locator

Remediation

  • Immediately isolate affected systems from the network
  • Rotate all secrets, API keys, and credentials from a different, uncompromised computer
  • Remove the root-locator package from all systems
  • Perform a full security audit and malware scan of affected systems
  • Consider the affected systems as potentially fully compromised and plan for complete rebuild if critical systems are involved
  • Review access logs and audit trails for any unauthorized activity during the period the package was installed

Sources

  1. GitHub Advisory GHSA-57g4-vm3v-74xg · GitHub Advisory Database

Cite this entry

"Malware in root-locator." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed August 13, 2026; last updated August 13, 2026. https://supplychainattack.org/incident/malware-in-root-locator-1lv0f6

Suggest a correction

Found an error or have a newer source? Corrections to factual errors take priority over new entries.

  1. resolvedcritical

    Malicious code in pump-segments-sdk (npm)

    The npm package pump-segments-sdk contained malicious code in a postinstall hook that exfiltrated sensitive system and npm configuration data to an attacker-controlled server. The package collected hostname, environment variables, system information, npm auth tokens, and attempted to read password hashes.

    npmCompromised package
  2. containedcritical

    Malicious code in ts-rand-sdk (npm)

    The npm package ts-rand-sdk contained malicious code disguised as a product catalog loader. When the advertised getTransactions() API was called, hidden obfuscated JavaScript was decoded and executed with full Node.js capabilities, enabling arbitrary filesystem, process, and network access on affected systems.

    npmCompromised package
  3. resolvedcritical

    Malicious code in lodsh-cli (npm)

    lodsh-cli, a typosquat of lodash-cli on npm, contained malicious code in its postinstall script that executed arbitrary remote code and exfiltrated system information. The package downloaded a Windows executable and sent platform data to a hardcoded IP address.

    npmTyposquattingCompromised package
  4. containedcritical

    Malicious code in lodahsjs (npm)

    The npm package lodahsjs is a typosquatting attack on 'lodash' that contains malicious code in its postinstall script. Upon installation, it exfiltrates system information to a C2 server and downloads and executes a Windows binary, with capability to bridge WSL environments to compromise the host Windows system.

    npmCompromised packageTyposquatting