Tainted flow: 'req' from os.environ.get (line 110, credential/environment) → urllib.request.urlopen (network output)
Critical
- Category
- Data Flow
- Content
req = urllib.request.Request(url) req.add_header("Accept", "application/json") try: with urllib.request.urlopen(req, timeout=10) as resp: return json.loads(resp.read()) except Exception as e: print(f"[WARN] API call failed: {e}", file=sys.stderr)- Confidence
- 92% confidence
- Finding
- with urllib.request.urlopen(req, timeout=10) as resp:
