Tainted flow: 'req' from os.getenv (line 174, credential/environment) → urllib.request.build_opener.open (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 headers=build_headers(), ) try: with OPENER.open(req, timeout=timeout) as response: raw = response.read().decode("utf-8") try: result = json.loads(raw)
