Tainted flow: 'req' from os.environ.get (line 170, credential/environment) → urllib.request.urlopen (network output)
Critical
- Category
- Data Flow
- Content
ctx = ssl.create_default_context() try: with urllib.request.urlopen(req, context=ctx) as resp: return json.loads(resp.read().decode("utf-8")) except urllib.error.HTTPError as e: text = e.read().decode("utf-8", errors="replace") if hasattr(e, "read") else ""- Confidence
- 82% confidence
- Finding
- with urllib.request.urlopen(req, context=ctx) as resp:
