Context-Inappropriate Capability
Medium
- Confidence
- 91% confidence
- Finding
- The document explicitly instructs the agent to use a generic shell/terminal/exec facility to run payment commands. Even though the intended commands are specific, routing them through a general command-execution tool expands capability beyond the minimum necessary and increases the risk of command injection, tool misuse, or execution of unintended commands if any upstream parameters are attacker-controlled.
