cvelo
P2 · HighMalware

Malicious code in axelarjs-sdk (npm)

  • GHSA-8cf8-9j3v-99g4
  • MAL-2026-18456

Description

Show the whole description

axelarjs-sdk@1.0.1 takes the unscoped name of @axelar-network/axelarjs-sdk 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 wallet-adapter-base, cutekitten-test, bigbob22-test and sol-wallet-adapter with the same script on 2026-11-01. axelarjs-sdk@1.0.1 declares a scripts.preinstall entry that runs preinstall.js on `npm install`. The script reads os.hostname() and os.userInfo().username and POSTs them, together with a timestamp, to a hardcoded Discord webhook at canary.discord.com/api/webhooks/1566232728179843243/... controlled by a third party. The exfiltration fires automatically during install with no caller opt-in and no caller-configurable destination. The package name mimics the Axelar project's SDK, and the on-install beacon reports successful installation of the lookalike on the installer's machine to an attacker-controlled Discord channel. 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

  • axelarjs-sdknpm

    Affected versionsFixed in
    all versionsnone stated

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.