LiteLLM Compromise Drained AI Provider Keys and Cloud Secrets From Proxy Installs
What happened
Security research firm SafeDep published findings confirming that LiteLLM 1.107.0 on PyPI contained a credential stealer and backdoor affecting all seven platform builds of the release. LiteLLM is a proxy layer used by enterprises to route requests across multiple AI providers, including OpenAI, Anthropic, and Google, from a single integration point. The malicious code harvested SSH keys, cloud platform credentials, pipeline automation secrets, AI tool tokens, and browser-stored passwords. It also stole LLM provider keys stored in the LiteLLM proxy database and sent them to an attacker-controlled domain. This is a supply chain attack. A legitimate, widely downloaded package was replaced with a version that appears normal while silently exfiltrating credentials. The library has been downloaded more than 23 million times. The incident follows a pattern documented in Three Attacks Target AI Keys, LLM APIs, and Provider Access Controls and the earlier LiteLLM Supply Chain Attack Stole AI and Cloud Credentials in 23M-Download Library.
Why it matters
- ·A single compromised proxy package can expose every AI provider key and cloud credential an organization holds. Attackers with those keys can run unauthorized AI workloads at the organization's expense. They can also access data processed through the proxy or pivot into cloud environments. This is a high-severity incident even for teams that never opened a malicious file.
- ·Most enterprise AI governance programs do not include a formal inventory of open-source packages in their AI infrastructure stack. Fewer still require proof that downloaded packages match what the publisher originally released. This incident shows that AI tooling supply chain risk is an active threat, not a theoretical one. Procurement and vendor controls must extend to dependencies, not just primary vendors.
- ·Organizations using LiteLLM in regulated environments face compounding obligations. Stolen AI provider credentials may trigger breach notification duties. Unauthorized access to data processed through the proxy may constitute a reportable incident under frameworks such as the EU AI Act (Regulation (EU) 2024/1689). Exposed pipeline secrets may also affect the integrity of automated systems whose outputs feed regulated decisions.
Governance controls affected
What to do now
- ☐Check immediately whether any environment in your organization is running LiteLLM version 1.107.0 and, if so, isolate those systems from your network and AI provider accounts.
- ☐Rotate all AI provider keys, cloud access credentials, SSH keys, and pipeline automation secrets that were accessible to or stored in any affected LiteLLM proxy instance — assume all were compromised.
- ☐Ask your engineering or IT team to produce a list of every open-source package used in your AI infrastructure stack, and confirm whether you have any process for verifying that downloaded packages match official, trusted releases before installation.
- ☐Review your incident response playbook to confirm it covers scenarios where AI infrastructure credentials are stolen: who is notified, which regulators may need to be informed, and what forensic logging is required.
- ☐Add a procurement condition requiring your AI tooling vendors and internal teams to document open-source dependencies and their verification process as part of any new AI system intake or vendor approval.
What to watch next
Organizations should monitor for follow-on credential abuse. Attackers who obtained AI provider keys may use them over weeks before detection. Watch for unexpected usage spikes or unfamiliar activity on provider dashboards. The pattern of targeting AI infrastructure dependencies is accelerating, as seen in incidents involving OpenCode Breach Exposes API Keys for Anthropic, OpenAI, and Google and similar events. PyPI and other software package registries are under increased scrutiny. Guidance on supply chain verification controls for AI tooling is likely to emerge from NIST and sector regulators in the near term. Teams should also watch whether this incident prompts updates to the OWASP Top 10 for Large Language Model Applications, which covers supply chain risks for AI deployments.
Stay ahead of stories like this
Get every Global AI governance development like this one, plus the rest of the week's developments. Every Thursday.
Recent issues
- Compromised AI infrastructure, expanding federal enforcement, and confirmed agent deception are converging to raise the baseline compliance burden across every enterprise AI program this week.22 Oct
- Regulators, litigants, and attackers are all moving faster than most organizations' AI governance frameworks, shifting leverage away from deployers and toward those who can prove control, accountability, and honest disclosure.21 Oct
Free every Thursday. Unsubscribe anytime.
