Unrevoked Master Key Enabled LiteLLM Supply Chain Attack
Original source
Leaked LiteLLM Master Key Let Attackers Steal GitHub Tokens and Hijack Release Pipeline
The Hacker News →A configuration file containing the master key to LiteLLM’s Agent Platform was accidentally committed to a public GitHub repository in May 2026. Though the commit was quickly discovered and overwritten, the master key itself was never revoked. An attacker later exploited this lapse, using the unrevoked key in October to access the platform and extract a GitHub OAuth token with organization owner privileges.
With this token, the attacker modified the release pipeline to direct builds to a lookalike repository and deployed malicious workflows to harvest credentials from engineers with release access. Possessing stolen tokens from two maintainers, the attacker could trigger and approve a malicious release. Version 1.107.0 reached PyPI, Docker Hub, and container registries before researchers detected the intrusion and PyPI removed the package.
The compromised release contained a credential stealer and backdoor that executed whenever Python started—regardless of whether applications imported LiteLLM. The stealer targeted SSH keys, Git credentials, tokens for cloud platforms and developer tools, and package manager tokens. Stolen data was exfiltrated to an attacker-controlled endpoint. LiteLLM is now revoking all tokens and credentials from internal systems and vendor platforms.
Read the full article
Continue reading at The Hacker News →This is an AI-generated summary. Read the original for the full story.