Context-Inappropriate Capability
Medium
- Confidence
- 92% confidence
- Finding
- The code unconditionally sets `CommandAuthorized: true` for every inbound WebView message, even though admission policy only checks sender/channel identity and not whether the user explicitly authorized tool or command execution. In an agent runtime, this can cause ordinary chat text from a device to be treated as command-capable input, increasing the chance of unintended tool use, side effects, or privileged actions if downstream components trust this flag.
