MAL-2026-11478

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/rollup-plugin-polyfill-helper/MAL-2026-11478.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-11478
Aliases
  • GHSA-583c-qcpm-pcw6
Published
2026-07-31T11:08:11Z
Modified
2026-08-04T23:05:28.151709676Z
Summary
Malicious code in rollup-plugin-polyfill-helper (npm)
Details

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

Source: amazon-inspector (a26ffb29f08934ff71707ec249cb3572812636676d81be362b826ab0db54b5d1)

Package presents itself as a rollup plugin for CDN SVG icons, but its exported functions getPlugin/setPlugin/getPluginExten issue an HTTP request to a hardcoded remote endpoint at https://rest-icon-helper.store/icons/303 (and /icons/389) and pass the response body directly to eval(JSON.parse(b)), granting whatever the remote host serves arbitrary code execution in the caller's process. The destination URL is not written as a plain literal; it is reconstructed at runtime from split constants (protocol, separator, subdomain 'rest-icon-helper', domain 'store', path '/icons/', numeric token) via a template string. Execution is platform-gated with process.platform === 'win32' via isPlugin(): on non-Windows the remote fetch fires immediately and a follow-up getPluginExten is scheduled 60 seconds later; on Windows getPluginExten runs directly. The stated rollup-polyfill/SVG-icon purpose is unrelated to the fetch-and-eval behavior and does not appear elsewhere in the module.

Source: ghsa-malware (58f0559ad4447885bd5ef3581be2e97da6b7c82cff4c628e1e22606cb91d0228)

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": [
        {
            "modified_time": "2026-07-31T11:08:12Z",
            "id": "GHSA-583c-qcpm-pcw6",
            "sha256": "58f0559ad4447885bd5ef3581be2e97da6b7c82cff4c628e1e22606cb91d0228",
            "source": "ghsa-malware",
            "import_time": "2026-08-02T22:41:04.771183Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ]
        },
        {
            "modified_time": "2026-08-04T21:40:43Z",
            "import_time": "2026-08-04T22:30:02.31701221Z",
            "sha256": "60d8061ca2f57f7008b4ff70d8bc637f458eda935a4bc27a160cfca11915c619",
            "source": "amazon-inspector",
            "versions": [
                "1.0.4"
            ],
            "id": "IN-MAL-2026-011157"
        },
        {
            "modified_time": "2026-08-04T21:44:13Z",
            "import_time": "2026-08-04T22:30:03.606825601Z",
            "sha256": "a26ffb29f08934ff71707ec249cb3572812636676d81be362b826ab0db54b5d1",
            "source": "amazon-inspector",
            "versions": [
                "1.0.3"
            ],
            "id": "IN-MAL-2026-011181"
        },
        {
            "modified_time": "2026-08-04T21:44:04Z",
            "versions": [
                "1.0.2"
            ],
            "sha256": "a69d9a2c1316dc5a2c0f273be461906290b757079f7ec6a390e6f3ce1d5df473",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-011180",
            "import_time": "2026-08-04T22:30:03.553237986Z"
        },
        {
            "modified_time": "2026-08-04T21:48:40Z",
            "import_time": "2026-08-04T22:30:05.429722482Z",
            "sha256": "a8def8b67e085c484b8cf7ba9f35100eca7244cf274332ce06617fede6705d90",
            "source": "amazon-inspector",
            "versions": [
                "1.0.1"
            ],
            "id": "IN-MAL-2026-011213"
        },
        {
            "modified_time": "2026-08-04T21:43:54Z",
            "versions": [
                "1.0.5"
            ],
            "sha256": "d99eb651e9ff22e6a2d37f59136834acc322ba198545f2955e517529f64fafca",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-011179",
            "import_time": "2026-08-04T22:30:03.516511128Z"
        },
        {
            "modified_time": "2026-08-04T21:44:57Z",
            "versions": [
                "1.0.0"
            ],
            "sha256": "457d27d7709291987fdc64ccb68480691c566cf2c9d7d71591467fd89a378ed0",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-011186",
            "import_time": "2026-08-04T22:30:03.842353374Z"
        }
    ]
}
References
Credits

Affected packages

npm / rollup-plugin-polyfill-helper

Package

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

Affected ranges

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

Affected versions

1.*
1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/rollup-plugin-polyfill-helper/MAL-2026-11478.json"
indicators
{
    "evidence_files": [
        {
            "tlsh": "27b1444914a161228772ebf85a8bc515f735f2237242c299bdde86c02fb6570e273edc",
            "path": "index.js",
            "sha256": "52e9558f2a274aded60f3ee19a1fc577464d1e324d9deef2fbc0e7d03be7b2c7"
        }
    ]
}
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",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "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"
    }
]