Tainted flow: 'request' from os.environ.get (line 56, 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="POST", ) try: with urllib.request.urlopen(request, timeout=TIMEOUT) as response: body = json.loads(response.read().decode("utf-8")) except Exception as exc: # noqa: BLE001 - any failure must degrade, not propagate # urllib raises across several unrelated trees here: URLError/HTTPError,
