Tainted flow: 'url' from os.getenv (line 230, credential/environment) → requests.post (network output)
Critical
- Category
- Data Flow
- Content
if access_token: body["accessToken"] = access_token response = requests.post(url, headers=headers, json=body, timeout=30) result = response.json() if result.get("code") != 2000:- Confidence
- 96% confidence
- Finding
- The request target is derived from JF_ENDPOINT, which is controlled by an environment variable and then used to build URLs for authenticated API calls. If an attacker can influence the environment, the script will send signed requests and potentially sensitive identifiers or access tokens to an arbitrary host, creating a server-side request forgery and credential exfiltration path.
