matrixflow-js (npm) · Malicious Code
Affects matrixflow-jsSource GCVE Database
Malicious package : remove matrixflow-js and rotate any secrets on hosts that installed it.
Data as of 19 Aug 2026, 14:15 UTC
Malicious package
Published to npm · OSV MAL-2026-14293
What to do
Remove matrixflow-js 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 |
|---|---|---|
| npmmatrixflow-js | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
matrixflow-js version 3.2.1 is a malicious npm package that impersonates the legitimate ml-matrix library. It contains obfuscated code that decrypts and executes a concealed payload when the solve() function is called with specific input. The payload includes an Ethereum wallet SDK and encrypted components, indicating it targets cryptocurrency wallets. Execution of this package's solve() function on attacker-controlled input results in hidden, unauditable code running on the host system.