Tainted flow: 'req' from os.environ.get (line 83, credential/environment) → urllib.request.urlopen (network output)
Critical
- Category
- Data Flow
- Content
req = urllib.request.Request(args.url, data=body, method=args.method.upper(), headers=headers) try: with urllib.request.urlopen(req, context=context) as resp: raw = resp.read().decode("utf-8", errors="replace") print(json.dumps({"status": resp.status, "body": _try_json(raw)}, ensure_ascii=False, indent=2)) except urllib.error.HTTPError as e:- Confidence
- 97% confidence
- Finding
- The request sends an authentication token sourced from environment/config to any user-supplied URL, so the helper can exfiltrate credentials to arbitrary hosts. In this skill context, that is especially dangerous because the tool is presented as a forum API helper but actually behaves like a general authenticated HTTP client.
