hashd-edu (npm) · Malicious Code
Affects hashd-eduSource GCVE Database
Malicious package : remove hashd-edu and rotate any secrets on hosts that installed it.
Data as of 15 Jul 2026, 12:44 UTC
Malicious package
Published to npm · OSV MAL-2026-6302
What to do
Remove hashd-edu from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmhashd-edu | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package hashd-edu contains malicious code that installs a remote shell backdoor. This backdoor activates both during installation and when the module is loaded, establishing communication with a hardcoded attacker server. It sends system identifiers and periodically polls for commands to execute, sending back command output. Any system with this package installed or running should be considered fully compromised. Immediate removal of the package and rotation of all secrets and keys is recommended, although full remediation may require a complete system rebuild due to potential persistent compromise.
References
- npmjs.com/package/hashd-edu/v/1.0.5 (opens in a new tab)
- github.com/advisories/GHSA-32g6-6p9r-rhrm (opens in a new tab)
- npmjs.com/package/hashd-edu/v/1.0.0 (opens in a new tab)
- npmjs.com/package/hashd-edu/v/1.0.4 (opens in a new tab)
- npmjs.com/package/hashd-edu/v/1.0.1 (opens in a new tab)
- npmjs.com/package/hashd-edu/v/1.0.2 (opens in a new tab)