My minute-by-minute response to the LiteLLM malware attack
AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.
Why it matters
Anyone who installed or upgraded litellm could have pulled malicious code, so teams using the package need to verify their versions immediately.
A researcher named Callum McMahon discovered a malicious version of the LiteLLM package, version 1.82.8, being distributed on PyPI, the online store where Python programmers download software. He used the Claude AI assistant inside a Docker container, a sealed-off virtual environment, to safely confirm the code was malware, then reported it. LiteLLM is a widely used tool for calling large language models.
A compromised version of LiteLLM, a popular open-source library for accessing large language models, briefly appeared on PyPI, exposing any organization that installed version 1.82.8. Callum McMahon confirmed the malware using Claude in a Docker sandbox and escalated it to PyPI's security team. The incident shows both real supply-chain risk to AI infrastructure and AI assistants being used to verify and respond to it.
The malicious litellm==1.82.8 wheel on PyPI contained a litellm_init.pth file, 34,628 bytes, whose first line executes base64-decoded code via subprocess.Popen.pth files run on Python interpreter startup, giving persistence. Callum McMahon downloaded the wheel in an isolated Docker container to confirm the payload, with Claude suggesting the security@pypi.org contact. He published the Claude transcript using Willison's claude-code-transcripts tool.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
datasette-charts 0.5a0
Datasette Charts 0.5a0 adds calendar heatmaps, box plots and active-over-time charts, enabling richer data visualisation directly in the browser without extra libraries.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.
Self-hosted YouTube client that falls back to SABR when side doors close
A self-hosted YouTube client lets users watch videos without Google accounts, ads, or tracking, keeping data local and enabling shared libraries across devices.
datasette-charts 0.4a0
Datasette now lets developers add custom chart types more easily, expanding visualisation options for data projects.
Speculative Decoding Makes Tool Calls Faster. Agents Need a Cache.
Speed improvements in speculative decoding mean agents can execute tool calls faster, reducing latency for real-time applications.