Tainted flow: 'req' from os.environ.get (line 22, credential/environment) → urllib.request.urlopen (network output)
Critical
- Category
- Data Flow
- Content
method="POST", ) try: with urllib.request.urlopen(req, timeout=60) as resp: body = json.loads(resp.read().decode("utf-8")) except urllib.error.URLError as e: raise RuntimeError(f"网络请求异常,请确认服务地址 {CREATE_ORDER_URL} 可达: {e}") from e- Confidence
- 95% confidence
- Finding
- with urllib.request.urlopen(req, timeout=60) as resp:
