Malicious code in hexdrift (npm)
Description
The npm package 'hexdrift' version 10.0.1 was found to contain malicious code or depend on a malicious package. Any system with this package installed should be considered fully compromised, and all stored secrets and keys must be rotated immediately from a different system. Removing the package alone may not eliminate all malicious software due to potential full system compromise.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The 'hexdrift' npm package version 10.0.1 contains malicious code or relies on a dependency that contains malicious code. According to sources including Amazon Inspector and GHSA malware advisories, installation or execution of this package results in full compromise of the affected computer. This includes potential unauthorized access and control, necessitating immediate secret/key rotation and package removal. However, removal does not guarantee complete remediation due to the severity of the compromise.
Potential Impact
Systems with 'hexdrift' version 10.0.1 installed are considered fully compromised, implying that attackers may have gained full control over the system. All secrets and keys stored on the affected system are at risk and must be rotated from a secure, uncompromised environment. The presence of malicious code may allow persistent unauthorized access and further malicious activity.
Mitigation Recommendations
Remove the 'hexdrift' package version 10.0.1 immediately. Rotate all secrets and keys stored on the affected system from a different, secure computer. Due to the potential full system compromise, additional forensic analysis and remediation may be necessary. No official patch or fix is indicated; the best mitigation is removal and secret rotation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14508
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-4p5f-gmxw-44x3"]
- Ecosystems
- ["npm"]
Threat ID: 6a9ad4e8acd9273b49b67696
Added to database: 09/04/2026, 14:25:44 UTC
Last enriched: 09/07/2026, 18:08:52 UTC
Last updated: 10/04/2026, 06:40:58 UTC
Views: 24
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.