subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
}) try: result = subprocess.run( ["curl", "-s", "-X", "POST", webhook, "-H", "Content-Type: application/json", "-d", json.dumps(body, ensure_ascii=False)],- Confidence
- 89% confidence
- Finding
- The code posts alert data to a user-configurable webhook URL without validating destination, which enables server-side request forgery behavior if an attacker can control configuration. In a skill context that may run on a host with internal network access, this can be abused to reach internal services or exfiltrate monitoring data to unintended endpoints.
