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

目标: 1000 元 · 已筹: 1359 元

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

my-cdn-script

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

Summary

Malicious code in my-cdn-script (npm)

文件/数据外传
AI 分析整理claude-sonnet-4-6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
144
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmmy-cdn-script1.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-09-21T03:31:51Z","published":"2026-09-21T03:31:51Z","schema_version":"1.7.4","id":"MAL-2026-16337","summary":"Malicious code in my-cdn-script (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (e634f64d71797bbefdaf62bd0f2092d1cace77af2a07fd41e7d2347a14bb001b)\nmy-cdn-script@1.0.0 ships a client-side payment-card skimmer in script.js. When loaded on a checkout page, the script injects a fake card-input form into the Alpha Bank hosted payment method and captures the card number, expiry, CVC together with the shopper's name, address, city, region, postcode, phone, and page origin. The concatenated payload is encoded byte-by-byte, wrapped in a Blob with type 'image/png' to disguise it as an image upload, and POSTed to the hardcoded attacker endpoint https://ungpkg.top/gate. The script uses uniform bracket-notation property access to defeat static string scans, sets a sessionStorage flag to avoid re-sending, and gates itself off when admin-panel cookies/localStorage keys (psAdminLang, psAdminTab, psAdminTheme, _ga_8F4XM9P3R51) are present so a merchant testing their own checkout does not observe the theft. Any site that includes this package on its checkout page will have its customers' payment card data and PII silently harvested and sent to ungpkg.top.\n","affected":[{"package":{"ecosystem":"npm","name":"my-cdn-script"},"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"}],"indicators":{"evidence_files":[{"path":"script.js","sha256":"94063bdcc9ad5ed2cf9e9b20a500d8a3096116061b70c0343aeb1abd86b77632","tlsh":"ca12c8b0b610d2fd938dcd6b46b5907e95390b53a003abc5d94dfc646d60a43aaac8cd"}],"package_integrity":[{"filename":"my-cdn-script-1.0.0.tgz","hashes":{"sha1":"f07cd99b6f216cdb5d790a235cc8c34df6068f75","sha512_sri":"sha512-X3ZNQgUvuFXMnqQkyehHBgs9sZT97jRWR2Sg3cUtdgvYv+j+Gmla5aixuRAiT1L5Bb9eFQKPlAxGMdPiEV4IfQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/my-cdn-script/v/1.0.0"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-020237","import_time":"2026-09-21T03:46:38.67464314Z","modified_time":"2026-09-21T03:31:51Z","sha256":"e634f64d71797bbefdaf62bd0f2092d1cace77af2a07fd41e7d2347a14bb001b","source":"amazon-inspector","versions":["1.0.0"]}]}}

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