RC RANDOM CHAOS

Stolen GitHub Tokens Deliver Malware to LiteLLM Package

· via The Hacker News

Original source

LiteLLM Compromised in Supply Chain Attack Delivering Credential Stealer and Backdoor

The Hacker News →

Version 1.107.0 of the LiteLLM Python package, distributed through PyPI and Docker, contained malicious code injected through a supply chain compromise. Attackers leveraged stolen GitHub OAuth tokens to gain access to three engineers’ accounts, allowing them to create and approve a malicious release before the contaminated packages were identified and removed from registries.

The malware payload consists of two main components: a credential harvester called privcollect and a persistent command-and-control mechanism that checks for attacker instructions hourly. The malicious code executes automatically when Python starts—before the legitimate package loads—using .pth files, a technique also seen in the March TeamPCP attacks. The stealer targets cloud credentials, developer authentication files, private keys, browser data, and configuration files for AI development tools.

Exfiltrated data is sent to attacker-controlled endpoints, and the malware can retrieve and execute additional payloads from external domains. While LiteLLM has revoked compromised tokens and restricted its GitHub organization, the initial attack vector remains unknown. Users should rotate all secrets from clean systems and downgrade to version 1.106.2.

Read the full article

Continue reading at The Hacker News →

This is an AI-generated summary. Read the original for the full story.