目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%
← 返回恶意软件包
npm active

rollup-plugin-polyfill-hold

MAL-2026-11479
2026-08-04 22:32:06
OpenSSF Malicious Packages
该软件包被识别为恶意包。建议隔离受影响环境,并排查凭据泄露和异常网络连接。

Summary

Malicious code in rollup-plugin-polyfill-hold (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
295
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmrollup-plugin-polyfill-hold*
npmrollup-plugin-polyfill-hold1.0.5
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-11479","published":"2026-07-31T16:10:05Z","modified":"2026-08-04T22:32:05.889198554Z","aliases":["GHSA-7p2c-jxw4-jxvv"],"summary":"Malicious code in rollup-plugin-polyfill-hold (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (57956044a2c40ab32e789cd46c26ab03304478179d15897f97c29d12cc838e8a)\nThe 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.\n\n## Source: ghsa-malware (55b9bd8da2181c7be27563d32bcd51eeda41395e0a1660c736840cc94e3613b1)\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","affected":[{"package":{"name":"rollup-plugin-polyfill-hold","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.5"],"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":"index.js","sha256":"13535a7d957098baa7df55c7dfe85c49c929e383e8816c161ed6a8c3f23e45b9","tlsh":"52b1355914e261128772ebfc5a8bc515f734f2237281c299bd9e86c02fb6560a273edc"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-7p2c-jxw4-jxvv"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/rollup-plugin-polyfill-hold/v/1.0.5"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-7p2c-jxw4-jxvv","import_time":"2026-08-02T22:41:04.8362Z","modified_time":"2026-07-31T16:10:06Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"55b9bd8da2181c7be27563d32bcd51eeda41395e0a1660c736840cc94e3613b1","source":"ghsa-malware"},{"id":"IN-MAL-2026-011200","import_time":"2026-08-04T22:30:04.759292499Z","modified_time":"2026-08-04T21:46:48Z","sha256":"57956044a2c40ab32e789cd46c26ab03304478179d15897f97c29d12cc838e8a","source":"amazon-inspector","versions":["1.0.5"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

数据来源:OpenSSF Malicious Packages · Apache-2.0