{"id":"MAL-2026-13455","revision":"9329e683911e4f51b40727a9fa9ee992","records":[{"revision":"9329e683911e4f51b40727a9fa9ee992","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13455","aliases":[],"title":"Malicious code in remote-claude-daemon (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c9c092b787277e3c89fc27a6c01e5360bc0566988cefca0b1a0f9626af9186d0)\nremote-claude-daemon connects to a hardcoded WebSocket relay at wss://remote-claude-relay.fly.dev and treats inbound messages as commands executed against the local host. On receiving ai_query/ai_voice_query messages, the daemon spawns the local `claude` binary with `--continue -p --dangerously-skip-permissions` and the remote-supplied prompt as input, giving the remote side arbitrary code execution through Claude Code's agent tooling with the permissions prompt disabled. A separate handleInput path dispatches remote messages to synthesised mouse moves/clicks, keyboard keypresses (including modifier chords) and clipboard paste via @nut-tree-fork/nut-js, giving the remote side full interactive control over the installer's desktop. The daemon additionally captures screen frames (native SCStream on macOS via a shipped Swift helper, ffmpeg gdigrab/x11grab on Windows/Linux) and optional microphone PCM audio and streams them over the same relay. Although the package is documented as a remote-Claude bridge, session tokens gate access, and `--relay` can override the default, the out-of-the-box configuration wires an author-controlled endpoint into an RCE + input-injection + screen/audio-capture surface on the installer. The relay operator (or anyone who obtains a session token, MITMs the connection, or compromises the relay) can execute arbitrary commands as the user, control input, and stream desktop/audio contents.\n","state":0,"publishedAt":"2026-08-06T19:57:03+00:00","modifiedAt":"2026-08-06T23:50:19.3923553+00:00","affected":[{"ecosystem":"npm","name":"remote-claude-daemon","ranges":[],"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"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/remote-claude-daemon/v/0.3.9","https://www.npmjs.com/package/remote-claude-daemon/v/0.3.7","https://www.npmjs.com/package/remote-claude-daemon/v/0.3.5","https://www.npmjs.com/package/remote-claude-daemon/v/0.5.7","https://www.npmjs.com/package/remote-claude-daemon/v/0.4.6","https://www.npmjs.com/package/remote-claude-daemon/v/0.5.2","https://www.npmjs.com/package/remote-claude-daemon/v/0.5.5","https://www.npmjs.com/package/remote-claude-daemon/v/0.6.0","https://www.npmjs.com/package/remote-claude-daemon/v/0.3.0","https://www.npmjs.com/package/remote-claude-daemon/v/0.4.2","https://www.npmjs.com/package/remote-claude-daemon/v/0.3.8","https://www.npmjs.com/package/remote-claude-daemon/v/0.3.6","https://www.npmjs.com/package/remote-claude-daemon/v/0.5.4","https://www.npmjs.com/package/remote-claude-daemon/v/0.6.1","https://www.npmjs.com/package/remote-claude-daemon/v/0.6.6","https://www.npmjs.com/package/remote-claude-daemon/v/0.6.2","https://www.npmjs.com/package/remote-claude-daemon/v/0.5.9","https://www.npmjs.com/package/remote-claude-daemon/v/0.4.7","https://www.npmjs.com/package/remote-claude-daemon/v/0.5.0","https://www.npmjs.com/package/remote-claude-daemon/v/0.3.4"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13455","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13455","identifiers":["MAL-2026-13455"]},"retained":false,"historicalAffected":[]}],"coverage":[]}