Malware in eth_accounts
Malware was discovered in the eth_accounts npm package. Any computer with this package installed is considered fully compromised and all secrets and keys should be rotated immediately from a different machine.
- Disclosed
- Last updated
- Blast radius
- Any system with eth_accounts installed; potential compromise of all secrets and keys on affected machines
- Ecosystems
- Attack vectors
- Affected entities
- eth_accountsnpm package
The eth_accounts npm package was found to contain malware. According to the GitHub advisory (GHSA-72wp-5hhw-xhfc), any computer that has installed or run this package should be considered fully compromised.\n\nImmediate remediation requires rotating all secrets and keys stored on affected computers from a different, uncompromised machine. While the malicious 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 compromise, given that the attacker may have gained full control of the system.\n\nThe advisory was published on 2026-06-24 via GitHub's security advisory system.
Indicators of compromise
- Packages
- eth_accounts
Remediation
- Immediately rotate all secrets, keys, and credentials stored on any computer that had eth_accounts installed, using a different uncompromised computer
- Remove the eth_accounts package from all affected systems
- Conduct a full security audit and malware scan of any system that had eth_accounts installed
- Review access logs and monitor for unauthorized activity on systems that may have been compromised
- Consider the affected system(s) as potentially fully compromised and plan for complete rebuild if critical systems are involved
Sources
- GitHub Advisory GHSA-72wp-5hhw-xhfc · GitHub Advisory Database
Cite this entry
"Malware in eth_accounts." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed June 24, 2026; last updated June 24, 2026. https://supplychainattack.org/incident/malware-in-eth-accounts-15dmc8
Suggest a correction
Found an error or have a newer source? Corrections to factual errors take priority over new entries.
Related incidents
- resolvedcritical
Malicious code in autbank-core (npm)
The npm package autbank-core contained malicious preinstall and postinstall lifecycle hooks that exfiltrated environment variables, credentials, and system information to a hardcoded webhook.site endpoint during installation.
npmCompromised package - resolvedcritical
Malicious code in adxaa (npm)
The npm package adxaa contained obfuscated malicious JavaScript designed to target users of a specific WordPress site. The payload exfiltrates session data, deletes accounts, and hijacks credentials via email overwrite and password reset.
npmCompromised package - resolvedcritical
Malicious code in upload-to-gcp (npm)
upload-to-gcp@3.2.1 (npm) contains malicious code in its postinstall script that exfiltrates host identifiers to an attacker-controlled endpoint. The package masquerades as a Google Cloud Platform utility but performs unauthorized telemetry collection at install time.
npmCompromised package - resolvedcritical
Malicious code in akamai-sensor (npm)
A malicious npm package named akamai-sensor impersonated Akamai's legitimate sensor_data anti-bot SDK. The package contained hidden JavaScript code concealed using invisible Unicode characters and implemented a dynamic command-and-control channel via a Google Calendar dead-drop, enabling arbitrary code execution on installation.
npmCompromised packageTyposquatting