Malware in hex-type
The npm package hex-type was found to contain malware, resulting in full system compromise of any computer with the package installed or running. GitHub Security Advisory GHSA-jc42-pxfc-29x3 was published on 2026-06-11.
- Disclosed
- Last updated
- Blast radius
- Any system with hex-type installed or running
- Ecosystems
- Attack vectors
- Affected entities
- hex-type
The npm package hex-type was 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\nImmediate remediation is critical: all secrets and keys stored on affected computers should be rotated immediately from a different, uncompromised system. The package should be removed, though there is no guarantee that removal will eliminate all malicious software that may have been installed as a result of the initial compromise.\n\nThis represents a critical supply chain attack through a compromised package in the npm ecosystem.
Indicators of compromise
- Packages
- hex-type
Remediation
- Immediately rotate all secrets and keys from a different, uncompromised computer
- Remove the hex-type package from all affected systems
- Audit system logs for unauthorized access or activity during the period the package was installed
- Consider the affected system(s) potentially fully compromised and plan for complete rebuild if critical systems are involved
- Check for any other suspicious packages or modifications that may have been introduced
Sources
- GitHub Advisory GHSA-jc42-pxfc-29x3 · GitHub Advisory Database
Cite this entry
"Malware in hex-type." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed June 11, 2026; last updated June 11, 2026. https://supplychainattack.org/incident/malware-in-hex-type-ji8p2z
Suggest a correction
Found an error or have a newer source? Corrections to factual errors take priority over new entries.
Related incidents
- activecritical
Malware in um4r719-baileys
The npm package um4r719-baileys contains malware that grants full control of affected systems. Any computer with this package installed should be considered fully compromised and all secrets and keys should be rotated immediately from a different machine.
npmCompromised package - activecritical
Malware in ecto-spirit-win-k4n8
Malware discovered in the npm package ecto-spirit-win-k4n8. Systems with this package installed are considered fully compromised and require immediate remediation.
npmCompromised package - activecritical
Malware in transportator
The npm package transportator contains malware that grants full system compromise to attackers. Any computer with this package installed or running should be considered fully compromised and all secrets and keys rotated immediately from a different machine.
npmCompromised package - containedcritical
Malware in vite-react-toolkit
The npm package vite-react-toolkit contained malware that provided full system compromise to attackers. Any computer with this package installed should be considered fully compromised and all secrets and keys rotated immediately from a different machine.
npmCompromised package