{"id":"MAL-2026-6695","revision":null,"records":[{"revision":"ed37434ab437472f868d379b25c30f0c","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-6695","aliases":["GHSA-wxpc-r4jx-9jrw"],"title":"Malicious code in ts-bn-proto (npm)","description":"Malicious npm package published as part of a coordinated DeFi-themed infostealer campaign. `ts-bn-proto` embeds an infostealer payload directly in `index.js` with a base64-encoded C2 address (`data-stream.space`), executed at install time via a `postinstall` hook. The payload harvests cryptocurrency wallet vaults (MetaMask, Phantom, Solflare, OKX, Coinbase, TrustWallet, Backpack, TronLink), browser cookies and credentials, SSH keys, AWS credentials, developer secrets, and password manager databases, then exfiltrates all data to the attacker-controlled C2.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (815835f44f5257a8dda47ca05ec01f05d4f4ead35850358445a644639ab00dd5)\nThe package's index.js requires Node's child_process module and contains execSync calls that spawn bash and zsh (around lines 301 and 317). Without further trace evidence, the intent and reachability of these shell invocations cannot be confirmed — they may be benign tooling or a path to executing arbitrary commands on the installer's machine. Given the presence of shell execution primitives in the main module, manual review of index.js around the cited lines is warranted before allowing this package into a build environment.\n\n## Source: ghsa-malware (5a54a40adf51915413224d33240db940faf72bdc1efe4bde20be872278e5ebaf)\nAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.\n","state":0,"publishedAt":"2026-06-30T00:00:00+00:00","modifiedAt":"2026-07-30T04:36:09.220593+00:00","affected":[{"ecosystem":"npm","name":"ts-bn-proto","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":["5.8.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://safedep.io/defi-infostealer-fake-arbitrage-bot-npm/","https://www.npmjs.com/package/ts-bn-proto/v/5.8.1","https://github.com/advisories/GHSA-wxpc-r4jx-9jrw"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-6695","license":"OSV · upstream source license applies","key":"osv:MAL-2026-6695","identifiers":["MAL-2026-6695","GHSA-wxpc-r4jx-9jrw"]},"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-23T16:25:43.1952239+00:00","complete":true,"records":1790,"lastAttemptAt":"2026-11-23T16:25:43.1952239+00:00","lastSuccessAt":"2026-11-23T16:25:43.9214764+00:00","error":null,"lastVerifiedAt":"2026-11-23T16:25:43.9214765+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-d008fb8e7e5a0f37166ee57a6d9d22b27e49b9d9438b4ce80c4c6c326ac5d75a-5092b4768b7de7fbfe59d24760fc1196dae268b1e4203622d4e7c173eb995f84","complete":true,"records":430725,"lastAttemptAt":"2026-11-23T16:25:42.8839863+00:00","lastSuccessAt":"2026-11-23T16:25:42.6346589+00:00","error":null,"lastVerifiedAt":"2026-11-23T16:25:42.8839863+00:00","snapshotPublishedAt":"2026-11-23T16:24:54+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-5fe844981bd44e168da004739c627adb","complete":false,"records":13928,"lastAttemptAt":"2026-11-23T16:35:33.8190521+00:00","lastSuccessAt":"2026-11-23T16:35:33.815+00:00","error":"300 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-23T16:35:33.815+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13669,"expectedIdentifiers":13976,"failedIdentifiers":300},{"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-23T16:25:43.1952239+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-23T16:25:43.1952239+00:00","lastSuccessAt":"2026-11-23T16:25:43.9224456+00:00","error":null,"lastVerifiedAt":"2026-11-23T16:25:43.9224458+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-dd5cfceec1694766bbb29d0239e21f97","complete":true,"records":13940,"lastAttemptAt":"2026-11-23T16:25:44.800211+00:00","lastSuccessAt":"2026-11-23T15:27:09.616+00:00","error":null,"lastVerifiedAt":"2026-11-23T15:27:09.616+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13976,"expectedIdentifiers":13976,"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-a9c862bcf8bde52ce182f69609f4579ca2fc6956e44f694dddf6a66800619683","complete":true,"records":9989,"lastAttemptAt":"2026-11-23T16:25:43.1385997+00:00","lastSuccessAt":"2026-11-22T16:25:54.6432964+00:00","error":null,"lastVerifiedAt":"2026-11-23T16:25:43.1385997+00:00","snapshotPublishedAt":"2026-11-22T16:18:32+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-23T16:25:42.9363161+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-23T16:25:42.9363161+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-9035327876399d833ccd89428db993d67e1ee675265fd15c191a68c5fa77f5a4","complete":true,"records":3216,"lastAttemptAt":"2026-11-23T16:25:43.1515305+00:00","lastSuccessAt":"2026-11-23T10:27:16.8439398+00:00","error":null,"lastVerifiedAt":"2026-11-23T16:25:43.1515305+00:00","snapshotPublishedAt":"2026-11-23T09:49:12+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-3340b862eb26c691d3c6f12d5b7bdaf5cb7b1594a75a2c43c36611e34a1d7547","complete":true,"records":232896,"lastAttemptAt":"2026-11-23T16:25:43.0370939+00:00","lastSuccessAt":"2026-11-23T15:27:07.1405359+00:00","error":null,"lastVerifiedAt":"2026-11-23T16:25:43.0370939+00:00","snapshotPublishedAt":"2026-11-23T14:33:38+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}