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

目标: 1000 元 · 已筹: 1336

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

@zahlen/checkout-react

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

Summary

Malicious code in @zahlen/checkout-react (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
187
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
永久样本归档NAS
版本状态大小SHA-256获取方式
0.1.1unavailable
样本保存在内网 NAS 隔离区,不公开镜像地址;已开通会员可直接从平台下载。同步任务不会解压或执行样本。
受影响版本
EcosystemPackageVersion
npm@zahlen/checkout-react*
npm@zahlen/checkout-react0.1.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-12333","published":"2026-08-05T12:27:22Z","modified":"2026-08-06T09:25:10.447782553Z","aliases":["GHSA-x74p-x7r9-958g"],"summary":"Malicious code in @zahlen/checkout-react (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (097440ff1155e4d840568cf0fc8502c00d43249340f0f301167a859fd34c9fe8)\nThe package's main module contains a top-level block that runs on every require/import. It uses unicode-escape obfuscation (\\uXXXX) to hide imports of Node built-ins including child_process (spawn), http, https, zlib, and url. The prelude resolves a command-and-control host by querying Ethereum blockchain state via https://eth.blockscout.com/api keyed off contract address 0xa322E5f3D311D3080e6f0121063e9aDC2490Ef1a (with a public ETH RPC fallback list), then polls http://<resolved-host>:443/0x/ls and /0x/cls on that host and feeds the retrieved tasks into child_process.spawn, giving a remote operator arbitrary command execution on any developer machine or CI runner that installs or imports the package. The prelude also stashes global.r=require and global.m=module so C2-delivered payloads can load additional Node built-ins without repeating the unicode-escaped require dance. The React checkout code shipped below the prelude is cover; the on-chain C2 resolution is a rotation mechanism that lets the operator move infrastructure without republishing the package.\n\n## Source: ghsa-malware (e8ea4ffb2df60ad2438699518b35cd7acdf501aa0de47a10a479f4a523079b7f)\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":"@zahlen/checkout-react","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["0.1.1"],"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"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"index.esm.js","sha256":"50ed6c8bb5c74d2e8a758a8cfe1c64ae47f5a7c02c28053e73e013037d77a619","tlsh":"18d33b467af1b1628697b0e9a51f6206f6e44072506ce5e0fadccae06fe1410837dedf"}],"package_integrity":[{"filename":"checkout-react-0.1.1.tgz","hashes":{"sha1":"ba781d7c50f72b99b00ed0620dc00ba70520fd8e","sha512_sri":"sha512-qu4/0+8GAAqlyftXK/Gp0ZRls4qw/eeO7Kr9SYYxZdIeCzJsawcoLwVrOxhzflAx9H19TUngSW8JqXFnv/OzlA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@zahlen/checkout-react/v/0.1.1"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-x74p-x7r9-958g"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-014662","import_time":"2026-08-05T13:08:34.969347908Z","modified_time":"2026-08-05T12:27:22Z","sha256":"097440ff1155e4d840568cf0fc8502c00d43249340f0f301167a859fd34c9fe8","source":"amazon-inspector","versions":["0.1.1"]},{"id":"GHSA-x74p-x7r9-958g","import_time":"2026-08-06T00:58:53.478897242Z","modified_time":"2026-08-05T16:51:37Z","sha256":"e8ea4ffb2df60ad2438699518b35cd7acdf501aa0de47a10a479f4a523079b7f","source":"ghsa-malware","versions":["0.1.1"]},{"id":"GHSA-x74p-x7r9-958g","import_time":"2026-08-06T09:23:23.039009727Z","modified_time":"2026-08-06T06:23:00Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"dc913167f0dbadc44b40ab97ad7b3f47dae3dd36b4b13acb0b910490635d8b9b","source":"ghsa-malware","versions":["0.1.1"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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