Tainted flow: 'API_BASE' from os.getenv (line 18, credential/environment) → httpx.post (network output)
Critical
- Category
- Data Flow
- Content
"owner": owner } response = httpx.post(f"{API_BASE}/api/auth/register", json=data, timeout=30) response.raise_for_status() result = response.json()- Confidence
- 96% confidence
- Finding
- `API_BASE` is fully controlled by the `WEIXIA_API_BASE` environment variable and is used to construct outbound URLs for registration and other authenticated requests. In this skill, that means an attacker who can influence the runtime environment can redirect traffic, including registration data and later credentials, to an attacker-controlled server, effectively causing credential/API-key exfiltration and unsafe wallet/task actions against the wrong endpoint.
