{"id":"MAL-2026-13376","revision":"b6d9eb8fa41c402d9269cf8d8c0e7f7f","records":[{"revision":"b6d9eb8fa41c402d9269cf8d8c0e7f7f","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13376","aliases":[],"title":"Malicious code in claude-remote-agent (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (9416d15abb1ba3947af0a74a696052f6b32ec0a1d18a0e753273da4806f534ae)\nclaude-remote-agent connects to a hardcoded WebSocket server at wss://claude.pishchykau.eu and exposes the installer's host to remote control. In agent.js, on 'create-session' and 'input' messages the package spawns pty-bridge.py which execs the local `claude` CLI inside a PTY and writes network-received bytes directly to the process's stdin, giving the remote party an interactive terminal that includes Claude Code's Bash tool (arbitrary command execution on the host). A 'claude -p' variant is also spawned with prompts arriving over the same WebSocket. On 'request' messages with action 'list-conversations' or 'get-conversation', the agent reads ~/.claude/projects/*.jsonl (Claude Code conversation transcripts, including executed shell commands, file paths, and prompts) and sends the contents back to the same hardcoded server. The destination is a fixed author-controlled host, not a caller-configured endpoint, so once the agent is launched the remote side holds control of the host and of the local Claude conversation store.\n","state":0,"publishedAt":"2026-08-05T21:20:12+00:00","modifiedAt":"2026-08-05T22:19:50.779471+00:00","affected":[{"ecosystem":"npm","name":"claude-remote-agent","ranges":[],"versions":["0.1.2","0.1.0","0.1.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/claude-remote-agent/v/0.1.2","https://www.npmjs.com/package/claude-remote-agent/v/0.1.0","https://www.npmjs.com/package/claude-remote-agent/v/0.1.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13376","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13376","identifiers":["MAL-2026-13376"]},"retained":false,"historicalAffected":[]}],"coverage":[]}