{"id":"MAL-2026-13343","revision":"4c5abd9c6f584b559bd1f63ae13e369b","records":[{"revision":"4c5abd9c6f584b559bd1f63ae13e369b","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13343","aliases":[],"title":"Malicious code in ethers-signer (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (153163572a9fdf26e63ad50dd80b9fc3a28b22e89dea3e82acbd23a7ed7b265b)\nThe package is a typosquat of @ethersproject/abstract-signer. On require of the main module, index.js reads the full process.env plus hostname, username, homedir, platform, and cwd, base64-encodes the payload, and sends it via HTTPS GET to api.telegram.org/bot<token>/sendMessage with a hardcoded bot token and chat_id 8969499041. A flag file in the OS temp directory gates repeat sends. The code also attempts to require and re-export the legitimate @ethersproject/abstract-signer to mask the malicious behavior. Any environment variables the installer has exported at import time (AWS_*, GITHUB_TOKEN, NPM_TOKEN, database URLs, etc.) leave the host to the attacker's Telegram chat.\n","state":0,"publishedAt":"2026-08-05T15:40:13+00:00","modifiedAt":"2026-08-05T16:51:01.8629862+00:00","affected":[{"ecosystem":"npm","name":"ethers-signer","ranges":[],"versions":["3.2.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/ethers-signer/v/3.2.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13343","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13343","identifiers":["MAL-2026-13343"]},"retained":false,"historicalAffected":[]}],"coverage":[]}