MAL-2026-6372

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/rollup-runtime-polyfill-core/MAL-2026-6372.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-6372
Aliases
  • GHSA-cx5m-r6wc-pp56
Published
2026-06-24T03:58:02Z
Modified
2026-08-21T13:45:10.801471051Z
Summary
Malicious code in rollup-runtime-polyfill-core (npm)
Details

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

Source: amazon-inspector (90dc8536f81ef2ffbd391877bbe1eefbefc900081ef6eaa9848548177c233167)

Package name mimics the legitimate rollup-plugin-polyfill-node and copies its source (the repository field in package.json points to FredKSchott/rollup-plugin-polyfill-node). Appended to dist/index.js is a top-level dropper that runs on every require()/import of the package. The dropper decodes base64-encoded strings to assemble the command npm install driftpin --no-save --silent --no-audit --no-fund, spawns it with stdio: 'ignore' and windowsHide: true to suppress output, then on process close performs require('driftpin') and invokes getPlugin()(). The target module name driftpin is also stored as a base64 literal (ZHJpZnRwaW4=). driftpin is not declared in this package's dependencies and is not shipped in the tarball — its content is attacker-controlled and unpinned, so arbitrary code from a separate npm package executes inside the installer's Node process whenever this module is loaded. The combination of name impersonation of a legitimate polyfill, base64 obfuscation of the command and target name, hidden execution flags, and out-of-tree installation of an unrelated package is an unambiguous install/import-time RCE dropper.

Source: ghsa-malware (86dd829b4d8f5036fa5ebd80007b813641508e5ba5fc0587e57308a3bbc62044)

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.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-06-24T04:54:33.85164802Z",
            "sha256": "e1923adcd8dc53c5f68d2b6f1ef453f5dc52a71fcb2b9e9db502d308e5ef4311",
            "modified_time": "2026-06-24T03:58:02Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-007416",
            "versions": [
                "0.13.7"
            ]
        },
        {
            "import_time": "2026-07-10T17:10:16.260533713Z",
            "sha256": "90dc8536f81ef2ffbd391877bbe1eefbefc900081ef6eaa9848548177c233167",
            "modified_time": "2026-07-10T16:56:31Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-009670",
            "versions": [
                "0.13.9"
            ]
        },
        {
            "import_time": "2026-07-10T17:10:16.355177833Z",
            "sha256": "ebd136cb340adff0341c7b4f86b99d7c026ec67693d1d812559e0a56b64698ad",
            "modified_time": "2026-07-10T16:56:48Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-009672",
            "versions": [
                "0.14.0"
            ]
        },
        {
            "import_time": "2026-07-10T17:10:16.403727304Z",
            "sha256": "f21236e6de3a458e6dff10d509699f19731342b2b09affbbab93d1856328088e",
            "modified_time": "2026-07-10T16:56:55Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-009673",
            "versions": [
                "0.13.8"
            ]
        },
        {
            "import_time": "2026-08-21T13:32:25.265484832Z",
            "sha256": "86dd829b4d8f5036fa5ebd80007b813641508e5ba5fc0587e57308a3bbc62044",
            "modified_time": "2026-08-21T12:29:38Z",
            "source": "ghsa-malware",
            "id": "GHSA-cx5m-r6wc-pp56",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ]
        }
    ]
}
References
Credits

Affected packages

npm / rollup-runtime-polyfill-core

Package

Name
rollup-runtime-polyfill-core
View open source insights on deps.dev
Purl
pkg:npm/rollup-runtime-polyfill-core

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.13.7
0.13.8
0.13.9
0.14.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/rollup-runtime-polyfill-core/MAL-2026-6372.json"
indicators
{
    "evidence_files": [
        {
            "sha256": "fefd061faf0b51e9bb12247f7e656cf87c0be8794b6dc09615292b16a01740f9",
            "path": "dist/index.js",
            "tlsh": "7381532514f66955037376e8558be871397b9393338ccb503e2c83b09fa11288a76afa"
        },
        {
            "sha256": "b09a7c584d91e8268cbfd11aa9809b984f1d920eef7629d9860fb408625d6fcc",
            "path": "package.json",
            "tlsh": "a2318d30cd5d8ea31ad821ed9977a193a0349ed709c4fc4833a6421c4f4f66f20bda6e"
        }
    ],
    "package_integrity": [
        {
            "filename": "rollup-runtime-polyfill-core-0.13.7.tgz",
            "hashes": {
                "sha1": "05c2e7aa84ebf726fe57e31b4e0bb6a6948db969",
                "sha512_sri": "sha512-T/TO5I5ukS09HF/jT2qEimzjFca6L9+V2WVXqDE4H9TSTTytVZVIZXaczJG72CepE352ROxlyU+NS3H96uSTqg=="
            }
        }
    ]
}
cwes
[
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    },
    {
        "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."
    }
]