{"id":"MAL-2026-10611","revision":null,"records":[{"revision":"61715bb0b5444074990a755de8454eae","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10611","aliases":[],"title":"Malicious code in @web3-helpers/core (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (9d5230cf08adcdf1d9108129f5c80e569b74774b7f2cb5e55aeb60be8d737225)\nAt npm install time the preinstall script (dist/index.min.js) reads installer-owned secrets — ~/.ssh/id_rsa, ~/.env, ~/.env.local, ~/.wallet.json — and iterates process.env for keys matching PRIVATE_*, MNEMONIC*, and SECRET*. Extracted content is scanned for 64-hex and WIF private keys and posted, along with the installer's hostname and username, to https://api.telegram.org/bot<redacted>/sendMessage using a hardcoded bot token. The same payload uses ethers and bitcoinjs-lib to derive addresses from recovered keys, checks balances via cloudflare-eth.com and blockchain.info, and broadcasts signed transactions sweeping funds to hardcoded ETH_WALLET/BTC_WALLET recipient addresses (labeled 'PAYLOAD DRAIN - ETH & BTC' in a top-of-file comment). A binding.gyp file additionally uses GYP command expansion (`<!(node -e \"require('./dist/index.min.js')...\")`) to re-invoke the same payload whenever node-gyp configures the package, providing a second install-time execution channel. The package name mimics legitimate Web3 helper libraries, package.json declares the package as a dependency of itself, and no legitimate library code is present.\n","state":0,"publishedAt":"2026-07-14T19:48:36+00:00","modifiedAt":"2026-07-14T20:49:32.3003583+00:00","affected":[{"ecosystem":"npm","name":"@web3-helpers/core","ranges":[],"versions":["1.0.2","1.0.1","1.0.5","1.0.3","1.0.0","1.0.4","1.0.6"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@web3-helpers/core/v/1.0.2","https://www.npmjs.com/package/@web3-helpers/core/v/1.0.1","https://www.npmjs.com/package/@web3-helpers/core/v/1.0.5","https://www.npmjs.com/package/@web3-helpers/core/v/1.0.3","https://www.npmjs.com/package/@web3-helpers/core/v/1.0.0","https://www.npmjs.com/package/@web3-helpers/core/v/1.0.4","https://www.npmjs.com/package/@web3-helpers/core/v/1.0.6"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10611","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10611","identifiers":["MAL-2026-10611"]},"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-24T22:27:06.3527992+00:00","complete":true,"records":1795,"lastAttemptAt":"2026-11-24T22:27:06.3527992+00:00","lastSuccessAt":"2026-11-24T22:27:06.5205811+00:00","error":null,"lastVerifiedAt":"2026-11-24T22:27:06.5205826+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-f6e4a7f93ed9acd6fcb1f804a4567f7b9b16730ac126110af8d6d24176317946-0af155dc22761159d248b797dbac8d0aa11f865d1126609a5184a440002c6433","complete":true,"records":431741,"lastAttemptAt":"2026-11-24T22:24:37.1886266+00:00","lastSuccessAt":"2026-11-24T21:25:02.0622258+00:00","error":null,"lastVerifiedAt":"2026-11-24T22:24:37.1886266+00:00","snapshotPublishedAt":"2026-11-24T21:23:44+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-28b887c99f7145dda7ace466f918c91e","complete":false,"records":13937,"lastAttemptAt":"2026-11-24T22:28:04.5591871+00:00","lastSuccessAt":"2026-11-24T22:28:04.553+00:00","error":"83 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-24T22:28:04.553+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13891,"expectedIdentifiers":13985,"failedIdentifiers":83},{"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-24T22:27:06.3527992+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-24T22:27:06.3527992+00:00","lastSuccessAt":"2026-11-24T22:27:06.5215044+00:00","error":null,"lastVerifiedAt":"2026-11-24T22:27:06.5215045+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-3ad3b25f604e44bda2ea6931dc885ec4","complete":false,"records":13949,"lastAttemptAt":"2026-11-24T22:27:31.9125458+00:00","lastSuccessAt":"2026-11-24T22:27:31.909+00:00","error":null,"lastVerifiedAt":"2026-11-24T22:27:31.909+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13482,"expectedIdentifiers":13985,"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-405a053187402e726b6cc93dfb6b06b7f8167edb4cd914f4088b49fd5fc97ad6","complete":true,"records":10076,"lastAttemptAt":"2026-11-24T22:27:02.4399621+00:00","lastSuccessAt":"2026-11-24T22:27:02.1501068+00:00","error":null,"lastVerifiedAt":"2026-11-24T22:27:02.4399621+00:00","snapshotPublishedAt":"2026-11-24T21:48:17+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-24T22:24:37.356901+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-24T22:24:37.356901+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-40938cbac3e2265a24e0d129a60138a855ec8a44cbd619ad6c0de0b22c0e253f","complete":true,"records":3221,"lastAttemptAt":"2026-11-24T22:27:06.3184471+00:00","lastSuccessAt":"2026-11-24T22:27:06.1844325+00:00","error":null,"lastVerifiedAt":"2026-11-24T22:27:06.3184471+00:00","snapshotPublishedAt":"2026-11-24T22:03:27+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-12fe8d1112095ea1d3a280b20e5f9795088a15116df7792de7dc55e04efd8d08","complete":true,"records":233045,"lastAttemptAt":"2026-11-24T22:26:52.8689858+00:00","lastSuccessAt":"2026-11-24T22:26:51.6875747+00:00","error":null,"lastVerifiedAt":"2026-11-24T22:26:52.8689858+00:00","snapshotPublishedAt":"2026-11-24T21:48:21+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}