Malicious code in remote-claude-daemon (npm)
The remote-claude-daemon npm package connects to a hardcoded WebSocket relay controlled by the author, which accepts inbound messages treated as commands executed on the local host. It spawns a local binary with disabled permission prompts, allowing remote arbitrary code execution. Additionally, it enables remote control of mouse, keyboard, and clipboard input, and streams screen and microphone audio to the relay. This creates a comprehensive remote control and surveillance capability for the relay operator or anyone who can intercept or access the session token.
AI Analysis
Technical Summary
The remote-claude-daemon package establishes a connection to a hardcoded WebSocket relay endpoint (wss://remote-claude-relay.fly.dev). It processes inbound messages as commands executed locally, including spawning the 'claude' binary with parameters that disable permission prompts, enabling arbitrary code execution. Remote messages can also synthesize mouse movements, clicks, keyboard input, and clipboard pastes via the @nut-tree-fork/nut-js library, granting full interactive control over the user's desktop. Furthermore, the daemon captures screen frames and optional microphone audio, streaming these to the relay. Although session tokens gate access and the relay endpoint can be overridden, the default configuration connects to an author-controlled relay, exposing users to remote code execution, input injection, and desktop/audio surveillance risks.
Potential Impact
An attacker controlling the relay server or able to intercept or obtain session tokens can execute arbitrary commands with the user's privileges, control desktop input (mouse, keyboard, clipboard), and capture screen and microphone audio. This compromises confidentiality, integrity, and availability of the affected system and user data, effectively granting full remote control and surveillance capabilities.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix or official guidance is available, users should avoid installing or running the remote-claude-daemon package, especially with default configurations that connect to the hardcoded relay. Consider network-level controls to block connections to the relay endpoint and monitor for suspicious activity related to this package.
Malicious code in remote-claude-daemon (npm)
Description
The remote-claude-daemon npm package connects to a hardcoded WebSocket relay controlled by the author, which accepts inbound messages treated as commands executed on the local host. It spawns a local binary with disabled permission prompts, allowing remote arbitrary code execution. Additionally, it enables remote control of mouse, keyboard, and clipboard input, and streams screen and microphone audio to the relay. This creates a comprehensive remote control and surveillance capability for the relay operator or anyone who can intercept or access the session token.
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 remote-claude-daemon package establishes a connection to a hardcoded WebSocket relay endpoint (wss://remote-claude-relay.fly.dev). It processes inbound messages as commands executed locally, including spawning the 'claude' binary with parameters that disable permission prompts, enabling arbitrary code execution. Remote messages can also synthesize mouse movements, clicks, keyboard input, and clipboard pastes via the @nut-tree-fork/nut-js library, granting full interactive control over the user's desktop. Furthermore, the daemon captures screen frames and optional microphone audio, streaming these to the relay. Although session tokens gate access and the relay endpoint can be overridden, the default configuration connects to an author-controlled relay, exposing users to remote code execution, input injection, and desktop/audio surveillance risks.
Potential Impact
An attacker controlling the relay server or able to intercept or obtain session tokens can execute arbitrary commands with the user's privileges, control desktop input (mouse, keyboard, clipboard), and capture screen and microphone audio. This compromises confidentiality, integrity, and availability of the affected system and user data, effectively granting full remote control and surveillance capabilities.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix or official guidance is available, users should avoid installing or running the remote-claude-daemon package, especially with default configurations that connect to the hardcoded relay. Consider network-level controls to block connections to the relay endpoint and monitor for suspicious activity related to this package.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-13455
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a7573b5bf8831d539d93b94
Added to database: 08/07/2026, 05:57:09 UTC
Last enriched: 08/07/2026, 07:32:59 UTC
Last updated: 09/21/2026, 22:46:13 UTC
Views: 22
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.