Context-Inappropriate Capability
Medium
- Confidence
- 98% confidence
- Finding
- The code constructs a shell command with untrusted input (`url`) interpolated directly into `execSync(...)`. Because this uses a shell, a crafted URL containing shell metacharacters or command substitution can break out of quoting and execute arbitrary OS commands with the privileges of the running process.
