subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
f.write(resp.content) # 转换为 PNG subprocess.run( ["convert", str(webp_path), str(png_path)], capture_output=True, check=True- Confidence
- 93% confidence
- Finding
- The skill invokes an external ImageMagick `convert` binary on untrusted content downloaded from remote URLs. Processing attacker-controlled image files with a powerful parser has historically enabled command execution, file reads, and denial-of-service via image decoder vulnerabilities or dangerous format handling, so this is more than a generic subprocess concern in this context.
