Context-Inappropriate Capability
Medium
- Confidence
- 88% confidence
- Finding
- The code invokes a shell command to install a package/skill based on user input, which grants the agent the ability to modify its runtime environment and fetch external code. Even though the regex restricts obvious shell metacharacters, this still creates a risky trust boundary: an untrusted user can trigger installation of arbitrary allowed-named skills, potentially introducing malicious code or unsafe dependencies into the agent.
