@addai/ainode (npm) · Malicious Code
Affects @addai/ainodeSource GCVE Database
Malicious package : remove @addai/ainode and rotate any secrets on hosts that installed it.
Data as of 6 Aug 2026, 18:35 UTC
Malicious package
Published to npm · OSV MAL-2026-13409
What to do
Remove @addai/ainode from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npm@addai/ainode | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The @addai/ainode npm package versions 0.3.0 and 0.3.1 contain malicious code that, after an initial pairing, allows a remote attacker to execute arbitrary commands on the host system. The malicious daemon polls a hardcoded Supabase project to receive and execute commands, including launching AI CLI tools with elevated permissions. It also supports remote updates to install any npm-published version of the package, enabling persistent and version-controlled malicious payloads.