MAL-2026-10902

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/solana-web3-patched/MAL-2026-10902.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-10902
Aliases
  • GHSA-p492-8qvf-j49c
Published
2026-07-20T10:59:24Z
Modified
2026-09-01T11:31:27Z
Summary
Malicious code in solana-web3-patched (npm)
Details

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

Source: amazon-inspector (e99e6f959c8df3e2933c860ba3d36dc5dbbd27d97a69a3e97a5a7feaf7e24899)

Package name 'solana-web3-patched' resembles the legitimate '@solana/web3.js' library and is published as an unscoped lookalike at version 1.0.0. The bundled lib/index.cjs.js and lib/index.esm.js contain co-occurring patterns of child_process import, fetch/POST/GET calls, and shell utilities (curl, ping) within the same files. Pattern matches alone in a minified/bundled file cannot conclusively distinguish legitimate Solana RPC client behavior from exfiltration, and traced-code corroboration is unavailable. Given the typosquat-shaped name plus presence of child_process + outbound HTTP + curl/ping primitives in the bundle, the package warrants human review before allowing into installer environments. A reviewer should verify whether the child_process and curl/ping references are reachable at require/install time and whether any hardcoded destinations are attacker-controlled.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "RLMA-2026-05624",
            "import_time": "2026-07-20T13:14:52.02403844Z",
            "modified_time": "2026-07-20T10:59:24Z",
            "sha256": "13702864205b5765c6d58ae6826703e1368c2fefa58e7220ff983af4f1956dea",
            "source": "reversing-labs",
            "versions": [
                "1.0.0"
            ]
        },
        {
            "id": "IN-MAL-2026-012969",
            "import_time": "2026-08-05T06:00:25.851717665Z",
            "modified_time": "2026-08-05T05:15:06Z",
            "sha256": "e99e6f959c8df3e2933c860ba3d36dc5dbbd27d97a69a3e97a5a7feaf7e24899",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        },
        {
            "id": "RLUA-2026-06505",
            "import_time": "2026-09-01T11:18:25.170284378Z",
            "modified_time": "2026-08-24T17:11:41Z",
            "sha256": "3b78ec8bd31aee7c11ed93989d76308c36496b53f9eda8683953edd1cba69219",
            "source": "reversing-labs"
        }
    ]
}
References
Credits

Affected packages

npm / solana-web3-patched

Package

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

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"
        },
        {
            "path": "lib/index.esm.js",
            "sha256": "84138890f476d20b59bb586f2f24856c61ba20d389984718c1b33a7b94e67c24",
            "tlsh": "ae74b4497af221a20d5330a66f2b6045a736a107390cdc647dce93641f5ebbc87b7fa4"
        }
    ],
    "package_integrity": [
        {
            "filename": "solana-web3-patched-1.0.0.tgz",
            "hashes": {
                "sha1": "029214ca4e3f16dfbe2da7968c0b18278efcc32e",
                "sha512_sri": "sha512-LlT5ioq080PVlGzTREE/zkLRBceWVGjWKpCGIYA55+JdITtHGvKNQllp8s2bURvIVh7cyLCaAmNkJgOvBqrzew=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/solana-web3-patched/MAL-2026-10902.json"