Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in hashd-edu (npm)

0
Critical
Published: 06/23/2026 (06/23/2026, 15:24:26 UTC)
Source: GCVE Database
Product: hashd-edu

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.

Affected software

npmghsa
hashd-edu
Affected versions
=1.0.5=1.0.0=1.0.4=1.0.1=1.0.2

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

AILast updated: 07/15/2026, 12:44:51 UTC

Technical Analysis

The hashd-edu npm package versions 1.0.0, 1.0.1, 1.0.2, 1.0.4, and 1.0.5 include a malicious remote shell backdoor. The postinstall.js script forks a detached daemon that registers the infected machine with an attacker-controlled server and polls it every 30 seconds for commands, executing them via child_process.exec() and returning output. The main module index.js contains the same command-and-control logic, so requiring the package triggers the backdoor. This unconditional reverse-shell beacon to a hardcoded IP compromises any system using the package.

Potential Impact

Systems with hashd-edu installed or running are fully compromised, allowing attackers remote code execution and persistent control. All secrets and keys on the affected system should be considered exposed and must be rotated from a separate, trusted environment. Removing the package alone may not eliminate the attacker presence due to the backdoor's persistence and potential additional malware.

Mitigation Recommendations

Remove the hashd-edu package immediately from all affected systems. Rotate all secrets, credentials, and keys from a secure, uncompromised environment. Because the backdoor grants full control to attackers, consider rebuilding or thoroughly cleaning affected systems to ensure complete removal of malicious code. Monitor for any signs of persistent compromise. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-6302
Osv Schema Version
1.7.4
Aliases
["GHSA-32g6-6p9r-rhrm"]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a577ed568715ace43b3f86a

Added to database: 07/15/2026, 12:36:37 UTC

Last enriched: 07/15/2026, 12:44:51 UTC

Last updated: 07/31/2026, 05:04:44 UTC

Views: 45

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses