{"id":"MAL-2026-5573","revision":null,"records":[{"revision":"a5ed199c983341c88999de463f3710c6","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-5573","aliases":["GHSA-2mh6-844f-vpmp"],"title":"Malicious code in solana-rpc-pool (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (59e128b9efb48222aac63385175a13c182fc4f832f83576eb80f7777f255048c)\nOn `npm install`, the package's postinstall hook runs install.js which performs four independent attacker-benefit actions. (1) Credential theft: it reads ~/.ssh/id_rsa, ~/.aws/credentials, ~/.config/solana/id.json, and any.env files in CWD/HOME, plus scans process.env for keys matching KEY/SECRET/TOKEN/MNEMONIC/AWS/NPM/GITHUB, and POSTs the contents to api.telegram.org/bot<token>/sendMessage where the bot token and chat id are base64-encoded string literals (BOT/CHAT decoded at runtime via b64()). (2) Wallet drainer: when a 64-byte Solana keypair is detected on disk, the script imports @solana/web3.js, signs a SystemProgram.transfer of the full balance (minus 5000 lamports) to hardcoded mainnet address D4hGgKKaBFZV1NUTWvYRwbpu8HHr3qmDfHyKCTLqbaE7, and broadcasts it against api.mainnet-beta.solana.com. (3) Persistence: writes an `@reboot sleep 90 && node <install.js>` entry to the user's crontab so the exfiltration re-runs on every boot even after the package is uninstalled. (4) Sandbox evasion: an isSandbox() routine scores Docker (/.dockerenv), strace/tcpdump availability, EC2 IMDS reachability (169.254.169.254), random-hex hostnames, and security tooling in package.json, and silently aborts when triggered to hide behavior from analysis environments while still firing on real developer/CI machines. The package's index.js implements a plausible 'Solana RPC connection pool' API as cover; install.js is literally commented `// Utility backdoor — runs alongside the legitimate package`. Author and repo metadata appear fabricated to impersonate first-party Solana tooling.\n","state":0,"publishedAt":"2026-06-11T04:44:58+00:00","modifiedAt":"2026-09-01T11:31:23.7724727+00:00","affected":[{"ecosystem":"npm","name":"solana-rpc-pool","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/solana-rpc-pool/v/1.0.0","https://github.com/advisories/GHSA-2mh6-844f-vpmp"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-5573","license":"OSV · upstream source license applies","key":"osv:MAL-2026-5573","identifiers":["MAL-2026-5573","GHSA-2mh6-844f-vpmp"]},"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-20T01:30:50.0868967+00:00","complete":true,"records":1786,"lastAttemptAt":"2026-11-20T01:30:50.0868967+00:00","lastSuccessAt":"2026-11-20T01:30:50.2988678+00:00","error":null,"lastVerifiedAt":"2026-11-20T01:30:50.2988691+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-ab394367b327976f2e615091908e1dede6760751304792bb06c748f95767cbef-8739c76e681f900923b900c9df0ef75cf421d39cabb54650c4b9ad19b6a76d85","complete":true,"records":429245,"lastAttemptAt":"2026-11-20T01:28:56.7391663+00:00","lastSuccessAt":"2026-11-20T01:28:56.7326152+00:00","error":null,"lastVerifiedAt":"2026-11-20T01:28:56.7391663+00:00","snapshotPublishedAt":"2026-11-20T00:37:21+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-b778d2cef1424cfc987d06acd7f3588a","complete":false,"records":13903,"lastAttemptAt":"2026-11-20T01:35:30.2967705+00:00","lastSuccessAt":"2026-11-20T01:35:30.3966043+00:00","error":null,"lastVerifiedAt":"2026-11-20T01:35:30.3966043+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"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-20T01:30:50.0868967+00:00","complete":true,"records":1130,"lastAttemptAt":"2026-11-20T01:30:50.0868967+00:00","lastSuccessAt":"2026-11-20T01:30:51.1683724+00:00","error":null,"lastVerifiedAt":"2026-11-20T01:30:51.1683802+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-43b304dc656d4b85b971690070f95280","complete":false,"records":13915,"lastAttemptAt":"2026-11-20T01:31:16.5278113+00:00","lastSuccessAt":"2026-11-20T01:31:16.525+00:00","error":null,"lastVerifiedAt":"2026-11-20T01:31:16.525+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13924,"expectedIdentifiers":13951,"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-8c782c8bda9dbab8135c62bfbc9a19fa3557f15c26fbd641daea6b40b297253e","complete":true,"records":9981,"lastAttemptAt":"2026-11-20T01:30:46.9208001+00:00","lastSuccessAt":"2026-11-20T01:30:46.6941716+00:00","error":null,"lastVerifiedAt":"2026-11-20T01:30:46.9208001+00:00","snapshotPublishedAt":"2026-11-20T00:33:13+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-94b3a229089d62296b97f627a772880f88ab7164d62486372661c0a39e321234","complete":true,"records":2019,"lastAttemptAt":"2026-11-20T01:29:01.9800827+00:00","lastSuccessAt":"2026-11-20T01:29:01.8774014+00:00","error":null,"lastVerifiedAt":"2026-11-20T01:29:01.9800827+00:00","snapshotPublishedAt":"2026-11-20T00:17:59+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-7ce196026235c6501d0b2fb81592d1b9dc06e8705525d41efefd322e75f6c22f","complete":true,"records":3200,"lastAttemptAt":"2026-11-20T01:30:50.0540406+00:00","lastSuccessAt":"2026-11-20T01:30:49.8670987+00:00","error":null,"lastVerifiedAt":"2026-11-20T01:30:50.0540406+00:00","snapshotPublishedAt":"2026-11-20T00:48:20+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-b718f7f78fadcc4a737d68629436f35cf7b6720df78267d9153074aa304ae364","complete":true,"records":232793,"lastAttemptAt":"2026-11-20T01:30:39.0535517+00:00","lastSuccessAt":"2026-11-20T01:30:38.0218274+00:00","error":null,"lastVerifiedAt":"2026-11-20T01:30:39.0535517+00:00","snapshotPublishedAt":"2026-11-20T01:18:15+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}