{"id":"MAL-2026-13941","revision":null,"records":[{"revision":"a2ad506c31264dfe8f783ad9fc8714c2","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13941","aliases":[],"title":"Malicious code in @solana-js/web3 (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (9b539591552f3e960f65ceb70d946bc56f240f9bdb1400c501723aa32fd305ec)\nPackage name @solana-js/web3 impersonates the legitimate @solana/web3.js SDK, and package.json falsely attributes authorship to 'Solana Labs' with a solana.com homepage. The exported API is a non-functional stub (Connection.getBalance returns 0, sendTransaction returns random bytes) — no real Solana client functionality is present. On install, scripts/postinstall.js detects Windows and spawns a hidden PowerShell (`-NoP -W Hidden -Exec Bypass`) with a base64-encoded command. The decoded PowerShell performs an AMSI bypass via reflection over System.Management.Automation.AmsiUtils, downloads a binary payload from https://files.catbox.moe/a3loxy.bin, and executes it in-process using VirtualAlloc/CreateThread. The postinstall script further hex-escapes API names ('child_process', 'powershell', 'platform', 'win32') and fragments the PowerShell payload to hinder review. The result is arbitrary remote code execution on any Windows host that runs `npm install` against this package, with the shellcode fetched from an anonymous, mutable file host (files.catbox.moe) — a known-bad-infrastructure dropper pattern.\n","state":0,"publishedAt":"2026-08-13T17:22:49+00:00","modifiedAt":"2026-08-13T17:30:12.5665059+00:00","affected":[{"ecosystem":"npm","name":"@solana-js/web3","ranges":[],"versions":["1.91.3"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@solana-js/web3/v/1.91.3"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13941","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13941","identifiers":["MAL-2026-13941"]},"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-22T03:27:53.8030274+00:00","complete":true,"records":1790,"lastAttemptAt":"2026-11-22T03:27:53.8030274+00:00","lastSuccessAt":"2026-11-22T03:27:53.96342+00:00","error":null,"lastVerifiedAt":"2026-11-22T03:27:53.9634235+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-a00cc431548e20f01f2da20f449eca4a9c3c2d80f0a99ee8150099224d339982-78f4dea951e0b05468af5e794b786967f0de00fb6eef43289dc05e01419f7040","complete":true,"records":430372,"lastAttemptAt":"2026-11-22T03:25:31.9073146+00:00","lastSuccessAt":"2026-11-22T03:25:31.8907132+00:00","error":null,"lastVerifiedAt":"2026-11-22T03:25:31.9073146+00:00","snapshotPublishedAt":"2026-11-22T02:35:42+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-1d3709a27f704aa9a110811e4a5d8481","complete":false,"records":13927,"lastAttemptAt":"2026-11-22T03:34:38.2825841+00:00","lastSuccessAt":"2026-11-22T03:34:38.3466043+00:00","error":null,"lastVerifiedAt":"2026-11-22T03:34:38.3466043+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-22T03:27:53.8030274+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-22T03:27:53.8030274+00:00","lastSuccessAt":"2026-11-22T03:27:53.9641843+00:00","error":null,"lastVerifiedAt":"2026-11-22T03:27:53.9641844+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-36424b7baa264118be2a201e80ec0baf","complete":false,"records":13939,"lastAttemptAt":"2026-11-22T03:28:19.115931+00:00","lastSuccessAt":"2026-11-22T03:28:19.113+00:00","error":null,"lastVerifiedAt":"2026-11-22T03:28:19.113+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13848,"expectedIdentifiers":13975,"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-e5345bb505029da8292989aaa8236ee0c21dd40080e465858702ec2ecb4dcefd","complete":true,"records":9989,"lastAttemptAt":"2026-11-22T03:27:53.7556121+00:00","lastSuccessAt":"2026-11-21T19:16:03.0413179+00:00","error":null,"lastVerifiedAt":"2026-11-22T03:27:53.7556121+00:00","snapshotPublishedAt":"2026-11-21T18:18:24+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-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-22T03:25:31.9508431+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-22T03:25:31.9508431+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+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-67ea94df7f6b2100258b087b14035af283f000b6aefe39f55e9f2795f912fde8","complete":true,"records":3209,"lastAttemptAt":"2026-11-22T03:27:53.768051+00:00","lastSuccessAt":"2026-11-21T19:16:06.9994675+00:00","error":null,"lastVerifiedAt":"2026-11-22T03:27:53.768051+00:00","snapshotPublishedAt":"2026-11-21T18:18:24+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-e423e507d2d3301919ac05ddb43199a4d83017ce70b74c2ae2cbae5419b33523","complete":true,"records":232851,"lastAttemptAt":"2026-11-22T03:27:53.6336641+00:00","lastSuccessAt":"2026-11-22T03:27:52.8209384+00:00","error":null,"lastVerifiedAt":"2026-11-22T03:27:53.6336641+00:00","snapshotPublishedAt":"2026-11-22T02:48:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}