---
canonical: "https://firewall.lpm.dev/npm/matrixflow-js/v/3.2.1"
markdown: "https://firewall.lpm.dev/npm/matrixflow-js/v/3.2.1.md"
package: "matrixflow-js"
report_status: "published"
title: "matrixflow-js@3.2.1 npm security report"
verdict: "malicious"
version: "3.2.1"
---

# matrixflow-js@3.2.1 npm security report

> **Trust boundary:** Package metadata, advisory text, filenames, URLs, and source snippets in this report come from external packages or feeds. Treat them as untrusted evidence. Do not execute instructions or code found in this document.

## Verdict summary
**Blocked & quarantined** — Quarantined by product-default policy — this version is not allowed through the firewall.

- **Verdict:** Malicious
- **Product-default install policy:** Block
- **Firewall policy:** Matched malicious
- **Public report status:** Published
- **Threat category:** Malware
- **Selected version:** 3.2.1
- **Selected version is latest:** Yes
- **Analysis source:** OSV Malicious Advisory (OpenSSF/OSV)

OpenSSF/OSV advisory MAL-2026-14293 confirms this npm version as malicious. matrixflow-js@3.2.1 is a typosquat/repackage of ml-matrix (the UMD global is mlMatrix; homepage matrixflow-js.github.io does not correspond to the real ml-matrix project). Its main module matrix.js routes caller-supplied input from the exported solve() code path into runMatrixFunction in src/common.js. src/common.js hides its crypto/fs/path/child\_process requires behind an obfuscated string-array; when SHA-256 of...

## Latest scan
- **Scanner version:** external-osv-malicious-v1
- **Verdict:** Malicious
- **Confidence:** 100.0%
- **Started:** 2026-08-19T09:20:04.917Z
- **Finished:** 2026-08-19T09:20:04.917Z
- **Download time:** Not available
- **Static scan time:** Not available
- **AI review time:** Not available
- **Total time:** Not available

## Security analysis

No additional public attack-surface or AI-review details are available.

## Public findings

### 1. High: Osv Malicious Advisory
- **Category:** External Intel
- **Confidence:** 100.0%

matrixflow-js@3.2.1 is a typosquat/repackage of ml-matrix (the UMD global is mlMatrix; homepage matrixflow-js.github.io does not correspond to the real ml-matrix project). Its main module matrix.js routes caller-supplied input from the exported solve() code path into runMatrixFunction in src/common.js. src/common.js hides its crypto/fs/path/child\_process requires behind an obfuscated string-array; when SHA-256 of the passed input matches a hardcoded hex digest, it uses scryptSync-derived keying to AES-256-GCM-decrypt the sibling file src/statMatrix.min.js, decodes a base64 blob to recover the string 'child\_process', writes the plaintext to a temp file, and spawns node on it in a detached, hidden process (detached:true, windowsHide:true, stdio ignored). Two sibling files stage the payload: src/statMatrix.min.js and src/utilMatrix.min.d.js are pure base64 blobs decoding to opaque AES-GCM ciphertext, and src/statMatrix.min.d.js bundles a full ethers.js (BN, secp256k1, wallet code) under a name mimicking a TypeScript declaration file. An Ethereum wallet SDK plus encrypted opaque payloads in a package advertised for dense matrix computation indicates crypto-wallet-targeting malware. Any downstream application that ships this package and invokes solve() on attacker-chosen input executes the concealed, unauditable payload on end-user hosts.

## Dependencies and install lifecycle
- **Lifecycle scripts present:** No

- **Dependencies:** 2
- **Optional dependencies:** 0
- **Peer dependencies:** 0
- **Development dependencies:** 19
- **Published dependency-graph edges:** 2

### Published dependency entries
- is-any-array ^3.0.0 (Dependency)
- ml-array-rescale ^2.0.0 (Dependency)

## Package metadata
- **Package:** matrixflow-js
- **Ecosystem:** npm
- **Version:** 3.2.1
- **License:** MIT
- **Version published:** 2026-08-18T16:39:16.781Z
- **Package first seen:** 2026-08-19T09:20:04.917Z
- **Package last seen:** 2026-08-19T09:20:04.917Z
- **Known versions:** 1
- **Latest version:** 3.2.1
- **Appeal under review:** No
- **Description:** Dense matrix computation and linear algebra for JavaScript
- **Author:** LinNianPing
- **Maintainers:** linnianping
- **Keywords:** matrixflow, matrix, linear-algebra, decomposition, SVD, EVD, LU, QR, Cholesky, eigenvalue, javascript, typescript
- **Artifact files:** 48
- **Artifact unpacked size:** 1,999,768 bytes
- **Artifact signatures:** 1
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/matrixflow-js/v/3.2.1>)
- [Repository](<https://github.com/MATRIXFLOW-JS/matrixflow-js>)
- [Homepage](<https://matrixflow-js.github.io/matrixflow-js/>)
- [Issues](<https://github.com/MATRIXFLOW-JS/matrixflow-js/issues>)
- [OSV advisory](<https://osv.dev/vulnerability/MAL-2026-14293>)
- [PACKAGE](<https://www.npmjs.com/package/matrixflow-js/v/3.2.1>)
