Tainted flow: 'url' from os.getenv (line 136, credential/environment) → requests.post (network output)
Critical
- Category
- Data Flow
- Content
if channel is not None: body["Channel"] = str(channel) response = requests.post(url, headers=headers, json=body, timeout=30) result = response.json() if result.get("code") != 2000:- Confidence
- 92% confidence
- Finding
- The request target is derived from the JF_ENDPOINT environment variable and is used to build the HTTPS URL for authenticated API calls. Because the code sends uuid, appKey, timestamp, and signature headers to whatever host is configured, a malicious or compromised environment can redirect sensitive device-management traffic to an attacker-controlled endpoint, enabling SSRF-style outbound access and credential/signature exfiltration.
