Tainted flow: 'req' from os.environ.get (line 107, credential/environment) → urllib.request.urlopen (network output)
Critical
- Category
- Data Flow
- Content
headers=headers, method="POST" ) with urllib.request.urlopen(req, timeout=30) as response: result = json.loads(response.read().decode("utf-8")) if "data" in result and len(result["data"]) > 0: return result["data"][0]["embedding"]- Confidence
- 96% confidence
- Finding
- with urllib.request.urlopen(req, timeout=30) as response:
