{"id":"MAL-2026-10898","summary":"Malicious code in solana-rpc-client (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (e57e3e79e60f9b8ec7f7c9b5199ecab2efaf72566eaed0f358a3b80adad5558d)\nThe package's bundled entry points (lib/index.cjs.js and lib/index.esm.js) co-locate require('child_process'), fetch/POST/GET calls, and references to curl/ping within minified output. The package name suggests a Solana RPC client, which would legitimately make HTTP/RPC calls; keyword co-occurrence in a minified bundle is consistent with both that legitimate shape and an exfiltration shape, and the available evidence does not show the destination URLs, whether any code path runs at install/import time, or whether process.env or credential paths feed any of the network calls. No package.json lifecycle hook content has been confirmed. Routing to human review so a reviewer can de-minify the relevant spans (around lines 5016/5046, 11212/11317) and confirm whether the network destinations are documented Solana RPC endpoints (allow) or attacker-controlled hosts (escalate to block).\n","aliases":["GHSA-p7xx-6w55-gfrg"],"modified":"2026-09-01T11:30:56.405715802Z","published":"2026-07-20T10:59:11Z","database_specific":{"malicious-packages-origins":[{"source":"reversing-labs","versions":["1.0.0"],"id":"RLMA-2026-05618","import_time":"2026-07-20T13:14:51.469440492Z","modified_time":"2026-07-20T10:59:11Z","sha256":"f0865d9a18dba082e66e2981a223c0b419e064bf492646d747e428cab64787c5"},{"id":"IN-MAL-2026-013034","import_time":"2026-08-05T06:00:33.498346673Z","modified_time":"2026-08-05T05:24:22Z","sha256":"e57e3e79e60f9b8ec7f7c9b5199ecab2efaf72566eaed0f358a3b80adad5558d","source":"amazon-inspector","versions":["1.0.0"]},{"id":"RLUA-2026-06499","import_time":"2026-09-01T11:18:24.821918862Z","modified_time":"2026-08-24T17:11:28Z","sha256":"c4525132bdbb768eeadd139d212b0c7355077a54f4158483435faa65b3047b2e","source":"reversing-labs"}]},"references":[{"type":"WEB","url":"https://research.jfrog.com/post/solana-fakefix"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/solana-rpc-client/v/1.0.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-p7xx-6w55-gfrg"}],"affected":[{"package":{"name":"solana-rpc-client","ecosystem":"npm","purl":"pkg:npm/solana-rpc-client"},"versions":["1.0.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/solana-rpc-client/MAL-2026-10898.json","indicators":{"evidence_files":[{"tlsh":"1c74a2097af260a2499330a61f2b6485a736d007350cd8757dce93742f5ebbc86b7fa4","path":"lib/index.cjs.js","sha256":"f5d62c50dac9bc82c50b7b5a3b230009127f1f4b04d766db109fcb7a80b86262"},{"sha256":"84138890f476d20b59bb586f2f24856c61ba20d389984718c1b33a7b94e67c24","tlsh":"ae74b4497af221a20d5330a66f2b6045a736a107390cdc647dce93641f5ebbc87b7fa4","path":"lib/index.esm.js"}],"package_integrity":[{"hashes":{"sha1":"16d130218a01cf0601ff020d7f94d21100882521","sha512_sri":"sha512-NN0CL/Dm/6aM0t6f9SpEsqGvnUuF7ls8qNQ9wOkjdJCluaqJ9T5QJPaUR3BcDGZsu2Zr4mrWT5f7FC1pAsahrg=="},"filename":"solana-rpc-client-1.0.0.tgz"}]},"cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}]}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"ReversingLabs","contact":["https://www.reversinglabs.com"],"type":"FINDER"}]}