Skip to main content

Malicious code in remote-claude-daemon (npm)

0
Critical
Published: 08/06/2026 (08/06/2026, 19:57:03 UTC)
Source: GCVE Database
Product: remote-claude-daemon

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

npmghsa
remote-claude-daemon
Affected versions
=0.3.9=0.3.7=0.3.5=0.5.7=0.4.6=0.5.2=0.5.5=0.6.0=0.3.0=0.4.2=0.3.8=0.3.6=0.5.4=0.6.1=0.6.6=0.6.2=0.5.9=0.4.7=0.5.0=0.3.4

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

AILast updated: 08/07/2026, 07:32:59 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses