Skip to main content

Malicious code in mutex-thread (npm)

0
Critical
Published: 08/18/2026 (08/18/2026, 23:50:30 UTC)
Source: GCVE Database
Product: mutex-thread

Description

The npm package 'mutex-thread' version 1.3.0 contains malicious code injected into its Mutex.js file. When a specific callback with meta.jobId 'cross-chain-transfer' is invoked, it launches an obfuscated dropper that fetches encrypted payloads from a Sepolia Ethereum smart contract, decrypts and executes them. The malware collects host system information and exfiltrates it to hardcoded Slack and Telegram bots. It also continuously polls Slack for encrypted commands to update or delete itself, using sophisticated obfuscation to hide its command and control infrastructure.

Affected software

npmghsa
mutex-thread
Affected versions
=1.3.0

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: 08/19/2026, 14:53:23 UTC

Technical Analysis

The 'mutex-thread' npm package version 1.3.0 includes a malicious branch in its runExclusive function that triggers when the callback meta.jobId equals 'cross-chain-transfer'. This branch spawns a detached Node.js process running an obfuscated dropper script (withLoad.min.js) that interacts with a Sepolia Ethereum smart contract to retrieve encrypted payloads. The dropper decrypts these payloads using a derived shared secret, writes them to disk with executable permissions, and executes them. Before executing commands, it collects detailed host reconnaissance data (OS platform, release, architecture, hostname, CPU info, memory, uptime) and sends this information to hardcoded Slack and Telegram bots. Another script polls Slack's conversation history to receive encrypted commands, which it decrypts and executes dynamically. The malware supports self-deletion triggered by a specific sentinel command. The code uses string rotation and base64 encoding to obfuscate critical strings such as C2 hosts, bot tokens, channel IDs, and the Ethereum contract address.

Potential Impact

This malicious package enables remote attackers to execute arbitrary code on affected systems by delivering encrypted payloads through a blockchain-based command and control mechanism. It compromises host confidentiality by collecting and exfiltrating system information to attacker-controlled Slack and Telegram bots. The malware can update itself dynamically and remove traces upon receiving specific commands, complicating detection and remediation.

Mitigation Recommendations

No official patch or remediation guidance is provided in the available data. Users should immediately remove version 1.3.0 of the 'mutex-thread' package from their environments and avoid using this package until a trusted, clean version is available. Monitor for any unusual Node.js child processes or network connections to Slack or Telegram APIs. Check vendor advisories or trusted security sources for updates on remediation or patched versions.

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-14185
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a85b4cbacd9273b49252e9f

Added to database: 08/19/2026, 13:51:07 UTC

Last enriched: 08/19/2026, 14:53:23 UTC

Last updated: 10/02/2026, 13:52:59 UTC

Views: 28

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