Tainted flow: 'headers' from os.getenv (line 25, credential/environment) → requests.post (network output)
Critical
- Category
- Data Flow
- Content
output_path.parent.mkdir(parents=True, exist_ok=True) with requests.post(API_URL, headers=headers, json=payload, stream=True, timeout=60) as r: r.raise_for_status() with open(output_path, "wb") as f: for chunk in r.iter_content(chunk_size=8192):- Confidence
- 90% confidence
- Finding
- Credentials or environment variables flow to a network sink. This is a high-confidence indicator of credential exfiltration.
