Malicious code in matrixflow-js (npm)
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.
AI Analysis
Technical Summary
The [email protected] package is a typosquatting repackage of the legitimate ml-matrix library, designed to deceive users. Its main module routes input to a function that, upon matching a hardcoded SHA-256 hash, decrypts an AES-256-GCM encrypted payload containing an Ethereum wallet SDK and other encrypted blobs. This payload is written to a temporary file and executed in a detached, hidden Node.js process. The presence of crypto-related code and encrypted payloads in a package advertised for matrix computations strongly suggests it is malware targeting crypto wallets. Any downstream application invoking solve() on attacker-controlled input risks executing this malicious payload.
Potential Impact
Execution of the malicious payload can lead to unauthorized code running on the end-user's system, potentially compromising Ethereum wallets and related cryptographic assets. This can result in theft of cryptocurrency or further system compromise. The attack is triggered by calling the solve() function with specific input, making any application using this package vulnerable if it processes untrusted input.
Mitigation Recommendations
No official patch or remediation is currently available. Users and developers should immediately remove [email protected] from their projects and replace it with the legitimate ml-matrix package. Avoid invoking the solve() function on untrusted input. Monitor dependencies carefully to prevent typosquatting packages from being introduced. Check vendor advisories or trusted sources for updates on remediation.
Malicious code in matrixflow-js (npm)
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.
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 [email protected] package is a typosquatting repackage of the legitimate ml-matrix library, designed to deceive users. Its main module routes input to a function that, upon matching a hardcoded SHA-256 hash, decrypts an AES-256-GCM encrypted payload containing an Ethereum wallet SDK and other encrypted blobs. This payload is written to a temporary file and executed in a detached, hidden Node.js process. The presence of crypto-related code and encrypted payloads in a package advertised for matrix computations strongly suggests it is malware targeting crypto wallets. Any downstream application invoking solve() on attacker-controlled input risks executing this malicious payload.
Potential Impact
Execution of the malicious payload can lead to unauthorized code running on the end-user's system, potentially compromising Ethereum wallets and related cryptographic assets. This can result in theft of cryptocurrency or further system compromise. The attack is triggered by calling the solve() function with specific input, making any application using this package vulnerable if it processes untrusted input.
Defensive Guidance
No official patch or remediation is currently available. Users and developers should immediately remove [email protected] from their projects and replace it with the legitimate ml-matrix package. Avoid invoking the solve() function on untrusted input. Monitor dependencies carefully to prevent typosquatting packages from being introduced. Check vendor advisories or trusted sources for updates on remediation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14293
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a85b4b4acd9273b49251546
Added to database: 08/19/2026, 13:50:44 UTC
Last enriched: 08/19/2026, 14:15:30 UTC
Last updated: 08/19/2026, 14:15:30 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.
External Links
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.