MOSIR
No. 02 · Free Published by MOSIR

No. 02 · Oct 22, 2026 · The lead

Poisoned LiteLLM 1.107.0 hit PyPI and Docker for hours, stealing AI and cloud keys

Attackers with stolen developer tokens published a malicious LiteLLM 1.107.0 on Oct 21. It sat on PyPI for about 100 minutes and behind Docker 'latest' tags for about 2.5 hours, harvesting keys.

By the Local Intelligence Wire desk · Wimberley, Texas ·

LiteLLM, the open-source gateway that gives many self-hosted AI systems one OpenAI-style API in front of local and cloud models, published a poisoned release on Oct 21. According to the maintainers' incident statement, attackers used stolen GitHub CLI tokens from three engineers' accounts: one changed the release pipeline, a second approved the production run, and a third deleted workflow records. The malicious build came from an attacker-controlled repository, not the official source tag.

The seven 1.107.0 wheels were live on PyPI from 11:39 to 13:23 UTC. Docker Hub tags v1.107.0, latest, main-latest and main-stable pointed to the bad image from 11:46 to 14:20 UTC, and the GitHub registry copies, including the database and non-root variants, until 13:51. Socket says its malware alert fired about seven minutes after publication.

SafeDep's analysis found a stealer that runs on every Python start and collects SSH keys, cloud and Kubernetes credentials, CI secrets, AI tool tokens, browser passwords and the provider keys stored in LiteLLM's own proxy database. A second file starts an hourly backdoor that fetches and runs remote code. Data was sent to a lookalike domain, litellm.dev.

The maintainers say pinned versions other than 1.107.0 and enterprise private-registry users were not affected. Anyone who installed unpinned or pulled a floating tag in the window should treat the host as compromised: do not run pip first, remove the planted files, kill the detached process, rebuild from scratch and rotate every key the host could reach. The cause of the token theft was not yet identified when the statement was last updated.

Why it mattersModel routers are the switchboard of a private AI node: they hold the keys to every cloud fallback and see every request. Appliances and installer builds that pull containers by the latest tag or update on a schedule would have picked up the bad image with no human in the loop, which is the exact failure a customer-owned system is supposed to prevent.

For consultantsConsultants should check every client node that runs LiteLLM for 1.107.0 or a floating tag pulled on Oct 21, pin images by digest from now on, and put update approval into the support contract.

Sources

Read the full Oct 22, 2026 edition