MAL-2026-4805

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/metricflow-tracker/MAL-2026-4805.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-4805
Published
2026-05-26T13:28:52Z
Modified
2026-05-26T13:47:12Z
Summary
Malicious code in metricflow-tracker (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (a9a1c269ce5e462d7e555ce1ca34b7f2e54e3d34ea094d35a67aa7c61d1fe34e)

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.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-004911",
            "import_time": "2026-05-26T13:32:47.033273503Z",
            "modified_time": "2026-05-26T13:28:52Z",
            "sha256": "a9a1c269ce5e462d7e555ce1ca34b7f2e54e3d34ea094d35a67aa7c61d1fe34e",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / metricflow-tracker

Package

Name
metricflow-tracker
View open source insights on deps.dev
Purl
pkg:npm/metricflow-tracker

Affected ranges

Affected versions

1.*
1.0.0

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "dist/index.js",
            "sha256": "cdc3f2349d5fff30bc584c81f42f36cb3134a5ea58869dc1c30d4805a15a0a12",
            "tlsh": "f531ee904cf694760962405eabb3d251bb866663a00ad40d7bdddb4a6f80fcc5dc1be1"
        }
    ],
    "package_integrity": [
        {
            "filename": "metricflow-tracker-1.0.0.tgz",
            "hashes": {
                "sha1": "d68a60c916f806249435c625366e3a04dc5b951c",
                "sha512_sri": "sha512-sdBvy0X9A51iJpA43xFLyWZlHocCxxzRxCk5JN236/0tbe5aFnvkKSaXSDN9oizDNT5b+iuBxd8NIUPmtTvvOg=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/metricflow-tracker/MAL-2026-4805.json"