mal-2026-5529
Vulnerability from ossf_malicious_packages
Published
2026-06-10 18:34
Modified
2026-07-27 09:45
Summary
Malicious code in v018-axios-cdntest (npm)
Details

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

Source: amazon-inspector (67d30d2c9939173663f8ba1312b2591d2f86c67657bd5eeff59b19187f50b901)

Package impersonates axios v0.18.0 (index.js carries the genuine axios v0.18.0 | (c) 2018 by Matt Zabriskie header and sets window.axios={}, window.__cdn_package='axios@0.18.0') but ships two malicious payloads. (1) index.js appends an IIFE that reads document.cookie and sends it via XMLHttpRequest GET to a hardcoded webhook.site endpoint (https://webhook.site/ef6e7978-f936-4664-b3ff-296a250e1735?c=<cookies>), firing on the page load event so any consumer loading this script via CDN or bundle leaks all accessible cookies to the attacker. (2) Sibling xmr-min.js is an in-browser Monero cryptojacker that constructs a Web Worker from a Blob and uses eval on dynamic JS to mine to wallet 44AFFq5kSiGBoZ4NMDwYtN18obc8AemS33DBLWs3H7otXft3XjrpDtQGv7SqSsaBYBb98uNbr2VBBEt7f2wfn3RVGQBEP3A via pool.supportxmr.com:4444. The package is intended to be loaded through jsdelivr (cdn.jsdelivr.net/npm/v018-axios-cdntest@.../xmr-min.js), so any site embedding it leaks user cookies and burns visitors' CPU. The package's own description self-labels these payloads.

Source: ghsa-malware (0902ed83dc48bb56f48d5fa1ff144ab005f02d632b373e5fbc7f5ee182a05d6e)

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

CWE
  • CWE-506 - The product contains code that appears to be malicious in nature.
  • CWE-506 - The product contains code that appears to be malicious in nature.
  • CWE-506 - The product contains code that appears to be malicious in nature.
  • CWE-506 - The product contains code that appears to be malicious in nature.
  • CWE-506 - The product contains code that appears to be malicious in nature.
Credits

{
  "affected": [
    {
      "database_specific": {
        "cwes": [
          {
            "cweId": "CWE-506",
            "description": "The product contains code that appears to be malicious in nature.",
            "name": "Embedded Malicious Code"
          },
          {
            "cweId": "CWE-506",
            "description": "The product contains code that appears to be malicious in nature.",
            "name": "Embedded Malicious Code"
          },
          {
            "cweId": "CWE-506",
            "description": "The product contains code that appears to be malicious in nature.",
            "name": "Embedded Malicious Code"
          },
          {
            "cweId": "CWE-506",
            "description": "The product contains code that appears to be malicious in nature.",
            "name": "Embedded Malicious Code"
          },
          {
            "cweId": "CWE-506",
            "description": "The product contains code that appears to be malicious in nature.",
            "name": "Embedded Malicious Code"
          }
        ],
        "indicators": {
          "evidence_files": [
            {
              "path": "index.js",
              "sha256": "68ca1c801b60f550147c9c8ba54a952c223077c93cd845ef1815ec25f7fa7553",
              "tlsh": "7c52b7ce78a1b0d647f720f0805f5e0fb2b6593a644d84a0e560e8f66db546e8727f8c"
            },
            {
              "path": "xmr-min.js",
              "sha256": "d4e79df98be10a6f358cfd304fe9f0bb4b55226bc79bd132a2032e6138f663c3",
              "tlsh": "45f143ccae6514a06c7762356f3f6309ed363003094ad311bebee2001fb9b950299eec"
            },
            {
              "path": "package.json",
              "sha256": "d209269d4f5f0153d78c42f541e56a697773ad4c34c5b87bd7ab9b1131ff7eea",
              "tlsh": "32d0a9320662a91a12f89e21697a481136621f2f30a08d0bba7a100d8ae26b228ca310"
            }
          ],
          "package_integrity": [
            {
              "filename": "v018-axios-cdntest-1.0.2.tgz",
              "hashes": {
                "sha1": "5c5a9eac79c60c65ba0249a8825a89aa59521b7b",
                "sha512_sri": "sha512-wM8m53GDcyQvThZcFVcqBLGUyFCPutrN7qDdhdXX7yKUo5sMYIj+oAwjz1ww1aslQTltAYq1kxfwWAj9xdkokg=="
              }
            }
          ]
        }
      },
      "package": {
        "ecosystem": "npm",
        "name": "v018-axios-cdntest"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "SEMVER"
        }
      ],
      "versions": [
        "1.0.2",
        "1.0.3",
        "1.0.0",
        "1.0.1"
      ]
    }
  ],
  "aliases": [
    "GHSA-cw6g-r53q-23c2"
  ],
  "credits": [
    {
      "contact": [
        "inspector-research@amazon.com"
      ],
      "name": "Amazon Inspector",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "id": "IN-MAL-2026-005288",
        "import_time": "2026-06-10T19:23:48.30857207Z",
        "modified_time": "2026-06-10T18:34:55Z",
        "sha256": "a591698b95bbe1180b694b6aac6d31e658b4fd1e0ba9941f7a9714e223a0ab79",
        "source": "amazon-inspector",
        "versions": [
          "1.0.2"
        ]
      },
      {
        "id": "IN-MAL-2026-005346",
        "import_time": "2026-06-11T01:21:50.796454623Z",
        "modified_time": "2026-06-11T01:01:28Z",
        "sha256": "67d30d2c9939173663f8ba1312b2591d2f86c67657bd5eeff59b19187f50b901",
        "source": "amazon-inspector",
        "versions": [
          "1.0.3"
        ]
      },
      {
        "id": "IN-MAL-2026-005354",
        "import_time": "2026-06-11T02:24:27.341236257Z",
        "modified_time": "2026-06-11T01:41:10Z",
        "sha256": "c1d75c09e9ea65962971d748fe0dd6a3ba162626453ba13b017dddee2bd73efa",
        "source": "amazon-inspector",
        "versions": [
          "1.0.0"
        ]
      },
      {
        "id": "IN-MAL-2026-005353",
        "import_time": "2026-06-11T02:24:27.228796717Z",
        "modified_time": "2026-06-11T01:40:17Z",
        "sha256": "9dc3747912c6afcf740e0b3600533ffde67565b8d6dbfcd192750f45d3625e13",
        "source": "amazon-inspector",
        "versions": [
          "1.0.1"
        ]
      },
      {
        "id": "GHSA-cw6g-r53q-23c2",
        "import_time": "2026-07-27T09:43:03.79259733Z",
        "modified_time": "2026-07-27T01:24:40Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "SEMVER"
          }
        ],
        "sha256": "0902ed83dc48bb56f48d5fa1ff144ab005f02d632b373e5fbc7f5ee182a05d6e",
        "source": "ghsa-malware"
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (67d30d2c9939173663f8ba1312b2591d2f86c67657bd5eeff59b19187f50b901)\nPackage impersonates axios v0.18.0 (index.js carries the genuine `axios v0.18.0 | (c) 2018 by Matt Zabriskie` header and sets `window.axios={}`, `window.__cdn_package=\u0027axios@0.18.0\u0027`) but ships two malicious payloads. (1) index.js appends an IIFE that reads `document.cookie` and sends it via XMLHttpRequest GET to a hardcoded webhook.site endpoint (`https://webhook.site/ef6e7978-f936-4664-b3ff-296a250e1735?c=\u003ccookies\u003e`), firing on the page `load` event so any consumer loading this script via CDN or bundle leaks all accessible cookies to the attacker. (2) Sibling xmr-min.js is an in-browser Monero cryptojacker that constructs a Web Worker from a Blob and uses `eval` on dynamic JS to mine to wallet `44AFFq5kSiGBoZ4NMDwYtN18obc8AemS33DBLWs3H7otXft3XjrpDtQGv7SqSsaBYBb98uNbr2VBBEt7f2wfn3RVGQBEP3A` via `pool.supportxmr.com:4444`. The package is intended to be loaded through jsdelivr (`cdn.jsdelivr.net/npm/v018-axios-cdntest@.../xmr-min.js`), so any site embedding it leaks user cookies and burns visitors\u0027 CPU. The package\u0027s own description self-labels these payloads.\n\n## Source: ghsa-malware (0902ed83dc48bb56f48d5fa1ff144ab005f02d632b373e5fbc7f5ee182a05d6e)\nAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.\n",
  "id": "MAL-2026-5529",
  "modified": "2026-07-27T09:45:44Z",
  "published": "2026-06-10T18:34:55Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/v018-axios-cdntest/v/1.0.2"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/v018-axios-cdntest/v/1.0.3"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/v018-axios-cdntest/v/1.0.0"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/v018-axios-cdntest/v/1.0.1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-cw6g-r53q-23c2"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in v018-axios-cdntest (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…

Loading…