Tainted flow: 'video_url' from requests.post (line 165, network input) → requests.get (network output)
Medium
- Category
- Data Flow
- Content
video_url = status["output"]["url"] print(f"Downloading from: {video_url}") response = requests.get(video_url, timeout=300) response.raise_for_status() if out is None:- Confidence
- 94% confidence
- Finding
- The script downloads a URL returned by the remote API without validating the scheme, host, or content type. If the upstream service is compromised, misconfigured, or attacker-influenced, this can trigger server-side request forgery–like behavior from the client environment, causing requests to unexpected internal or sensitive endpoints and downloading untrusted content.
