Tainted flow: 'req' from os.getenv (line 94, credential/environment) → urllib.request.urlopen (network output)
Critical
- Category
- Data Flow
- Content
url = BASE_URL + path req = urllib.request.Request(url, data=body, headers=headers, method=method) with urllib.request.urlopen(req, timeout=20) as resp: return json.loads(resp.read().decode()) except urllib.error.HTTPError as e:- Confidence
- 96% confidence
- Finding
- with urllib.request.urlopen(req, timeout=20) as resp:
