MAL-2026-18459Malicious code in wallet-adapter-base (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | wallet-adapter-base | * |
| npm | wallet-adapter-base | 1.0.0 |
{"schema_version":"1.7.4","id":"MAL-2026-18459","published":"2026-11-01T21:33:18Z","modified":"2026-11-02T17:18:26.043351066Z","aliases":["GHSA-9h7q-53gw-grwc"],"summary":"Malicious code in wallet-adapter-base (npm)","details":"wallet-adapter-base takes the unscoped name of @solana/wallet-adapter-base and has no functional code. Its preinstall script runs `node preinstall.js` on npm install, which POSTs the machine's hostname, the OS username and the local time to the Discord webhook `https://canary.discord.com/api/webhooks/1566232728179843243/pM5rDIrCRrEpQRbA7ibaiQk1XOQlIftmBacA5s8jD8NvXn5W-rS832DOWHQS-G-j3N6U` as \"PC Notifier\". It was published by the npm account cutekitten05, which published axelarjs-sdk, cutekitten-test, bigbob22-test and sol-wallet-adapter with the same script on 2026-11-01.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: ghsa-malware (bde7babd223d526922c03a77b46c3cb5a7ee7e05027dd66e3f630520ad6c53ab)\nAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.\n","affected":[{"package":{"name":"wallet-adapter-base","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.0"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}]}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/wallet-adapter-base"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-9h7q-53gw-grwc"}],"database_specific":{"iocs":{"files":[{"digests":{"sha256":"50d055feee2beeea222a96d191734adef75612a035c2284d1c307290af7872e9"},"note":"preinstall runs `node preinstall.js`, which POSTs hostname and username to a Discord webhook (wallet-adapter-base@1.0.0).","paths":["package.json"],"source":"PACKAGE_ARCHIVE"},{"digests":{"sha256":"d2709b8afcf5e5e2859d0b56c8f119b73c98fc56c32fb072baea5b51b1cc3554"},"note":"Executed by the preinstall script of wallet-adapter-base@1.0.0.","paths":["preinstall.js"],"source":"PACKAGE_ARCHIVE"}],"urls":["https://canary.discord.com/api/webhooks/1566232728179843243/pM5rDIrCRrEpQRbA7ibaiQk1XOQlIftmBacA5s8jD8NvXn5W-rS832DOWHQS-G-j3N6U"]},"malicious-packages-origins":[{"id":"GHSA-9h7q-53gw-grwc","import_time":"2026-11-02T17:17:13.118021679Z","modified_time":"2026-11-02T16:25:56Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"bde7babd223d526922c03a77b46c3cb5a7ee7e05027dd66e3f630520ad6c53ab","source":"ghsa-malware"}]},"credits":[{"name":"InvisiRisk, Inc.","contact":["https://www.invisirisk.com","mailto:research@invisirisk.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0