Tainted flow: 'req' from os.environ.get (line 128, credential/environment) → urllib.request.urlopen (network output)
Critical
- Category
- Data Flow
- Content
} req = Request(get_api_base() + path, data=data, headers=headers, method="POST") try: with urlopen(req, timeout=TIMEOUT_SECONDS) as response: body = response.read().decode("utf-8") return json.loads(body) if body else {} except HTTPError as exc:- Confidence
- 86% confidence
- Finding
- with urlopen(req, timeout=TIMEOUT_SECONDS) as response:
