Skip to content
supplychainattack.orgSupply chain attack incident catalog
activecritical

Malware in unsafe-malicious-package

Malware discovered in the npm package unsafe-malicious-package. Systems with this package installed are considered fully 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
  • unsafe-malicious-package

The npm package unsafe-malicious-package has been identified as containing malware. According to the GitHub Advisory (GHSA-4gj3-wx83-w2hr), any computer with this package installed or running should be considered fully compromised.\n\nThe advisory warns that all secrets and keys stored on affected computers should 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 package's execution, as the attacker may have gained full control of the system.\n\nUsers should treat any system that has run this package as potentially compromised and take appropriate incident response measures.

Indicators of compromise

Packages
  • unsafe-malicious-package

Remediation

  • Immediately remove the unsafe-malicious-package from all systems
  • Rotate all secrets, API keys, and credentials from a different, uncompromised computer
  • Assume full system compromise and perform forensic analysis
  • Consider rebuilding affected systems from clean media
  • Review system logs and network traffic for signs of unauthorized access or data exfiltration
  • Monitor for any lateral movement or persistence mechanisms installed by the malware

Sources

  1. GitHub Advisory GHSA-4gj3-wx83-w2hr · GitHub Advisory Database

Cite this entry

"Malware in unsafe-malicious-package." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed June 29, 2026; last updated June 29, 2026. https://supplychainattack.org/incident/malware-in-unsafe-malicious-package-1k86yr

Suggest a correction

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

  1. containedcritical

    Malware in fetch-runtime

    Malware was discovered in the npm package fetch-runtime. Any system with this package installed or running should be considered fully compromised. All secrets and keys must be rotated immediately from a different computer.

    npmCompromised package
  2. resolvedcritical

    Malicious code in ghazaly (npm)

    The npm package ghazaly version 99.9.0 contained malicious code that executed a postinstall hook to collect system information (hostname, current user, IP addresses) and exfiltrate it to a Burp Collaborator domain. The package exhibited dependency-confusion characteristics with a high version number and nonsense dependencies.

    npmCompromised packageDependency confusion
  3. containedcritical

    Malicious code in base65-13x (npm)

    base65-13x@5.0.2 on npm contains malicious obfuscated code disguised as a legitimate base-x library. The decode() function executes a ~123KB VM-style payload with dynamic code construction and network I/O capabilities.

    npmCompromised package
  4. containedcritical

    Malicious code in kit-vim-map (npm)

    The npm package kit-vim-map contained malicious code that executes a remote-controlled Linux ELF binary on installation, providing the attacker with arbitrary RCE, persistence, and file exfiltration capabilities. The binary beacons to C2 server 217.60.77.63 and establishes persistence via systemd user units.

    npmCompromised packageMalicious commit