Tainted flow: 'req' from os.environ.get (line 205, credential/environment) → urllib.request.urlopen (network output)
Critical
- Category
- Data Flow
- Content
) try: with urllib.request.urlopen(req, timeout=120) as resp: if stream: return stream_response(resp) else:- Confidence
- 96% confidence
- Finding
- The endpoint used for the outbound request is taken from an environment variable or CLI override without validation, then contacted directly with urllib. In this skill, that means sensitive local file contents and user prompts can be exfiltrated to any attacker-controlled URL if CLIPROXY_URL or --url is manipulated, making this a real SSRF/data-exfiltration risk rather than a harmless configuration option.
