Security
Bug Report
litellm was compromised on PyPI twice in 2026: how a .pth file steals secrets on every Python start
litellm 1.82.7 and 1.82.8 in March, then 1.107.0 and floating Docker tags in October, shipped code that harvested credentials. The October build used a .pth file that runs on every interpreter start, even without importing litellm. Here is how we found it, cleaned up and locked down our LLM gateway.