LiteLLM supply-chain attack traced to unrevoked key from May
2026-10-27 · The Register
Popular open-source AI gateway LiteLLM published findings on last week's supply-chain attack. The Register reports that on Wednesday someone uploaded a poisoned version 1.107.0 to PyPI and container registries, containing an infostealer for cloud and AI-model secrets and a remote access trojan able to run arbitrary code.
Per Wiz, the malicious version was on PyPI for less than two hours before quarantine, with about 49,000 downloads.
Friday's postmortem traced the root cause to May 27, when a config file containing a master key was committed to the public LiteLLM-Labs/lite-harness repository. The key belonged to an open-source tool used internally to orchestrate AI agents. Developers removed the commit quickly but did not revoke the key. On October 10 the attacker used it to access the LiteLLM Agent Platform and extract a GitHub CLI OAuth token, gaining owner-level access to all repositories in its GitHub organization and then stealing tokens of two maintainers and other internal systems.
LiteLLM itself wrote that the incident is a strong illustration of the risks of failing to rotate a potentially exposed key, and says it is revoking every token on internal systems and vendor platforms. If you installed or updated LiteLLM around last Wednesday, check your version per the official advisory and rotate secrets. This report covers published facts only and no attack technique details.