Tainted flow: 'req' from os.getenv (line 41, credential/environment) → urllib.request.urlopen (network output)
Critical
- Category
- Data Flow
- Content
while True: try: if verbose: print(f"[debug] POST {url} attempt {attempt + 1}") with urllib.request.urlopen(req, timeout=timeout) as response: return json.loads(response.read().decode("utf-8")) except (urllib.error.HTTPError, urllib.error.URLError) as exc: if attempt < retry_max:- Confidence
- 90% confidence
- Finding
- Credentials or environment variables flow to a network sink. This is a high-confidence indicator of credential exfiltration.
