Tainted flow: 'HEADERS' from os.environ.get (line 19, credential/environment) → requests.get (network output)
Critical
- Category
- Data Flow
- Content
def get_devices(): """Fetch all devices linked to your Govee account.""" response = requests.get(f"{BASE_URL}/user/devices", headers=HEADERS) response.raise_for_status() data = response.json() if data.get("code") == 200:- Confidence
- 90% confidence
- Finding
- response = requests.get(f"{BASE_URL}/user/devices", headers=HEADERS)
