All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Critical Security Alert: Malicious Credential-Stealing File Found in litellm 1.82.8 PyPI Package

By

theanonymousone

2mo ago· 3 min readenCode

Summary

The article reports a critical security vulnerability in the litellm==1.82.8 Python package on PyPI, which contains a malicious .pth file that automatically executes a credential-stealing script whenever Python starts. This supply chain compromise allows attackers to steal credentials without requiring the user to import the package. The malicious file is embedded in the package's official distribution and executes a multi-stage payload that collects system information, establishes persistence, and exfiltrates stolen data to attacker-controlled servers.

Key quotes

· 4 pulled
The litellm==1.82.8 wheel package on PyPI contains a malicious .pth file (litellm_init.pth, 34,628 bytes) that automatically executes a credential-stealing script every time the Python interpreter starts — no import litellm required.
This is a supply chain compromise. The malicious file is listed in the package's own RECORD.
The payload is double base64-encoded. When decoded, it performs the following: Stage 1: Information Collection
This is a critical security vulnerability affecting users who have installed or may install this specific version of the litellm package.
Snippet from the RSS feed
[LITELLM TEAM] - For updates from the team, please see: #24518 [Security]: CRITICAL: Malicious litellm_init.pth in litellm 1.82.8 PyPI package — credential stealer Summary The litellm==1.82.8 wheel...

You might also wanna read