LiteLLM Hack: Were You One of the 47,000?

AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.

Why it matters

If you downloaded LiteLLM from PyPI during the 46-minute window, your credentials may have been compromised, check your dependency pins.

Read this as

The open-source Python package LiteLLM was hacked. Attackers briefly published two compromised versions, 1.82.7 and 1.82.8, on PyPI, the public repository where developers download Python packages. A new analysis using Google's BigQuery dataset found the bad versions were downloaded 46,996 times in the 46 minutes they were live. Anyone whose software auto-updated during that window may have been affected.

Two compromised LiteLLM versions on PyPI were downloaded 46,996 times during a 46-minute window, and 2,337 packages depend on LiteLLM, 88% without version pins that would have blocked the bad release. This makes most downstream projects vulnerable to the attack and highlights an urgent gap in typical supply-chain hygiene practices.

Daniel Hnyk queried the BigQuery PyPI public dataset to count downloads of the malicious LiteLLM releases 1.82.7 and 1.82.8 during their 46-minute live window: 46,996 downloads across the two versions. He also found 2,337 packages depending on LiteLLM, of which 88% did not pin versions in a way that avoided the exploited releases. Post-compromise credential rotation is advised for affected users.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

LiteLLM PyPI BigQuery Daniel Hnyk

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading