Tainted flow: 'url' from os.getenv (line 197, credential/environment) → requests.post (network output)
Critical
- Category
- Data Flow
- Content
} } response = requests.post(url, headers=headers, json=body, timeout=30) result = response.json() if result.get("code") != 2000:- Confidence
- 88% confidence
- Finding
- The request destination is derived from the JF_ENDPOINT environment variable and then used to build authenticated HTTPS requests containing UUID, appKey, signature, and in some APIs device credentials. If an attacker can influence that environment variable, the skill can be redirected to an attacker-controlled host and exfiltrate signed requests and sensitive metadata, which is effectively SSRF plus credential leakage.
