Tainted flow: 'full_url' from os.environ.get (line 19, credential/environment) → requests.post (network output)
Critical
- Category
- Data Flow
- Content
} try: response = requests.post(full_url, headers=headers, json=body) response.raise_for_status() result = response.json()- Confidence
- 95% confidence
- Finding
- The request URL is partially controlled by the MX_API_URL environment variable and is used directly in requests.post together with the API key header. In an agent/runtime setting, a malicious or misconfigured environment can redirect sensitive account requests and credentials to an attacker-controlled host, making this an SSRF-style exfiltration risk rather than a harmless configuration detail.
