Malicious LiteLLM PyPI Releases Stole Cloud and Crypto Credentials
Two malicious litellm releases, versions 1.82.7 and 1.82.8, were briefly published to PyPI in a supply-chain compromise that targeted developers and AI application environments. Reporting and downstream advisories said the packages contained credential-stealing malware aimed at AWS secrets, cloud tokens, and cryptocurrency-related keys, with exposure limited to a roughly four-hour publication window before the releases were removed. The incident was serious enough to trigger updates in the PyPA advisory database and public warnings that the affected versions should be treated as compromised.
Projects that depend on LiteLLM moved quickly to contain the risk, with repositories including OpenHands, MLflow, and dreadnode/rigging pinning safe versions such as litellm<=1.82.6 or otherwise blocking installation of the tainted releases. Community responders also published detection guidance and indicators of compromise tied to the malware campaign, including checks for installations of 1.82.7 and 1.82.8 and references to associated TeamPCP IoCs, while maintainers and users were urged to rotate any exposed credentials and review systems that may have installed the malicious packages.

Get ahead of threats like this
Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.
How this story unfolded
6 events from the most recent confirmed update back to the earliest known activity.
Further public alert notes limited impact and four-hour exposure window
A later public security alert reiterated that LiteLLM versions 1.82.7 and 1.82.8 were malicious, emphasizing a four-hour publication window and limited impact. This reflects continued disclosure and clarification of the incident's scope.
Detector and TeamPCP IoCs released for compromised LiteLLM versions
A public GitHub Gist released a detector for identifying compromised LiteLLM versions 1.82.7 and 1.82.8 and shared TeamPCP indicators of compromise. This gave defenders a way to check environments for exposure.
OX Security publishes analysis of credential-stealing LiteLLM malware
OX Security published a blog post describing the malicious LiteLLM packages and their theft of AWS and crypto credentials. The write-up provided broader public reporting and technical context on the supply-chain attack.
PyPA advisory database updated with malware details
A pull request to the PyPA advisory database added additional details about the malicious LiteLLM packages. This formalized public tracking of the incident in Python package security advisories.
Projects pin or restrict LiteLLM to safe versions
Multiple downstream projects, including OpenHands, dreadnode/rigging, and MLflow, updated dependencies to pin LiteLLM to 1.82.6 or earlier to mitigate the supply-chain compromise. These changes indicate active defensive response by affected maintainers.
Malicious LiteLLM 1.82.7 and 1.82.8 packages published to PyPI
Attackers published compromised LiteLLM versions 1.82.7 and 1.82.8 to PyPI in a short roughly four-hour window. The malicious packages were reported to steal cloud and cryptocurrency-related credentials, including AWS keys.
Sources
7 references tracked. Mallory keeps watching after this page renders.
SECURITY ALERT: Malicious `litellm` `1.82.7` / `1.82.8` (4-hour window, limited impact) · Issue #2209 · agentscope-ai/QwenPaw
github.com
Open sourceLiteLLM Supply Chain Attack Detector - check for compromised versions (1.82.7/1.82.8) and TeamPCP IoCs · GitHub
gist.github.com
Open sourceMalicious LiteLLM Packages Steal AWS & Crypto Keys
ox.security
Open sourcePin `litellm<=1.82.6` by harupy · Pull Request #21971 · mlflow/mlflow · GitHub
github.com
Open sourcefix(security): pin litellm<1.82.6 to mitigate supply chain attack by GangGreenTemperTatum · Pull Request #356 · dreadnode/rigging · GitHub
github.com
Open sourcesecurity: pin litellm<=1.82.6 to mitigate supply chain attack by saurya · Pull Request #13569 · OpenHands/OpenHands · GitHub
github.com
Open sourceAdditional details about malware in LiteLLM by kam193 · Pull Request #268 · pypa/advisory-database · GitHub
github.com
Open sourceSee the full picture, correlated to your attack surface.
Map indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.


