Tainted flow: 'headers' from os.environ.get (line 58, credential/environment) → requests.get (network output)
Critical
- Category
- Data Flow
- Content
print("token",token) print("DEBUG: url=", url) try: resp = requests.get(url, headers=headers, timeout=60) print(f"DEBUG: status_code={resp.status_code}", file=sys.stderr) print(f"DEBUG: response_text={resp.text[:500]}", file=sys.stderr) resp.raise_for_status()- Confidence
- 97% confidence
- Finding
- resp = requests.get(url, headers=headers, timeout=60)
