{"id":"GHSA-gm49-5q33-vf6f","revision":null,"records":[{"revision":"e468d2586c7a453590b43ea8e863cb3a","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-4554","aliases":["GHSA-gm49-5q33-vf6f"],"title":"Malicious code in ethers-wallet-packages (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (beda1480a40189cc8177ace4e3d6fd9773ad81f4cbe5a6c07e3004427846dc8d)\nThe package impersonates the legitimate @ethersproject/wallet (source files are otherwise verbatim copies, including the internal version string 'wallet/5.8.0'). lib/index.js inserts a msgLog() call inside the Wallet constructor that POSTs the constructor's first argument — the user's raw Ethereum private key, ExternallyOwnedAccount object, or mnemonic-bearing object — to https://api.telegram.org/bot<redacted>/sendMessage with a hardcoded chat_id. Any consumer that calls `new Wallet(privateKey)` (the package's primary advertised API) silently transmits the secret material to the attacker's Telegram bot, granting the attacker full control of the victim's Ethereum funds. Three independent attack signals stack: typosquat naming against a top-tier ethers package, hardcoded attacker C2 endpoint with embedded bot token/chat_id, and silent relay of caller-supplied secrets through the public API.\n\n## Source: ghsa-malware (7f9ee17d3113aaec6145b70e8fc979219eb57bfe6cb0f94dd3c4db6f0ebd9383)\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-05-20T02:40:25+00:00","modifiedAt":"2026-09-24T09:00:47.5691253+00:00","affected":[{"ecosystem":"npm","name":"ethers-wallet-packages","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":["5.8.0","5.8.2","5.8.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/ethers-wallet-packages/v/5.8.0","https://www.npmjs.com/package/ethers-wallet-packages/v/5.8.2","https://github.com/advisories/GHSA-gm49-5q33-vf6f"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-4554","license":"OSV · upstream source license applies","key":"osv:MAL-2026-4554","identifiers":["MAL-2026-4554","GHSA-gm49-5q33-vf6f"]},"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-12T17:18:53.3551573+00:00","complete":true,"records":1779,"lastAttemptAt":"2026-11-12T17:18:53.3551573+00:00","lastSuccessAt":"2026-11-12T17:18:53.5098368+00:00","error":null,"lastVerifiedAt":"2026-11-12T17:18:53.5098375+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-64752486c567b55b31fb0d7225f5222bcd0019564ac0ac5f0649e242c7b19299-c64cc013e4ac327a566ebd7919181330aa5f66a956ac80541b59e61c9511ffa7","complete":true,"records":424746,"lastAttemptAt":"2026-11-12T17:16:18.2884716+00:00","lastSuccessAt":"2026-11-12T16:16:35.9151725+00:00","error":"AccessDenied (HTTP 403)","lastVerifiedAt":"2026-11-12T16:16:35.996916+00:00","snapshotPublishedAt":"2026-11-12T15:27:51+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-88e6245ba7dc4729a2344f78a2d37df7","complete":true,"records":13774,"lastAttemptAt":"2026-11-12T17:19:38.3951622+00:00","lastSuccessAt":"2026-11-12T17:19:38.384+00:00","error":null,"lastVerifiedAt":"2026-11-12T17:19:38.384+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13827,"expectedIdentifiers":13827,"failedIdentifiers":0},{"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-12T17:18:53.3551573+00:00","complete":true,"records":1097,"lastAttemptAt":"2026-11-12T17:18:53.3551573+00:00","lastSuccessAt":"2026-11-12T17:18:53.5137452+00:00","error":null,"lastVerifiedAt":"2026-11-12T17:18:53.5137465+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-053c822da76a4019981dc05530c81af1","complete":false,"records":13774,"lastAttemptAt":"2026-11-12T17:19:19.2511928+00:00","lastSuccessAt":"2026-11-12T17:19:19.245+00:00","error":"200 identifier lookups failed; latest failures include HttpError (HTTP 503). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-12T17:19:19.245+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13613,"expectedIdentifiers":13827,"failedIdentifiers":200},{"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-3562b6c78fd1bd0f0b55daf66a0926ae24f65e462df7f6d928caad458fc696bf","complete":true,"records":9947,"lastAttemptAt":"2026-11-12T17:18:53.1888873+00:00","lastSuccessAt":"2026-11-11T04:27:43.6877707+00:00","error":null,"lastVerifiedAt":"2026-11-12T17:18:53.1888873+00:00","snapshotPublishedAt":"2026-11-11T03:32:46+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-456002455e0ab94bb92c95476d4e6d175c104cd594749982afd96c893728ecbc","complete":true,"records":2010,"lastAttemptAt":"2026-11-12T17:16:18.5164346+00:00","lastSuccessAt":"2026-11-11T02:36:58.1276999+00:00","error":null,"lastVerifiedAt":"2026-11-12T17:16:18.5164346+00:00","snapshotPublishedAt":"2026-11-11T01:17:51+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-0d57668ba92a2918d0664e89ea91d467f8e6a2bc6330923eb883b74ac42a14ec","complete":true,"records":3125,"lastAttemptAt":"2026-11-12T17:18:53.2989437+00:00","lastSuccessAt":"2026-11-12T15:18:36.6112732+00:00","error":null,"lastVerifiedAt":"2026-11-12T17:18:53.2989437+00:00","snapshotPublishedAt":"2026-11-12T14:48:37+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-bde599d85a9f7715a977e2ca25ddb66721130a1c4ff1699631218bc0243e1ab5","complete":true,"records":231717,"lastAttemptAt":"2026-11-12T17:18:53.040847+00:00","lastSuccessAt":"2026-11-12T17:18:51.4424333+00:00","error":null,"lastVerifiedAt":"2026-11-12T17:18:53.040847+00:00","snapshotPublishedAt":"2026-11-12T16:33:03+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}