Tainted flow: 'gateway_url' from os.environ.get (line 35, credential/environment) → requests.patch (network output)
Critical
- Category
- Data Flow
- Content
headers = {} if token: headers["Authorization"] = f"Bearer {token}" resp = requests.patch(f"{gateway_url}/api/config", headers=headers, json=payload, timeout=5) return resp.ok except Exception:- Confidence
- 93% confidence
- Finding
- resp = requests.patch(f"{gateway_url}/api/config", headers=headers, json=payload, timeout=5)
