Tainted flow: 'api_base' from os.environ.get (line 201, credential/environment) → requests.post (network output)
Critical
- Category
- Data Flow
- Content
f"Return ONLY the translated text, no explanation.\n\n" f"Text: {text}" ) resp = requests.post( f"{api_base}/chat/completions", headers={"Authorization": f"Bearer {api_key}"}, json={- Confidence
- 90% confidence
- Finding
- Credentials or environment variables flow to a network sink. This is a high-confidence indicator of credential exfiltration.
