Context-Inappropriate Capability
Medium
- Confidence
- 94% confidence
- Finding
- The script builds and executes shell commands with child_process.execSync using user-supplied file paths. Although the paths are wrapped in double quotes, shell metacharacters such as embedded quotes can still break out of the intended argument context, creating a command injection risk if an attacker controls inputFile or outputFile. In this skill context, the tool is intended to process source files, so accepting arbitrary file names from users makes the issue more relevant rather than less.
