Tainted flow: 'req' from os.environ.get (line 1349, credential/environment) → urllib.request.urlopen (network output)
Critical
- Category
- Data Flow
- Content
headers = {"Authorization": "Bearer " + require_key(), "User-Agent": user_agent()} try: req = urllib.request.Request(url, headers=headers, method="GET") with urllib.request.urlopen(req, timeout=TIMEOUT_SEC) as resp: note_release(resp.headers) ctype = resp.headers.get("Content-Type", "") body = resp.read()- Confidence
- 83% confidence
- Finding
- The export path writes arbitrary server responses to a caller-supplied local path via --out after fetching authenticated content. While this is a user-invoked CLI feature rather than silent malware behavior, it can overwrite sensitive local files if the skill/agent passes an unsafe path, and it expands the skill from analysis into filesystem modification.
