Tainted flow: 'req' from os.environ.get (line 78, credential/environment) → urllib.request.urlopen (network output)
Critical
- Category
- Data Flow
- Content
req.data = json.dumps(data).encode("utf-8") try: with urllib.request.urlopen(req, timeout=30) as resp: return json.loads(resp.read().decode("utf-8")) except urllib.error.HTTPError as e: # 认证失败,尝试刷新 token 后重试一次- Confidence
- 88% confidence
- Finding
- with urllib.request.urlopen(req, timeout=30) as resp:
