Tainted flow: 'req' from os.environ.get (line 179, credential/environment) → urllib.request.urlopen (network output)
Critical
- Category
- Data Flow
- Content
headers={"Content-Type": "application/json"}, ) try: with urllib.request.urlopen(req, timeout=30) as resp: result = json.loads(resp.read()) return result.get("prompt_id") except (urllib.error.URLError, urllib.error.HTTPError) as e:- Confidence
- 83% confidence
- Finding
- with urllib.request.urlopen(req, timeout=30) as resp:
