Tainted flow: 'req' from os.environ.get (line 469, credential/environment) → urllib.request.urlopen (network output)
Critical
- Category
- Data Flow
- Content
headers["Content-Type"] = "application/json" try: req = urllib.request.Request(url, data=data, headers=headers, method=method) with urllib.request.urlopen(req, timeout=TIMEOUT_SEC) as resp: note_release(resp.headers) raw = resp.read().decode("utf-8") out = json.loads(raw) if raw else {"success": True, "data": None}- Confidence
- 96% confidence
- Finding
- with urllib.request.urlopen(req, timeout=TIMEOUT_SEC) as resp:
