The `kanban` npm package, used by the `cline` CLI, implements a WebSocket server on `127.0.0.1:3484` that lacks Origin header validation. Because WebSocket connections bypass Cross-Origin Resource Sharing (CORS) restrictions, any website visited by a developer can silently connect to this server. This allows a malicious site to leak sensitive real-time data, including workspace filesystem paths, git branch information, task titles, and AI agent chat messages. Furthermore, an attacker can hijack running AI agent terminals by injecting arbitrary prompts, which can lead to remote code execution (RCE), or terminate active sessions, resulting in a denial of service. The issue affects the following endpoints:
- 'ws://127.0.0.1:3484/api/runtime/ws'
- 'ws://127.0.0.1:3484/api/terminal/io'
- 'ws://127.0.0.1:3484/api/terminal/control'