Malicious code in @addai/node (npm)
The @addai/node npm package contains malicious code that installs a background daemon on the host system. This daemon connects to a hardcoded remote Supabase backend to receive commands that allow remote execution of AI-agent CLI tools with arbitrary prompts, directories, and elevated permissions. It also enables remote installation and updating of npm packages, persistence via autostart, and exfiltrates credentials from various third-party AI CLI tools. This behavior creates a remote access channel controlled by an attacker, compromising the host's security.
AI Analysis
Technical Summary
The @addai/node package versions 0.4.0, 0.5.0, 0.7.0, 0.8.0, 0.8.1, 0.8.2, 0.9.0, 0.11.0, 0.11.1, and 0.11.2 contain malicious code that installs a background daemon (dist/session-runner.js). This daemon pairs the host with a remote AI account and polls a hardcoded Supabase backend for commands. These commands include arbitrary execution of AI-agent CLIs (claude, codex, kimi, gemini, grok) with elevated permissions, remote installation and updating of npm packages, and persistence mechanisms. Additionally, the daemon probes and exfiltrates credentials from unrelated AI CLI tools and reports this data back to the attacker-controlled backend. This creates a remote access channel allowing full control over the host environment.
Potential Impact
An attacker controlling the remote Supabase backend can execute arbitrary commands on the infected host with elevated permissions, install or update npm packages remotely, maintain persistence, and exfiltrate sensitive credential information from multiple AI CLI tools. This compromises the confidentiality, integrity, and availability of the host system and any data accessible to the installed AI agents.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately uninstall all affected versions of the @addai/node package listed and avoid installing or running this package. Monitor for any unauthorized background processes or network connections to the specified Supabase backend. Since this is a malicious package, remediation involves removing the package and any related artifacts manually. Patch status is not yet confirmed — check the vendor advisory or trusted security sources for updates.
Malicious code in @addai/node (npm)
Description
The @addai/node npm package contains malicious code that installs a background daemon on the host system. This daemon connects to a hardcoded remote Supabase backend to receive commands that allow remote execution of AI-agent CLI tools with arbitrary prompts, directories, and elevated permissions. It also enables remote installation and updating of npm packages, persistence via autostart, and exfiltrates credentials from various third-party AI CLI tools. This behavior creates a remote access channel controlled by an attacker, compromising the host's security.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The @addai/node package versions 0.4.0, 0.5.0, 0.7.0, 0.8.0, 0.8.1, 0.8.2, 0.9.0, 0.11.0, 0.11.1, and 0.11.2 contain malicious code that installs a background daemon (dist/session-runner.js). This daemon pairs the host with a remote AI account and polls a hardcoded Supabase backend for commands. These commands include arbitrary execution of AI-agent CLIs (claude, codex, kimi, gemini, grok) with elevated permissions, remote installation and updating of npm packages, and persistence mechanisms. Additionally, the daemon probes and exfiltrates credentials from unrelated AI CLI tools and reports this data back to the attacker-controlled backend. This creates a remote access channel allowing full control over the host environment.
Potential Impact
An attacker controlling the remote Supabase backend can execute arbitrary commands on the infected host with elevated permissions, install or update npm packages remotely, maintain persistence, and exfiltrate sensitive credential information from multiple AI CLI tools. This compromises the confidentiality, integrity, and availability of the host system and any data accessible to the installed AI agents.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately uninstall all affected versions of the @addai/node package listed and avoid installing or running this package. Monitor for any unauthorized background processes or network connections to the specified Supabase backend. Since this is a malicious package, remediation involves removing the package and any related artifacts manually. Patch status is not yet confirmed — check the vendor advisory or trusted security sources for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-13411
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a74cf8cbf8831d5391ae763
Added to database: 08/06/2026, 18:16:44 UTC
Last enriched: 08/06/2026, 18:34:59 UTC
Last updated: 08/07/2026, 00:46:26 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.