Tainted flow: 'image_url' from requests.post (line 70, network input) → requests.get (network output)
Medium
- Category
- Data Flow
- Content
print(f"Downloading to: {save_path}") # Handle redirect URLs try: img_response = requests.get(image_url, timeout=60, allow_redirects=True) if img_response.status_code == 200: os.makedirs(os.path.dirname(save_path) or ".", exist_ok=True) with open(save_path, "wb") as f:- Confidence
- 93% confidence
- Finding
- img_response = requests.get(image_url, timeout=60, allow_redirects=True)
