Malicious code in @ai-support-agent/cli (npm)
The @ai-support-agent/cli npm package installs a persistent daemon that connects to a vendor API and executes remote commands on the host machine. It provides an interactive shell via WebSocket messages, allowing remote code execution, file operations, process control, and system reboot. This behavior is by design but effectively acts as a persistent backdoor. Anyone with access to the vendor API or who compromises it can fully control affected hosts. The daemon runs as a system service on Linux and macOS, starting on boot and communicating over the public internet by default.
AI Analysis
Technical Summary
The @ai-support-agent/cli package installs a long-running daemon that connects to a vendor API endpoint and executes remote-delivered commands on the local host. The daemon decodes WebSocket message payloads and writes them directly into a local pseudo-terminal, enabling an interactive shell for callers with a valid token. It supports commands for shell execution, file read/write/delete/mkdir, process listing and killing, chat subprocess spawning, and system setup, reboot, and update. The daemon is installed as a persistent system service on Linux and macOS, starting on boot and communicating over the public internet. This design creates a persistent backdoor, where compromise of the vendor API endpoint grants full remote code execution and control over all machines running the agent.
Potential Impact
Anyone with legitimate access or who compromises the vendor API endpoint can gain full remote code execution, filesystem access, process control, and reboot capabilities on every machine running the @ai-support-agent/cli agent. This effectively grants an attacker complete control over affected hosts, posing a critical security risk. The persistent nature of the daemon and its installation as a system service increases the blast radius, as access persists across reboots and network connections.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately uninstall the @ai-support-agent/cli package and remove the associated daemon and system service to eliminate the persistent backdoor. Restrict network access to the vendor API endpoint and monitor for any unauthorized connections. Verify the integrity of systems that had the agent installed and consider incident response actions if compromise is suspected. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Malicious code in @ai-support-agent/cli (npm)
Description
The @ai-support-agent/cli npm package installs a persistent daemon that connects to a vendor API and executes remote commands on the host machine. It provides an interactive shell via WebSocket messages, allowing remote code execution, file operations, process control, and system reboot. This behavior is by design but effectively acts as a persistent backdoor. Anyone with access to the vendor API or who compromises it can fully control affected hosts. The daemon runs as a system service on Linux and macOS, starting on boot and communicating over the public internet by default.
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 @ai-support-agent/cli package installs a long-running daemon that connects to a vendor API endpoint and executes remote-delivered commands on the local host. The daemon decodes WebSocket message payloads and writes them directly into a local pseudo-terminal, enabling an interactive shell for callers with a valid token. It supports commands for shell execution, file read/write/delete/mkdir, process listing and killing, chat subprocess spawning, and system setup, reboot, and update. The daemon is installed as a persistent system service on Linux and macOS, starting on boot and communicating over the public internet. This design creates a persistent backdoor, where compromise of the vendor API endpoint grants full remote code execution and control over all machines running the agent.
Potential Impact
Anyone with legitimate access or who compromises the vendor API endpoint can gain full remote code execution, filesystem access, process control, and reboot capabilities on every machine running the @ai-support-agent/cli agent. This effectively grants an attacker complete control over affected hosts, posing a critical security risk. The persistent nature of the daemon and its installation as a system service increases the blast radius, as access persists across reboots and network connections.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately uninstall the @ai-support-agent/cli package and remove the associated daemon and system service to eliminate the persistent backdoor. Restrict network access to the vendor API endpoint and monitor for any unauthorized connections. Verify the integrity of systems that had the agent installed and consider incident response actions if compromise is suspected. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10707
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a74cf8cbf8831d5391ae626
Added to database: 08/06/2026, 18:16:44 UTC
Last enriched: 08/06/2026, 18:32:44 UTC
Last updated: 08/06/2026, 18:32:44 UTC
Views: 2
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.