Tainted flow: 'req' from os.environ.get (line 26, credential/environment) → urllib.request.urlopen (network output)
Critical
- Category
- Data Flow
- Content
req.add_header('X-API-Key', api_key) try: with urllib.request.urlopen(req, timeout=30) as resp: return json.loads(resp.read().decode('utf-8')) except urllib.error.HTTPError as e: error_body = e.read().decode('utf-8', errors='replace')- Confidence
- 95% confidence
- Finding
- with urllib.request.urlopen(req, timeout=30) as resp:
