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
Published
2026-06-16T03:01:18Z
Modified
2026-06-16T04:01:49.458294274Z
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 childprocess, 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 chatid 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<redacted>/sendMessage.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-006745",
            "import_time": "2026-06-16T03:49:20.175973838Z",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ],
            "modified_time": "2026-06-16T03:01:18Z",
            "sha256": "855cf386497f33e21db48ae8b87c769fd777f52b585f3d8d5f276fd4c9d42628"
        }
    ]
}
References
Credits

Affected packages

npm / solana-js-client

Package

Affected ranges

Affected versions

1.*
1.0.0

Database specific

cwes
[
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/solana-js-client/MAL-2026-5860.json"
indicators
{
    "package_integrity": [
        {
            "filename": "solana-js-client-1.0.0.tgz",
            "hashes": {
                "sha1": "aff5447af241dae0fc951ec44621dd904574a4f0",
                "sha512_sri": "sha512-6SqoWVHXlyMhM+XuQB4QXu7pNbl1c5GhyKYynaMAkXUKeGjzB6DNWtQZNOVA+jMxGh0euYtaPUM3+CxMDiJM/w=="
            }
        }
    ],
    "evidence_files": [
        {
            "path": "lib/index.cjs.js",
            "sha256": "f5d62c50dac9bc82c50b7b5a3b230009127f1f4b04d766db109fcb7a80b86262",
            "tlsh": "1c74a2097af260a2499330a61f2b6485a736d007350cd8757dce93742f5ebbc86b7fa4"
        }
    ]
}