cvelo
P2 · HighMalware

Malicious code in wallet-adapter-base (npm)

  • GHSA-9h7q-53gw-grwc
  • MAL-2026-18459

Description

Show the whole description

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. On `npm install`, the package's `preinstall.js` executes and POSTs the installer's `os.hostname()` and `os.userInfo().username` to a hardcoded Discord webhook at `https://canary.discord.com/api/webhooks/1566232728179843243/...` unrelated to any declared publisher. The exfiltration is unconditional, non-opt-in, and fires before any user code runs. The published name `wallet-adapter-base` resembles Solana wallet-adapter ecosystem packages, while an internal marker labels the package `cutekitten-test` and keywords include `do-not-use` and `security-research`, indicating a typosquat-shaped delivery vehicle for the beacon. Any 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.

Text from the OSV record.

Recommendation

Remove the package and rotate any secret the machine that installed it could reach. There is no version to update to.

Affected

  • wallet-adapter-basenpm

    Affected versionsFixed in
    all versionsnone stated

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.