Context-Inappropriate Capability
High
- Confidence
- 99% confidence
- Finding
- This script builds a shell command with user-controlled values and executes it via execSync, allowing shell metacharacters in input, output, angle, or scale to break out of the intended command and run arbitrary OS commands. In an image-processing utility, this capability is unnecessary and significantly increases risk because the script is likely to be used on untrusted command-line input in automation or agent contexts.
