Tainted flow: 'request' from os.environ.get (line 313, 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=method, ) try: with urllib.request.urlopen(request, timeout=timeout) as response: raw = response.read() headers = dict(response.headers.items()) headers_lower = {key.lower(): value for key, value in headers.items()}
