mal-2026-4805
Vulnerability from ossf_malicious_packages
Published
2026-05-26 13:28
Modified
2026-05-26 13:28
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.

CWE
  • CWE-506 - The product contains code that appears to be malicious in nature.
Credits
Amazon Inspector actran@amazon.com

{
  "affected": [
    {
      "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=="
              }
            }
          ]
        }
      },
      "package": {
        "ecosystem": "npm",
        "name": "metricflow-tracker"
      },
      "versions": [
        "1.0.0"
      ]
    }
  ],
  "credits": [
    {
      "contact": [
        "actran@amazon.com"
      ],
      "name": "Amazon Inspector",
      "type": "FINDER"
    }
  ],
  "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"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a9a1c269ce5e462d7e555ce1ca34b7f2e54e3d34ea094d35a67aa7c61d1fe34e)\nThe package\u0027s exported `Metricflow` React component defaults `serverUrl` to `http://51.38.65.105:21531` and, when rendered, appends a `\u003cscript src=\"${serverUrl}/TrakLab-plugin/Dev/tracklab.js\"\u003e` tag to `document.head` in the consumer\u0027s 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 \u2014 whoever controls that IP, and any on-path network attacker, can serve arbitrary JavaScript into the consumer\u0027s 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.\n",
  "id": "MAL-2026-4805",
  "modified": "2026-05-26T13:28:52Z",
  "published": "2026-05-26T13:28:52Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/metricflow-tracker/v/1.0.0"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in metricflow-tracker (npm)"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…