Tainted flow: 'req' from os.environ (line 399, 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 ) # 发送请求 with urllib.request.urlopen(req) as response: return response.read().decode('utf-8') # --- 原有的 upload_file.py 函数 ---
