Tainted flow: 'req' from os.getenv (line 296, credential/environment) → urllib.request.urlopen (network output)
Critical
- Category
- Data Flow
- Content
ssl_ctx.verify_mode = ssl.CERT_NONE try: with urllib.request.urlopen(req, context=ssl_ctx, timeout=30) as resp: result = json.loads(resp.read().decode("utf-8")) except urllib.error.HTTPError as e: raise Exception(f"HTTP请求失败: {e.code}, {e.read().decode('utf-8', errors='replace')}")- Confidence
- 99% confidence
- Finding
- with urllib.request.urlopen(req, context=ssl_ctx, timeout=30) as resp:
