Tainted flow: 'key' from os.getenv (line 222, credential/environment) → requests.post (network output)
- Category
- Data Flow
- Confidence
- 90% confidence
- Finding
Credentials or environment variables flow to a network sink. This is a high-confidence indicator of credential exfiltration.
- Content
python {"model": "agent-pod", "stream": False, "messages": [{"role": "user", "content": message}]}, separators=(",", ":"), ) resp = requests.post( f"{BASE_URL}/pods/{pod_id}/v1/chat/completions", data=body_json, headers={"Content-Type": "application/json", "Authorization": f"Bearer {key}"},
