Tainted flow: 'req' from os.environ.get (line 55, credential/environment) → urllib.request.urlopen (network output)
Critical
- Category
- Data Flow
- Content
ctx = ssl.create_default_context() ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE with urllib.request.urlopen(req, timeout=timeout_s, context=ctx) as resp: raw = resp.read().decode("utf-8") return json.loads(raw) if raw else {} except urllib.error.HTTPError as e:- Confidence
- 99% confidence
- Finding
- with urllib.request.urlopen(req, timeout=timeout_s, context=ctx) as resp:
