Skip to content
supplychainattack.orgSupply chain attack incident catalog
containedcritical

Malware in path-internal-util

The npm package path-internal-util was found to contain malware, potentially giving attackers full control of affected systems. All systems with this package installed should be considered compromised and require immediate remediation.

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

The npm package path-internal-util was identified as containing malware. According to the GitHub Security Advisory (GHSA-c267-q765-387r), any computer with 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 the potential for full system access by the attacker.\n\nUsers should treat any system that has had this package installed as potentially fully compromised and take appropriate incident response measures.

Indicators of compromise

Packages
  • path-internal-util

Remediation

  • Immediately remove the path-internal-util package from all systems
  • Rotate all secrets, API keys, and credentials from a different, uncompromised computer
  • Conduct a full security audit and forensic analysis of any system that had the package installed
  • Monitor affected systems for signs of unauthorized access or persistence mechanisms
  • Consider rebuilding or replacing systems that had this package installed, as full removal of malware cannot be guaranteed

Sources

  1. GitHub Advisory GHSA-c267-q765-387r · GitHub Advisory Database

Cite this entry

"Malware in path-internal-util." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed June 29, 2026; last updated June 29, 2026. https://supplychainattack.org/incident/malware-in-path-internal-util-rvbpci

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 sme-rko-finance-front-operations-feed-models (npm)

    The npm package sme-rko-finance-front-operations-feed-models contained malicious code that downloads and executes attacker-controlled native binaries from remote servers upon package load. The malware uses obfuscation techniques including fragmented string arrays, platform-specific endpoints, and DNS TXT record fallbacks to evade detection.

    npmCompromised package
  2. resolvedcritical

    Malicious code in modern-localization (npm)

    The npm package modern-localization contained malicious code that fetches and executes arbitrary JavaScript from a remote jsonbin.io endpoint on server-side require, with no integrity verification. The payload is executed with full Node.js privileges via Function() or child_process.fork().

    npmCompromised package
  3. resolvedcritical

    Malicious code in sme-rko-finance-front-operations-tax (npm)

    The npm package sme-rko-finance-front-operations-tax contained malicious code that downloads and executes platform-specific binaries from attacker-controlled infrastructure on require. The package was identified and reported by OpenSSF's malicious-packages project.

    npmCompromised package
  4. resolvedcritical

    Malicious code in localization-fixer (npm)

    The npm package localization-fixer contained malicious code that fetches and executes arbitrary JavaScript from attacker-controlled jsonbin.io endpoints on package require, granting full Node.js capabilities to remote payloads.

    npmCompromised package