MAL-2026-11479

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/rollup-plugin-polyfill-hold/MAL-2026-11479.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-11479
Aliases
  • GHSA-7p2c-jxw4-jxvv
Published
2026-07-31T16:10:05Z
Modified
2026-08-04T23:05:28.331796750Z
Summary
Malicious code in rollup-plugin-polyfill-hold (npm)
Details

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

Source: amazon-inspector (57956044a2c40ab32e789cd46c26ab03304478179d15897f97c29d12cc838e8a)

The package presents itself as a rollup plugin / CDN icon-asset fetcher but its exported getPlugin, setPlugin, and getPluginExten functions issue HTTPS requests to a hardcoded endpoint at rest-icon-handler.store/icons/103 and /icons/389 and pass the JSON-parsed response body to eval(), giving the endpoint owner arbitrary JavaScript execution in the caller's Node process. The destination URL is assembled from split constants (protocol/separator/subdomain/domain/path) rather than appearing as a single string, while a decoy setDefaultModule references legitimate CDN providers (cloudflare/fastly/akamai) that are never contacted by the eval path. getPlugin additionally schedules getPluginExten via setTimeout so the fetch-and-eval recurs. The eval-of-remote-content behavior is not disclosed by the package's advertised purpose and the endpoint is unrelated to any documented CDN.

Source: ghsa-malware (55b9bd8da2181c7be27563d32bcd51eeda41395e0a1660c736840cc94e3613b1)

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": [
        {
            "id": "GHSA-7p2c-jxw4-jxvv",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "sha256": "55b9bd8da2181c7be27563d32bcd51eeda41395e0a1660c736840cc94e3613b1",
            "import_time": "2026-08-02T22:41:04.8362Z",
            "source": "ghsa-malware",
            "modified_time": "2026-07-31T16:10:06Z"
        },
        {
            "id": "IN-MAL-2026-011200",
            "versions": [
                "1.0.5"
            ],
            "modified_time": "2026-08-04T21:46:48Z",
            "import_time": "2026-08-04T22:30:04.759292499Z",
            "source": "amazon-inspector",
            "sha256": "57956044a2c40ab32e789cd46c26ab03304478179d15897f97c29d12cc838e8a"
        }
    ]
}
References
Credits

Affected packages

npm / rollup-plugin-polyfill-hold

Package

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

Affected ranges

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

Affected versions

1.*
1.0.5

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    }
]
indicators
{
    "evidence_files": [
        {
            "sha256": "13535a7d957098baa7df55c7dfe85c49c929e383e8816c161ed6a8c3f23e45b9",
            "path": "index.js",
            "tlsh": "52b1355914e261128772ebfc5a8bc515f734f2237281c299bd9e86c02fb6560a273edc"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/rollup-plugin-polyfill-hold/MAL-2026-11479.json"