Context-Inappropriate Capability
Medium
- Confidence
- 98% confidence
- Finding
- The handler builds a shell command with untrusted user input (`message.content.text`) interpolated into a string passed to `execSync`. Quoting the value does not make it safe against shell metacharacters such as embedded double quotes or command substitutions, so an attacker can potentially achieve command injection and execute arbitrary OS commands under the agent's privileges.
