Tainted flow: 'headers' from os.getenv (line 102, credential/environment) → requests.get (network output)
Critical
- Category
- Data Flow
- Content
headers = {"Authorization": f"Bearer {token}", "Accept": "application/json, application/vnd.ms-excel"} params = {"customerId": customer_id} try: resp = requests.get(url, headers=headers, params=params, timeout=60, stream=True) print(f"请求URL: {resp.url}", file=sys.stderr) resp.raise_for_status() content_type = resp.headers.get('Content-Type', '').lower()- Confidence
- 84% confidence
- Finding
- resp = requests.get(url, headers=headers, params=params, timeout=60, stream=True)
