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

目标: 1000 元 · 已筹: 1359 元

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

web-vitals-polyfill-core-v1

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

Summary

Malicious code in web-vitals-polyfill-core-v1 (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
218
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmweb-vitals-polyfill-core-v1*
npmweb-vitals-polyfill-core-v11.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-17303","published":"2026-09-30T00:39:47Z","modified":"2026-09-30T06:45:09.490752744Z","aliases":["GHSA-h475-44q2-vfjx"],"summary":"Malicious code in web-vitals-polyfill-core-v1 (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (38311c0f483e9485a7b5e8aa7f9a093a40203d8e1a025c0bf5850c2874cffdfa)\nThe package name mimics the widely-used web-vitals polyfill but the tarball ships disk/index.min.js, a base64-wrapped service-worker payload (self.__PWA_ROUTER__.executeTacticalRouting) that resolves an active destination via DoH TXT lookups of api.chinazhangsan.ccwu.cc (queried through doh.pub and dns.alidns.com) with base64-encoded fallback endpoints on gist.githubusercontent.com/chinazhangsan999-crypto and api.npoint.io, performs decoy fetches, and issues Response.redirect(targetUrl, 302) to the resolved host. package.json declares main: index.js which is not present in the tarball, so the package has no legitimate library surface; its shipped code is exclusively the obfuscated redirector, intended to be loaded into a consuming site's service worker where it can hijack end-user navigation to attacker-chosen destinations resolved at runtime through multi-provider DNS-over-HTTPS and paste-site fallbacks.\n\n## Source: ghsa-malware (583291fe7133304271006d1ca425c04aebce7279be07963310434403dfc19319)\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":"web-vitals-polyfill-core-v1","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.0"],"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":"disk/index.min.js","sha256":"76ec2b68807c6ef7ae1e93dbc31b21d0ab1fa8ea865719a9b8b85f1bdb295dfe","tlsh":"e391e796cec72e94d7f8815b35ec7eee0c8e538b3ce3699e525be5d9600940141c58f4"}],"package_integrity":[{"filename":"web-vitals-polyfill-core-v1-1.0.0.tgz","hashes":{"sha1":"eed8f8e6cb0ca54e780186b679a466ac774d156d","sha512_sri":"sha512-+cAO6H59vIT9kOsrXQIoYfR+/KPW3TrSC1AaYkkl+P/hGwsnf8/X6FrzegHqsdxWNPdkwe5nlF/ZPkVt6UBQqQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/web-vitals-polyfill-core-v1/v/1.0.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-h475-44q2-vfjx"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-020749","import_time":"2026-09-30T00:52:54.455745166Z","modified_time":"2026-09-30T00:39:47Z","sha256":"38311c0f483e9485a7b5e8aa7f9a093a40203d8e1a025c0bf5850c2874cffdfa","source":"amazon-inspector","versions":["1.0.0"]},{"id":"GHSA-h475-44q2-vfjx","import_time":"2026-09-30T06:43:04.831589026Z","modified_time":"2026-09-30T05:45:42Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"583291fe7133304271006d1ca425c04aebce7279be07963310434403dfc19319","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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