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

---
title: Issue · GitHub | daily.dev
description: A critical security vulnerability was discovered in litellm version 1.82.8 on PyPI. The wheel package contains a malicious .pth file (litellm_init.pth) that...
canonical: https://daily.dev/posts/issue-github-ifeh5nqd7
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Issue · GitHub | daily.dev
og:description: A critical security vulnerability was discovered in litellm version 1.82.8 on PyPI. The wheel package contains a malicious .pth file (litellm_init.pth) that...
og:url: https://daily.dev/posts/issue-github-ifeh5nqd7
og:image: https://api.daily.dev/og/posts/IFEH5nqd7.png
og:image:alt: Issue · GitHub
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.

# Issue · GitHub

**[Hacker News](https://daily.dev/sources/hn)** · 4 min read · 0 upvotes · 0 comments

## Summary

A critical security vulnerability was discovered in litellm version 1.82.8 on PyPI. The wheel package contains a malicious .pth file (litellm_init.pth) that automatically executes a credential-stealing script every time Python starts — no import required. The payload is double base64-encoded and performs extensive data collection including environment variables, SSH keys, AWS/GCP/Azure credentials, Kubernetes configs, Docker configs, shell history, crypto wallets, and CI/CD secrets. Collected data is AES-256 encrypted, RSA-wrapped, and exfiltrated to an attacker-controlled domain (models.litellm.cloud). Anyone who installed this version should immediately rotate all credentials and check for the malicious .pth file in their site-packages directory.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://github.com/BerriAI/litellm/issues/24512>

## 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: [#litellm](https://daily.dev/tags/litellm), [#python](https://daily.dev/tags/python), [#security](https://daily.dev/tags/security)

[View this post on daily.dev](https://daily.dev/posts/issue-github-ifeh5nqd7)

```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":"TechArticle","headline":"Issue · GitHub","url":"https://daily.dev/posts/issue-github-ifeh5nqd7","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/issue-github-ifeh5nqd7"},"datePublished":"2026-03-24T14:00:25.383Z","dateModified":"2026-10-15T02:17:45.101Z","description":"A critical security vulnerability was discovered in litellm version 1.82.8 on PyPI. The wheel package contains a malicious .pth file (litellm_init.pth) that...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/4c2d601a6bcfe30c55e4de86dcd1e447?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/4c2d601a6bcfe30c55e4de86dcd1e447?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Hacker News","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Hacker News","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn","url":"https://daily.dev/sources/hn"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/issue-github-ifeh5nqd7","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"litellm,python,security","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Hacker News","item":"https://daily.dev/sources/hn"},{"@type":"ListItem","position":3,"name":"Issue · GitHub"}]}
```

