Tainted flow: 'req' from os.environ.get (line 38, credential/environment) → urllib.request.urlopen (network output)
Critical
- Category
- Data Flow
- Content
for k, v in headers.items(): req.add_header(k, v) try: with urllib.request.urlopen(req, timeout=30) as resp: return json.loads(resp.read().decode("utf-8")) except urllib.error.HTTPError as e: body = e.read().decode("utf-8")- Confidence
- 90% confidence
- Finding
- with urllib.request.urlopen(req, timeout=30) as resp:
