{"id":"MAL-2026-11532","revision":"aa0dbeb6abae479cb895dc372f9fba24","records":[{"revision":"aa0dbeb6abae479cb895dc372f9fba24","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-11532","aliases":[],"title":"Malicious code in @zzzgenesis00/solana-wallet-adapter (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (313cd424f27cb12cf28c0ad6737c2b2d5b08ff37d8971ae65a3a0184a73d2c46)\nThe postinstall.js script, which runs automatically on `npm install`, harvests a broad set of installer-owned secrets and identity data and exfiltrates them to two hardcoded attacker-controlled destinations. Collected data includes sensitive environment variables (NPM_TOKEN, NODE_AUTH_TOKEN, GITHUB_TOKEN, AWS_*, HELIUS/INFURA/ALCHEMY keys, MNEMONIC, SEED_PHRASE, SOLANA_PRIVATE_KEY, and similar), the contents of ~/.ssh, ~/.npmrc, and ~/.gitconfig, Chrome/Firefox profile artifacts (Cookies, Login Data, key4.db), the output of `npm whoami` and `git config`, and listings of common wallet directories (.bitcoin,.ethereum,.solana,.metamask,.exodus,.electrum). About 1.5-3.5 seconds after postinstall start, the harvested JSON is sent via HTTPS GET to `api.telegram.org` using a hardcoded bot token and chat_id (bot/chat 7231970337) and via HTTPS POST to `40f955f39128bd79-178-249-214-24.serveousercontent.com/collect` (a Serveo tunnel). The package impersonates the anza-xyz Solana publisher via a false `author` field and a non-existent repository link, wraps the harvester in mangled identifiers (_stq/_dgx/_uiz/_cp/_ht/_tk/_ch/_co/_ex) with a cover-story comment 'postinstall environment verification', and re-exports `./index.js` to appear functional. The stated wallet-adapter purpose does not justify any of the observed reads.\n","state":0,"publishedAt":"2026-08-04T22:08:32+00:00","modifiedAt":"2026-08-04T23:04:47.6715104+00:00","affected":[{"ecosystem":"npm","name":"@zzzgenesis00/solana-wallet-adapter","ranges":[],"versions":["0.18.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@zzzgenesis00/solana-wallet-adapter/v/0.18.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-11532","license":"OSV · upstream source license applies","key":"osv:MAL-2026-11532","identifiers":["MAL-2026-11532"]},"retained":false,"historicalAffected":[]}],"coverage":[]}