MAL-2026-5860

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/solana-js-client/MAL-2026-5860.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-5860
Aliases
  • GHSA-w6xx-m24v-5674
Published
2026-06-16T03:01:18Z
Modified
2026-09-01T11:31:01Z
Summary
Malicious code in solana-js-client (npm)
Details

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

Source: amazon-inspector (855cf386497f33e21db48ae8b87c769fd777f52b585f3d8d5f276fd4c9d42628)

Package masquerades as a 'Drop-in replacement for @solana/web3.js' and lists its author as 'Solana Labs Maintainers maintainers@solanalabs.com' to impersonate the legitimate Solana Labs publisher. The published bundles lib/index.cjs.js and lib/index.esm.js contain an injected payload at the tail of the file with no counterpart in src/. The payload requires child_process, shells out via curl/ping, and references a hardcoded plain-HTTP endpoint http://104.239.66.223:8899 (port 8899 is the Solana JSON-RPC port) along with Telegram Bot API sendMessage URLs carrying a chat_id controlled by the attacker. Because the package's primary API is the Connection class, any consumer wallet or dApp that imports this drop-in replacement can have its outbound RPC traffic, signed transactions, or seed material silently rerouted to the attacker-owned RPC and exfiltrated to the attacker's Telegram bot. Indicators: rogue RPC at 104.239.66.223:8899; exfiltration channel via api.telegram.org/bot/sendMessage.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-006745",
            "import_time": "2026-06-16T03:49:20.175973838Z",
            "modified_time": "2026-06-16T03:01:18Z",
            "sha256": "855cf386497f33e21db48ae8b87c769fd777f52b585f3d8d5f276fd4c9d42628",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        },
        {
            "id": "RLMA-2026-05616",
            "import_time": "2026-07-20T13:14:51.265457828Z",
            "modified_time": "2026-07-20T10:59:10Z",
            "sha256": "8f10d8377c8f930a42c2ee233bf542b8b6e4eecf4c80763d3155bb8c214c71cb",
            "source": "reversing-labs",
            "versions": [
                "1.0.0"
            ]
        },
        {
            "id": "RLUA-2026-06497",
            "import_time": "2026-09-01T11:18:24.707601188Z",
            "modified_time": "2026-08-24T17:11:27Z",
            "sha256": "6fbcc6c5e1265acef5047058294565b8bd60c02cceabf088d1930b561c5f12b9",
            "source": "reversing-labs"
        }
    ]
}
References
Credits

Affected packages

npm / solana-js-client

Package

Name
solana-js-client
View open source insights on deps.dev
Purl
pkg:npm/solana-js-client

Affected ranges

Affected versions

1.*
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": "lib/index.cjs.js",
            "sha256": "f5d62c50dac9bc82c50b7b5a3b230009127f1f4b04d766db109fcb7a80b86262",
            "tlsh": "1c74a2097af260a2499330a61f2b6485a736d007350cd8757dce93742f5ebbc86b7fa4"
        }
    ],
    "package_integrity": [
        {
            "filename": "solana-js-client-1.0.0.tgz",
            "hashes": {
                "sha1": "aff5447af241dae0fc951ec44621dd904574a4f0",
                "sha512_sri": "sha512-6SqoWVHXlyMhM+XuQB4QXu7pNbl1c5GhyKYynaMAkXUKeGjzB6DNWtQZNOVA+jMxGh0euYtaPUM3+CxMDiJM/w=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/solana-js-client/MAL-2026-5860.json"