Tainted flow: 'headers' from os.getenv (line 96, credential/environment) → requests.post (network output)
Critical
- Category
- Data Flow
- Content
last_error = None for attempt in range(max_retries + 1): try: response = requests.post(API_URL, headers=headers, json=payload, timeout=30) if response.status_code >= 500 and attempt < max_retries: import time- Confidence
- 90% confidence
- Finding
- Credentials or environment variables flow to a network sink. This is a high-confidence indicator of credential exfiltration.
