Context-Inappropriate Capability
High
- Confidence
- 98% confidence
- Finding
- Using eval to expand environment variables in a path introduces shell command execution on untrusted input. An attacker could embed command substitutions or shell metacharacters in the path string, causing arbitrary commands to run in the context of the agent instead of merely resolving a pathname.
