<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/xt7jwjafb" -->

---
title: Supply Chain Attack in litellm 1.82.8 on PyPI | daily.dev
description: litellm versions 1.82.7 and 1.82.8 on PyPI contain a malicious `.pth` file (`litellm_init.pth`) that executes automatically on every Python process startup....
canonical: https://daily.dev/posts/xt7jwjafb
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Supply Chain Attack in litellm 1.82.8 on PyPI | daily.dev
og:description: litellm versions 1.82.7 and 1.82.8 on PyPI contain a malicious `.pth` file (`litellm_init.pth`) that executes automatically on every Python process startup....
og:url: https://daily.dev/posts/xt7jwjafb
og:image: https://api.daily.dev/og/posts/xt7JWjaFB.png
og:image:alt: Post cover image
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Supply Chain Attack in litellm 1.82.8 on PyPI

**[Denis Bolkovskis](https://daily.dev/sources/yruvff6ibftylbjx9dzvt)** · [@denisb0](https://daily.dev/denisb0) · 1 upvotes · 0 comments

## Summary

litellm versions 1.82.7 and 1.82.8 on PyPI contain a malicious `.pth` file (`litellm_init.pth`) that executes automatically on every Python process startup. The malware operates in three stages: collecting SSH keys, cloud credentials, environment variables, and secrets; exfiltrating them encrypted to a rogue domain (`models.litellm.cloud`); and attempting lateral movement by exploiting Kubernetes service account tokens to create privileged pods and install persistent backdoors. The attack was discovered when the package was pulled as a transitive dependency via an MCP plugin in Cursor, triggering an accidental fork bomb. The GitHub issue has been closed and spammed by bots, suggesting the maintainer account is compromised. Affected users should remove the package, purge caches, check for persistence artifacts, and rotate all credentials immediately.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://futuresearch.ai/blog/litellm-pypi-supply-chain-attack/>

## Similar posts on daily.dev

- [Schneier on Security](https://daily.dev/posts/schneier-on-security-e5bm44uro) · Schneier on Security · 0 upvotes · 0 comments
- [When Your AI Gateway Turns on You: The LiteLLM Supply-Chain Attack](https://daily.dev/posts/when-your-ai-gateway-turns-on-you-the-litellm-supply-chain-attack-yfmengcdq) · Medium · 0 upvotes · 0 comments

---

Tags: [#cyber](https://daily.dev/tags/cyber), [#kubernetes](https://daily.dev/tags/kubernetes), [#litellm](https://daily.dev/tags/litellm), [#python](https://daily.dev/tags/python)

[View this post on daily.dev](https://daily.dev/posts/xt7jwjafb)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/xt7jwjafb","headline":"Supply Chain Attack in litellm 1.82.8 on PyPI","text":"Shared: Supply Chain Attack in litellm 1.82.8 on PyPI","url":"https://daily.dev/posts/xt7jwjafb","datePublished":"2026-03-24T14:33:51.345Z","dateModified":"2026-10-14T02:25:22.820Z","author":{"@type":"Person","name":"Denis Bolkovskis","url":"https://daily.dev/denisb0","image":"https://media.daily.dev/image/upload/s--PGCuYx85--/f_auto,q_auto/v1/avatars/avatar_yRuVFf6IbfTylBjx9Dzvt","description":"resident meme expert","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":56840}},"image":"https://media.daily.dev/image/upload/s--foaA6JGU--/f_auto/v1722860399/public/Placeholder%2004","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"sharedContent":{"@type":"WebPage","url":"https://api.daily.dev/r/UOCuTLKDZ"},"isPartOf":{"@type":"WebPage","url":"https://daily.dev/sources/yruvff6ibftylbjx9dzvt","name":"Denis Bolkovskis"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Denis Bolkovskis","item":"https://daily.dev/sources/yruvff6ibftylbjx9dzvt"},{"@type":"ListItem","position":3,"name":"Supply Chain Attack in litellm 1.82.8 on PyPI"}]}
```

