Tainted flow: 'url' from os.environ.get (line 235, credential/environment) → requests.post (network output)
Critical
- Category
- Data Flow
- Content
except RuntimeError as e: return {"_error": str(e)} try: r = requests.post(url, json=body or {}, headers=headers, timeout=timeout) return r.json() except Exception as e: body_text = ""- Confidence
- 97% confidence
- Finding
- The script allows login and agent-user base URLs to be overridden via environment variables, then sends sensitive data such as phone numbers, SMS codes, access tokens, refresh tokens, and generated API keys to those URLs with requests.post. In a skill or agent runtime where environment can be influenced by a host, wrapper, or attacker, this creates an SSRF/exfiltration path that can redirect authentication traffic to attacker-controlled endpoints.
