Tainted flow: 'request' from os.environ.get (line 1371, 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 if body is not None: request.add_header("Content-Type", "application/json") try: with urllib.request.urlopen(request, timeout=180) as response: raw = response.read(MAX_JSON_RESPONSE + 1) headers = dict(response.headers.items()) except urllib.error.HTTPError as exc:
