Tainted flow: 'req' from os.environ.get (line 92, credential/environment) → urllib.request.urlopen (network output)
Critical
- Category
- Data Flow
- Content
data = json.dumps(payload).encode("utf-8") req = urllib.request.Request(url, data=data, headers=headers, method="POST") try: with urllib.request.urlopen(req, timeout=timeout) as resp: return json.loads(resp.read().decode("utf-8")), None except urllib.error.HTTPError as e: body = e.read().decode("utf-8", errors="replace")- Confidence
- 90% confidence
- Finding
- Credentials or environment variables flow to a network sink. This is a high-confidence indicator of credential exfiltration.
