Skip to main content
MalwarePublished

mutex-lite (npm) · Malicious Code

Affects mutex-liteSource GCVE Database

0

Malicious package : remove mutex-lite and rotate any secrets on hosts that installed it.

Data as of 19 Aug 2026, 14:16 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-14281

What to do

Remove mutex-lite 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

ProductAffectedFixed in
npmmutex-liteAffected
  • =1.4.2
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 mutex-lite version 1.4.2 is a malicious package impersonating the legitimate async-mutex library. It exports a similar Mutex API but includes hidden code that decrypts and executes an encrypted payload when triggered by a specific jobId value. This payload runs detached Node.js processes silently, potentially targeting Ethereum wallet operations via the bundled ethers library. This results in arbitrary code execution within applications that use the package and invoke the runExclusive method with the attacker-controlled jobId.

References

Community reviews

Loading reviews…