Tainted flow: 'req' from os.environ.get (line 27, credential/environment) → urllib.request.urlopen (network output)
Critical
- Category
- Data Flow
- Content
if data is not None: req.add_header("Content-Type", "application/json") try: with urllib.request.urlopen(req, timeout=30) as r: return r.status, r.read().decode("utf-8") except urllib.error.HTTPError as e: return e.code, e.read().decode("utf-8")- Confidence
- 92% confidence
- Finding
- with urllib.request.urlopen(req, timeout=30) as r:
