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 code sends authentication material and user data to URLs whose base domains are overridable via environment variables such as LINKFOX_LOGIN_API_URL and LINKFOX_AGENT_USER_API_URL. In a hostile or misconfigured runtime, an attacker can redirect login, SMS, token, and API-key issuance traffic to attacker-controlled infrastructure and capture credentials, OTPs, access tokens, refresh tokens, and generated API keys.
