Context-Inappropriate Capability
Medium
- Confidence
- 86% confidence
- Finding
- This script builds a shell command string and passes it to execSync, which invokes a shell. Although the input and output paths are quoted and path.resolve is used, shell-based execution remains risky because argument construction is manual and can behave unexpectedly with crafted filenames, shell metacharacters, or platform-specific quoting rules; it also expands the trust boundary to an external binary on PATH.
