Tainted flow: 'req' from os.environ.get (line 106, credential/environment) → urllib.request.urlopen (network output)
Critical
- Category
- Data Flow
- Content
req = urllib.request.Request(url, data=body, method=method, headers={"Content-Type": "application/json"} if body else {}) try: with urllib.request.urlopen(req, timeout=15) as resp: return json.loads(resp.read()) except urllib.error.HTTPError as e: err = e.read().decode()- Confidence
- 92% confidence
- Finding
- with urllib.request.urlopen(req, timeout=15) as resp:
