Malicious code in mutex-forge (npm)
The npm package mutex-forge versions 2.0.0, 2.0.1, and 2.0.2 contains malicious code that acts as a multi-stage loader. It performs host reconnaissance and exfiltrates data to hardcoded Telegram and Slack channels using embedded bot tokens. It also downloads and executes additional payloads from an Ethereum smart contract, establishing persistent remote command and control. The malware attempts to cover its tracks by deleting its components and modifying its own source code after execution. Any system with this package installed should be considered fully compromised.
AI Analysis
Technical Summary
The mutex-forge npm package masquerades as a mutex/semaphore library but contains a hidden multi-stage malicious loader. When triggered by a specific callback, it collects detailed host information and sends it to attacker-controlled Telegram and Slack channels using embedded bot tokens. It connects to the Ethereum Sepolia network to retrieve encrypted payloads from a smart contract, decrypts them using AES-GCM with an X25519-derived key, writes them to disk, and executes them. A persistent remote command channel is established by polling Slack API for attacker commands, decrypting and executing them. The malware cleans up by deleting its loader files and rewriting its source code to remove the malicious trigger, attempting to evade detection. Live third-party bot tokens and network destinations are embedded in obfuscated form within the payload.
Potential Impact
Systems with mutex-forge versions 2.0.0, 2.0.1, or 2.0.2 installed are fully compromised. The attacker gains remote code execution, persistent control, and exfiltration capabilities. All secrets and keys on the compromised system should be considered exposed and rotated immediately. Removing the package alone does not guarantee removal of all malicious components due to the persistence mechanisms employed.
Mitigation Recommendations
No official patch or fix is currently available for this malicious package. Immediate removal of mutex-forge versions 2.0.0, 2.0.1, and 2.0.2 is strongly recommended. All credentials and secrets stored on affected systems should be rotated from a secure, uncompromised environment. Due to the persistence and cleanup behavior of the malware, a full system compromise should be assumed, and affected systems should be thoroughly investigated and rebuilt if necessary.
Malicious code in mutex-forge (npm)
Description
The npm package mutex-forge versions 2.0.0, 2.0.1, and 2.0.2 contains malicious code that acts as a multi-stage loader. It performs host reconnaissance and exfiltrates data to hardcoded Telegram and Slack channels using embedded bot tokens. It also downloads and executes additional payloads from an Ethereum smart contract, establishing persistent remote command and control. The malware attempts to cover its tracks by deleting its components and modifying its own source code after execution. Any system with this package installed should be considered fully compromised.
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 mutex-forge npm package masquerades as a mutex/semaphore library but contains a hidden multi-stage malicious loader. When triggered by a specific callback, it collects detailed host information and sends it to attacker-controlled Telegram and Slack channels using embedded bot tokens. It connects to the Ethereum Sepolia network to retrieve encrypted payloads from a smart contract, decrypts them using AES-GCM with an X25519-derived key, writes them to disk, and executes them. A persistent remote command channel is established by polling Slack API for attacker commands, decrypting and executing them. The malware cleans up by deleting its loader files and rewriting its source code to remove the malicious trigger, attempting to evade detection. Live third-party bot tokens and network destinations are embedded in obfuscated form within the payload.
Potential Impact
Systems with mutex-forge versions 2.0.0, 2.0.1, or 2.0.2 installed are fully compromised. The attacker gains remote code execution, persistent control, and exfiltration capabilities. All secrets and keys on the compromised system should be considered exposed and rotated immediately. Removing the package alone does not guarantee removal of all malicious components due to the persistence mechanisms employed.
Defensive Guidance
No official patch or fix is currently available for this malicious package. Immediate removal of mutex-forge versions 2.0.0, 2.0.1, and 2.0.2 is strongly recommended. All credentials and secrets stored on affected systems should be rotated from a secure, uncompromised environment. Due to the persistence and cleanup behavior of the malware, a full system compromise should be assumed, and affected systems should be thoroughly investigated and rebuilt if necessary.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-13955
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-2gqm-6m3p-62g5"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a7f43f1bf8831d5395d7654
Added to database: 08/14/2026, 16:36:01 UTC
Last enriched: 08/14/2026, 16:47:21 UTC
Last updated: 08/14/2026, 16:47:21 UTC
Views: 2
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.
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.