Tainted flow: 'req' from os.environ.get (line 53, 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 # Send request try: with urllib.request.urlopen(req, timeout=120) as response: result = json.loads(response.read().decode('utf-8')) return result.get("response", "No response field found") except urllib.error.HTTPError as e:
