Tainted flow: 'timeout' from os.environ.get (line 82, 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 max_bytes = int( os.environ.get("SN_PPT_MAX_IMAGE_BYTES", str(DEFAULT_MAX_BYTES)) ) with request.urlopen(req, timeout=timeout) as response: content_type = response.headers.get("Content-Type", "") data = response.read(max_bytes + 1) if len(data) > max_bytes:
