Tainted flow: 'url' from os.getenv (line 110, credential/environment) → requests.post (network output)
Critical
- Category
- Data Flow
- Content
for attempt in range(retries + 1): try: resp = requests.post(url, json=body, headers=headers, timeout=30) result = resp.json() except requests.RequestException as exc: if attempt < retries:- Confidence
- 95% confidence
- Finding
- The destination host is derived from the JF_ENDPOINT environment variable and used directly to build the HTTPS API URL for all authenticated requests. If an attacker can influence the runtime environment, they can redirect signed requests and operational data to an attacker-controlled server, enabling credential/header exfiltration and unauthorized remote actions.
