Tainted flow: 'url' from os.getenv (line 131, credential/environment) → requests.post (network output)
Critical
- Category
- Data Flow
- Content
if events: body["events"] = events response = requests.post(url, headers=headers, json=body, timeout=30) result = response.json() if result.get("code") != 2000:- Confidence
- 95% confidence
- Finding
- The request destination is derived from JF_ENDPOINT, which can be overridden at runtime via an environment variable. That allows an attacker or misconfigured runtime to redirect authenticated requests, including signed headers, device token usage, and surveillance metadata, to an arbitrary host, creating an SSRF/exfiltration path.
