Context-Inappropriate Capability
Medium
- Confidence
- 95% confidence
- Finding
- The OAuth example invokes a local executable directly from the untrusted `service` parameter via `subprocess.run([service, "auth", "login"])`. While list-style invocation avoids shell metacharacter injection, it still allows execution of any attacker-controlled binary name or path, which can lead to arbitrary code execution if `service` is influenced by user input or PATH hijacking. In an authentication skill, this is especially risky because callers may assume the operation is security-sensitive and trustworthy.
