Tainted flow: 'req' from os.environ.get (line 101, 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 handlers.append(urllib.request.ProxyHandler({"http": proxy, "https": proxy})) opener = urllib.request.build_opener(*handlers) with opener.open(req, timeout=12) as resp: return json.loads(resp.read().decode("utf-8"))
