What Happened on October 21
On October 21, 2026, an attacker pushed a poisoned version of LiteLLM to the Python Package Index (PyPI) and to official Docker images. LiteLLM is a popular Python tool that lets software talk to many artificial intelligence (AI) models through one interface. Version 1.107.0 appeared on PyPI at 11:39 Coordinated Universal Time (UTC) with a credential stealer inside all seven of its prebuilt packages, called wheels. The bad package stayed on PyPI until 13:23 UTC. Docker images tagged v1.107.0, latest, main-latest and main-stable served the bad build from 11:46 to 14:20 UTC.
How the Attackers Got In
LiteLLM has published its own incident report. According to that report, the attackers used stolen GitHub login tokens belonging to three engineers. They modified the release pipeline and triggered a production release from an attacker-controlled repository. A second compromised account approved it, and a third was used to delete workflow logs.
The official GitHub tag for 1.107.0 did not contain the malicious files. The payloads were added during the build and appeared only in the published wheels and container images, so a code review of the source would have found nothing.
What the Malware Takes
Python runs the payload every time it starts, even when a program never uses LiteLLM. The stealer collects server login keys, cloud credentials, browser passwords, build-system secrets and tokens for AI coding tools. It also reads the LiteLLM database tables that hold provider keys. A second component lets the attacker run Python code on the machine every hour. Stolen data goes to litellm.dev and www.litellm.dev, domains that imitate the real project.
One firm says the GitHub file that pointed to the loader’s server was empty when its researchers checked, so no extra code ran.
How It Compares With March
This is LiteLLM’s second compromise this year. In March, a group called TeamPCP published two malicious versions after a compromised scanner tool, which ran without a pinned version in LiteLLM’s build pipeline, leaked the project’s PyPI publishing token. Those versions were live for 46 minutes before PyPI quarantined them.
The damage from March kept growing. In August, researchers analyzed a 153GB archive stolen in that attack and linked it to 2,488 corporate domains. Researchers say the October attack used different tooling and infrastructure, and none of the reports we reviewed names an attacker for it.
What Users Should Do Now
Researchers name 1.106.2 as the latest safe version. They advise that anyone who installed 1.107.0 should treat their credentials as compromised and rotate them, even after updating. Removing the package with pip, Python’s installer, runs the payload again, so isolate the machine and delete the startup files with shell tools first. Then replace keys and tokens, and check Docker hosts for images pulled on October 21.
Our Analysis
Both attacks hit LiteLLM’s release process, not its source code, so code review would not have caught either one. Pin exact versions or image digests, because floating tags such as latest pulled the bad Docker image. Some points remain unverified: one firm’s claims that its scanner flagged the release 16 minutes after upload, and that no customer pulled it. That firm sells delay tools, so weigh its advice.