{"id":"MAL-2026-12093","revision":"dd98b9bc2d6a4724a98cba5d147c8f9d","records":[{"revision":"dd98b9bc2d6a4724a98cba5d147c8f9d","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12093","aliases":[],"title":"Malicious code in @wethenorth12/ethers-signer (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (cb90f0b593abd4ce67cca9ba5adf891758c8d205b023d87986460471a9ab721e)\nOn require(), index.js collects the host's hostname, username, home directory, platform, current working directory, and the entire process.env, base64-encodes the payload, and transmits it via https.get to api.telegram.org using a hardcoded bot token and chat_id 8969499041. A marker file in the OS temp directory is used to gate repeated sends. process.env routinely carries CI tokens, cloud credentials, and API keys on developer and build-system machines, so this constitutes bulk credential theft on install/import. The package self-describes as a drop-in replacement for @ethersproject/abstract-signer and delegates to it when present, using impersonation of a widely-used Ethereum library as the lure to increase installations.\n","state":0,"publishedAt":"2026-08-05T06:23:13+00:00","modifiedAt":"2026-08-05T07:20:53.6296863+00:00","affected":[{"ecosystem":"npm","name":"@wethenorth12/ethers-signer","ranges":[],"versions":["3.2.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@wethenorth12/ethers-signer/v/3.2.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12093","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12093","identifiers":["MAL-2026-12093"]},"retained":false,"historicalAffected":[]}],"coverage":[]}