logo

Inside the LiteLLM 1.107.0 supply chain compromise: Credential theft through Python startup hooks

ID: 46b7fc4e-ae89-52f4-a8de-abd56de17d2f

STIX ID: report--46b7fc4e-ae89-52f4-a8de-abd56de17d2f

Feed Name: Microsoft Security

Threat Score
88/100

Date Published: 2026-10-23

Date Updated: 2026-10-24

Author: Microsoft Security Research, Mahesh Mandava, Srinivasan Govindarajan, Sagar Patil and Suriyaraj Natarajan

...
...

Microsoft observed a supply-chain compromise of the LiteLLM 1.107.0 PyPI release (distributed in official container images) that installed Python startup files (cook.pth, cook.py, sitecustomize.py) which execute a credential-stealing payload on interpreter startup. The collector targets developer tools, cloud credentials, browsers, SSH keys, environment variables, and LiteLLM proxy data, encrypts results using AES + RSA, and attempts HTTP POST to an attacker-controlled domain; a Unix loader could fetch additional code. The report includes indicators (hashes, domains, file paths), Defender detections, advanced-hunting queries, and remediation guidance emphasizing containment, rebuilding from clean artifacts, and credential rotation.

Your team is not currently subscribed to this feed. You must subscribe to it in order to see this post.