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
- 91% confidence
- Finding
- The destination URL for requests.post is derived from environment-controlled base URLs via _login_base() / _agent_user_base(). Because these requests carry SMS login data, access tokens, refresh tokens, and API-token generation traffic, a malicious or compromised environment can redirect secrets to an attacker-controlled server. In a skill context, this is especially dangerous because the code is unrelated to the advertised Temu cancel-order function and performs credential onboarding and token minting instead.
