Tainted flow: 'params' from os.environ.get (line 710, credential/environment) → requests.get (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 cid = _client_id() # 匿名档设备标识,服务端双轨配额用 if cid: hdrs["X-Client-Id"] = cid resp = requests.get(url, params=params, headers=hdrs, timeout=25) except requests.RequestException as e: if attempt == RETRIES:
