Tainted flow: 'req' from os.getenv (line 192, credential/environment) → urllib.request.urlopen (network output)
- Category
- Data Flow
- Confidence
- 90% confidence
- Finding
Credentials or environment variables flow to a network sink. This is a high-confidence indicator of credential exfiltration.
- Content
python method="GET", ) try: with urllib.request.urlopen(req, timeout=timeout) as resp: print(f"models endpoint: HTTP {resp.status}") return 200 <= resp.status < 300 except urllib.error.HTTPError as exc:
