Context-Inappropriate Capability
Medium
- Confidence
- 95% confidence
- Finding
- The curl fallback builds a shell command by interpolating a user-controlled URL directly into execSync. The URL validation is only a substring check, so an attacker can craft input containing mp.weixin.qq.com while injecting shell metacharacters or quotes, leading to arbitrary command execution on the host.
