Home / Companies / Endor Labs / Blog / Post Details
Content Deep Dive

LiteLLM 1.107.0 Compromised: Python Startup Hooks Steal Cloud, AI, and Proxy Credentials

Blog post from Endor Labs

Post Details
Company
Date Published
Author
Peyton Kennedy
Word Count
1,987
Company Posts That Month
38
Language
English
Hacker News Points
-
Post removed?
No
Summary

A malicious LiteLLM 1.107.0 release published on October 21, 2026 was quarantined after investigators found that its Python wheels and associated container images included a credential-stealing payload and remote code loader, while LiteLLM’s core application source remained unchanged. A packaging configuration change caused files named cook.pth, cook.py, and sitecustomize.py to be installed directly into Python environments, allowing code to execute whenever Python starts, including during pip commands or incident-response inspection. The payload collected host, cloud, browser, developer-tool, container, environment, and cryptographic credentials, with specialized queries targeting LiteLLM proxy database tables that may contain provider API keys and model settings, then encrypted and sent the data to an endpoint disguised as a LiteLLM health check. A separate startup component could periodically download and execute unsigned remote code from infrastructure directed through a mutable GitHub-hosted pointer. The published build appears to have come from a malicious revision rather than the official v1.107.0 tag, and provenance referenced a lookalike repository owner. Organizations are advised to identify affected package installations and images, isolate impacted systems without launching their Python environments, rebuild from clean environments, rotate all potentially accessible credentials, investigate relevant network activity, and restore using the prior 1.106.2 release with version, hash, and image-digest pinning.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Kubernetes 3 5,095 485 112 +17%
AI Coding Assistant 2 1,929 531 146 +21%
Serverless 2 1,363 319 106 +11%
LLM 1 6,496 1,223 229 +8%
Secrets Management 1 3,057 597 151 +49%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.