Tainted flow: 'ENDPOINT' from os.environ.get (line 13, credential/environment) → requests.post (network output)
Critical
- Category
- Data Flow
- Content
body = {"query": query} if variables: body["variables"] = variables r = requests.post( ENDPOINT, json=body, headers={"Authorization": f"Bearer {API_KEY}", "Content-Type": "application/json"},- Confidence
- 95% confidence
- Finding
- r = requests.post( ENDPOINT, json=body, headers={"Authorization": f"Bearer {API_KEY}", "Content-Type": "application/json"}, timeout=30, )
