Tainted flow: 'headers' from os.getenv (line 47, 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 if debug: print(f"\n=== DEBUG: 第 {attempt + 1} 次尝试 ===", file=sys.stderr) response = requests.get(url, params=params, headers=headers, timeout=30) if debug: print(f"状态码: {response.status_code}", file=sys.stderr)
