MAL-2026-14426
Vulnerability from ossf_malicious_packages
Published
2026-08-24 16:45
Modified
2026-10-14 22:25
Summary
Malicious code in babel-polyfill-plugin-corejs2 (npm)
Details

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

Source: amazon-inspector (13878d994b01607c379e26646449b7cca95099f9b2eb5be2e1f8e19aeea32eb3)

The package advertises itself as a Babel core-js 2 polyfill plugin, but the shipped lib/index.js contains unrelated web3-core-subscriptions boilerplate followed by a Function() invocation whose body is ~110KB of obfuscated JavaScript (random identifiers, numeric offset arrays, TEA-like mixing routine, unicode-escape string literals). The Function() call executes whenever a consumer require()s the package, running the opaque payload at import time. The declared purpose does not match the shipped code, and the obfuscation is confined to the appended payload rather than being a general minification artifact.

Source: ghsa-malware (69ae525ab6e1ea4ee1d3d1cbb451a97e4e89072feb3df4c506f51eb14a34dd66)

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.

{
  "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"
          }
        ],
        "indicators": {
          "evidence_files": [
            {
              "path": "lib/index.js",
              "sha256": "e128537a49012ee255e98827ece385ecabeb4827ba8ce8dc2eaca045102666dc",
              "tlsh": "f3b3bac722fa961dcc92cea08df45e4d43a85422cfc510c4bf9b9d5ee6ae690e7e1344"
            },
            {
              "path": "package.json",
              "sha256": "0a2baad786bbd1b0fd113b5900f912aaa621a10f127b16c67beb4c2424e9eeba",
              "tlsh": "1c018920c4785eb316e923a9fc9845035270464b4c6dbc0837ac52ac8f5d5de98fc6ad"
            }
          ],
          "package_integrity": [
            {
              "filename": "babel-polyfill-plugin-corejs2-1.0.1.tgz",
              "hashes": {
                "sha1": "076c925c9d1cf6a577096db7b79ab1ef3879459c",
                "sha512_sri": "sha512-mzX1+c9z0ZZLO4As7ARbnPLaXslwBKS3y90lV/SOAPKhaBpr1L38ZQzBxEZTQWmjVM7kmqpek4BBq4N1n15Mhw=="
              }
            }
          ]
        }
      },
      "package": {
        "ecosystem": "npm",
        "name": "babel-polyfill-plugin-corejs2"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "SEMVER"
        }
      ],
      "versions": [
        "1.0.1"
      ]
    }
  ],
  "aliases": [
    "GHSA-9g6r-83hw-6cq2"
  ],
  "credits": [
    {
      "contact": [
        "inspector-research@amazon.com"
      ],
      "name": "Amazon Inspector",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "id": "IN-MAL-2026-018647",
        "import_time": "2026-08-24T16:49:14.751664125Z",
        "modified_time": "2026-08-24T16:45:38Z",
        "sha256": "13878d994b01607c379e26646449b7cca95099f9b2eb5be2e1f8e19aeea32eb3",
        "source": "amazon-inspector",
        "versions": [
          "1.0.1"
        ]
      },
      {
        "id": "GHSA-9g6r-83hw-6cq2",
        "import_time": "2026-10-14T22:23:09.401333799Z",
        "modified_time": "2026-10-14T22:21:14Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "SEMVER"
          }
        ],
        "sha256": "69ae525ab6e1ea4ee1d3d1cbb451a97e4e89072feb3df4c506f51eb14a34dd66",
        "source": "ghsa-malware"
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (13878d994b01607c379e26646449b7cca95099f9b2eb5be2e1f8e19aeea32eb3)\nThe package advertises itself as a Babel core-js 2 polyfill plugin, but the shipped lib/index.js contains unrelated web3-core-subscriptions boilerplate followed by a Function() invocation whose body is ~110KB of obfuscated JavaScript (random identifiers, numeric offset arrays, TEA-like mixing routine, unicode-escape string literals). The Function() call executes whenever a consumer require()s the package, running the opaque payload at import time. The declared purpose does not match the shipped code, and the obfuscation is confined to the appended payload rather than being a general minification artifact.\n\n## Source: ghsa-malware (69ae525ab6e1ea4ee1d3d1cbb451a97e4e89072feb3df4c506f51eb14a34dd66)\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-14426",
  "modified": "2026-10-14T22:25:03.003516226Z",
  "published": "2026-08-24T16:45:38Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/babel-polyfill-plugin-corejs2/v/1.0.1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-9g6r-83hw-6cq2"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in babel-polyfill-plugin-corejs2 (npm)"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

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.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.