Tainted flow: 'download_url' from requests.post (line 83, network input) → requests.get (network output)
Medium
- Category
- Data Flow
- Content
print(f"Downloading ZIP archive to: {output_path}...", file=sys.stderr) zip_response = requests.get(download_url, stream=True, timeout=120) zip_response.raise_for_status() # Save to file- Confidence
- 89% confidence
- Finding
- The script fetches a second URL taken directly from the API response without validating its host, scheme, or relationship to the trusted service. If the API, a proxy, or upstream response were compromised, this could be abused for SSRF-like outbound requests or downloading attacker-controlled content to disk.
