Tainted flow: 'url_img' from os.environ.get (line 197, credential/environment) → urllib.request.urlopen (network output)
Critical
- Category
- Data Flow
- Content
elif url_img: # Some models/servers return a temporary URL instead of b64_json. try: with urllib.request.urlopen(url_img, timeout=args.timeout) as resp: img = resp.read() except Exception as e: raise SystemExit(f"failed to download image url: {e}")- Confidence
- 93% confidence
- Finding
- with urllib.request.urlopen(url_img, timeout=args.timeout) as resp:
