Tainted flow: 'req' from os.environ.get (line 27, credential/environment) → urllib.request.urlopen (network output)
Critical
- Category
- Data Flow
- Content
headers["Content-Type"] = "application/json" req = urllib.request.Request(BASE_URL + path, data=data, headers=headers, method=method) try: with urllib.request.urlopen(req, timeout=30) as response: return json.loads(response.read().decode("utf-8")) except urllib.error.HTTPError as exc: try:- Confidence
- 97% confidence
- Finding
- with urllib.request.urlopen(req, timeout=30) as response:
