Tainted flow: 'image_url' from os.getenv (line 597, credential/environment) → requests.get (network output)
Critical
- Category
- Data Flow
- Content
if not (image_url.startswith("http://") or image_url.startswith("https://")): raise ValueError("image_url must start with http:// or https://") download_resp = requests.get(image_url, timeout=30) download_resp.raise_for_status() content_type = download_resp.headers.get("content-type", "").lower() ext = ".jpg"- Confidence
- 98% confidence
- Finding
- download_resp = requests.get(image_url, timeout=30)
