Tainted flow: 'req' from os.environ.get (line 101, credential/environment) → urllib.request.urlopen (network output)
Critical
- Category
- Data Flow
- Content
method="POST", ) resp = urllib.request.urlopen(req, timeout=60) body = json.loads(resp.read().decode("utf-8")) # Extract content from OpenAI-compatible response- Confidence
- 96% confidence
- Finding
- This is a real privacy/security issue because document chunks are transmitted to a network endpoint whose URL is partly user-controlled via environment variables, and the code performs the request without enforcing the documented consent gate. In this skill's context, the data being processed is large user documents, which may contain sensitive business or personal information, so unintended egress can cause serious confidentiality exposure even if the feature is framed as optional.
