Research demonstrates hijacking LiteLLM gateway: traffic interception, key theft, and tool call injection
LLM Heist: Hijacking LiteLLM for Traffic Interception, Key Theft, and Tool-Call Injection
AI summary
Security researchers published a demonstration of an attack technique against the AI gateway LiteLLM, which redirects traffic to an attacker-controlled gateway by modifying the two configurations api_base and use_litellm_proxy, thereby intercepting backend LLM provider keys, monitoring conversations, and forging responses.