npm · Malicious package advisory
Malwarewallet-adapter-base
GHSA-r89f-jjgp-3q97
Malicious code in wallet-adapter-base (npm)
Details
**Severity:** Critical **Affected versions:** `= 1.0.0` 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. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/b87b7ad667d6be1bcf780b798acca098969ee0e7/osv/malicious/npm/wallet-adapter-base/MAL-2026-18459.json)) **References:** - https://github.com/ossf/malicious-packages/blob/b87b7ad667d6be1bcf780b798acca098969ee0e7/osv/malicious/npm/wallet-adapter-base/MAL-2026-18459.json - https://www.npmjs.com/package/wallet-adapter-base - https://github.com/advisories/GHSA-r89f-jjgp-3q97
Compromised versions (1)
- = 1.0.0
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.