{"id":"MAL-2026-12101","revision":"019560f0f4424ad6ab12db1b3e3efcaf","records":[{"revision":"019560f0f4424ad6ab12db1b3e3efcaf","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12101","aliases":[],"title":"Malicious code in @wethenorth12/solana-wallet-adapter (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (14e7d05f22a60d86ce4aea030108a6f50a69b85ce9bb0219eb59fbe2dbc3bbb2)\nOn require(), index.js JSON-encodes the full process.env plus hostname, username, homedir, platform, cwd, and package metadata, base64-encodes the payload, and sends it as a Telegram Bot API sendMessage GET request to a hardcoded bot token and chat_id (8969499041). A marker file in the OS tmpdir gates the beacon to fire once per host. The package impersonates @solana/wallet-adapter-base: the author field is spoofed as 'anza-xyz', the README advertises a 'drop-in replacement', and the module attempts to require the real @solana/wallet-adapter-base and re-export it so consumers see a working facade while the exfiltration runs silently. Developer and CI environments routinely carry AWS_*, GITHUB_TOKEN, NPM_TOKEN, and other credential-shaped variables, so a full env dump to an attacker endpoint is credential theft against the installer.\n","state":0,"publishedAt":"2026-08-05T06:23:37+00:00","modifiedAt":"2026-08-05T07:20:57.7445271+00:00","affected":[{"ecosystem":"npm","name":"@wethenorth12/solana-wallet-adapter","ranges":[],"versions":["0.18.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@wethenorth12/solana-wallet-adapter/v/0.18.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12101","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12101","identifiers":["MAL-2026-12101"]},"retained":false,"historicalAffected":[]}],"coverage":[]}