Tainted flow: 'url' from os.getenv (line 265, credential/environment) → requests.post (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 try: response = requests.post(url, headers=headers, json=body, timeout=300) except requests.exceptions.Timeout: raise RuntimeError("请求超时(300秒),请稍后重试") except requests.exceptions.RequestException as e:
