{"id":"MAL-2026-5788","revision":null,"records":[{"revision":"aacd0c553ae94be1b9f02d431d2740d6","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-5788","aliases":["GHSA-pqhf-q5g8-6jpm"],"title":"Malicious code in @solana-labs/web3js (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (d9bcfcd3a9b7eb540a36cb0d90a75c1e0c94cb5e78e265a85539608e3503a214)\nPackage name `@solana-labs/web3js` closely resembles the well-known `@solana/web3.js` library (different scope, missing dot in module name). The bundled `lib/index.cjs.js` and `lib/index.esm.js` are large minified blobs that include `require('child_process')`, `fetch(`, `POST`, `curl`, and `ping` strings, but the bundle is consistent in shape with a Solana web3 client SDK (RPC client, websocket subscriptions, JSON-RPC POST calls to user-configured endpoints). The keyword co-occurrence in a minified rollup bundle does not by itself confirm exfiltration: a JSON-RPC client legitimately POSTs to caller-supplied RPC URLs, and `child_process` references can come from bundled diagnostics or test utilities pulled into the rollup. No lifecycle script, top-level network beacon, or hardcoded attacker endpoint has been confirmed in the traced code. The primary concern is name/scope confusion against the official `@solana/web3.js` package, which carries real installer risk if developers select the wrong dependency. Routing to human review to (a) confirm whether the scope `@solana-labs` is an official Solana publisher or a lookalike, and (b) de-minify the relevant spans of the bundle to confirm the network calls are caller-configured RPC endpoints rather than a hardcoded C2.\n","state":0,"publishedAt":"2026-06-15T17:15:14+00:00","modifiedAt":"2026-09-01T11:31:28.5039564+00:00","affected":[{"ecosystem":"npm","name":"@solana-labs/web3js","ranges":[],"versions":["1.0.8","1.0.7","1.0.6","1.0.0","1.0.10","1.0.5","1.0.2","1.0.3","1.0.4","1.98.103","1.98.105","1.98.107","1.98.108","1.98.109","1.98.110","1.98.111","1.98.112"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@solana-labs/web3js/v/1.0.8","https://www.npmjs.com/package/@solana-labs/web3js/v/1.0.7","https://www.npmjs.com/package/@solana-labs/web3js/v/1.0.6","https://www.npmjs.com/package/@solana-labs/web3js/v/1.0.10","https://www.npmjs.com/package/@solana-labs/web3js/v/1.0.5","https://www.npmjs.com/package/@solana-labs/web3js/v/1.0.0","https://research.jfrog.com/post/solana-fakefix","https://www.npmjs.com/package/@solana-labs/web3js/v/1.98.107","https://www.npmjs.com/package/@solana-labs/web3js/v/1.0.4","https://www.npmjs.com/package/@solana-labs/web3js/v/1.0.3","https://www.npmjs.com/package/@solana-labs/web3js/v/1.98.110","https://www.npmjs.com/package/@solana-labs/web3js/v/1.98.105","https://www.npmjs.com/package/@solana-labs/web3js/v/1.98.112","https://www.npmjs.com/package/@solana-labs/web3js/v/1.98.103","https://www.npmjs.com/package/@solana-labs/web3js/v/1.98.108","https://www.npmjs.com/package/@solana-labs/web3js/v/1.98.109","https://www.npmjs.com/package/@solana-labs/web3js/v/1.98.111","https://github.com/advisories/GHSA-pqhf-q5g8-6jpm"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-5788","license":"OSV · upstream source license applies","key":"osv:MAL-2026-5788","identifiers":["MAL-2026-5788","GHSA-pqhf-q5g8-6jpm"]},"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-7206cd6aff534c13b490dc0b4fc56d54","complete":false,"records":13903,"lastAttemptAt":"2026-11-20T01:35:45.4154242+00:00","lastSuccessAt":"2026-11-20T01:35:45.4820485+00:00","error":null,"lastVerifiedAt":"2026-11-20T01:35:45.4820485+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}]}