Tainted flow: 'req' from os.getenv (line 37, credential/environment) → urllib.request.urlopen (network output)
Critical
- Category
- Data Flow
- Content
if data is not None: req.add_header("Content-Type", "application/json") try: with urllib.request.urlopen(req, timeout=310) as resp: raw = resp.read().decode("utf-8") return json.loads(raw) if raw else None except urllib.error.HTTPError as e:- Confidence
- 95% confidence
- Finding
- with urllib.request.urlopen(req, timeout=310) as resp:
