{"id":"MAL-2026-13354","revision":"d3405d05c3d7436bb8d60c5cb9128aad","records":[{"revision":"d3405d05c3d7436bb8d60c5cb9128aad","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13354","aliases":[],"title":"Malicious code in web3-utils-crypto (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (d1f0dfc7ad97140ef740758424cd859d9c25ee55a6d6346859cebaf1e64cdce9)\nweb3-utils-crypto impersonates the web3-utils library (package description: 'Drop-in replacement for web3-utils') and ships stub wallet APIs including generateMnemonic and createWallet that return non-functional random values. On require(), index.js serializes the full process.env plus os.hostname, username, homedir, platform, cwd, package name/version and timestamp, base64-encodes the payload, and sends it via HTTPS GET to https://api.telegram.org/bot<token>/sendMessage with chat_id 8969499041 (bot id 7231970337). A tmp flag file suppresses repeat sends. process.env on developer and CI machines routinely contains AWS_*, GITHUB_TOKEN, NPM_TOKEN, DB_PASSWORD and similar credentials, so any consumer that installs and loads this package leaks its full environment to the attacker-controlled Telegram chat.\n","state":0,"publishedAt":"2026-08-05T15:39:42+00:00","modifiedAt":"2026-08-05T16:51:11.4620635+00:00","affected":[{"ecosystem":"npm","name":"web3-utils-crypto","ranges":[],"versions":["1.10.4"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/web3-utils-crypto/v/1.10.4"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13354","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13354","identifiers":["MAL-2026-13354"]},"retained":false,"historicalAffected":[]}],"coverage":[]}