Cybersecurity news

Jessica Doner

Back to the list

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

Microsoft Security Blog,

A compromised software package allowed attackers to steal credentials by executing malicious code whenever Python started up, even without importing the package.

Overview

On October 21, 2026, a malicious version of the LiteLLM 1.107.0 software was released to the Python Package Index and distributed through official container imagesA read-only template file that packages an application together with all the libraries it needs to run. This compromised package contained files that could execute automatically when a Python interpreter started, meaning the malicious codeSoftware built to steal data, spy on users, lock files, or take control of a computer ran even if the application did not explicitly import LiteLLM. The payloadThe part of an attack or malware file that carries out the harmful action on the target targeted authenticationVerifying that a user, device, or program really is who it claims to be before allowing access material across developer tools, AI applications, cloud environments, browsers, and infrastructure. The attack occurred because stolen developer GitHub credentialsThe login details, such as a username and password or key, that prove who an account belongs to were used to alter the release workflow and redirectA web flaw where a trusted site accepts an outside URL parameter and forwards visitors there it to a lookalike repositoryA central storage place where a software project's source code, change history, and configuration files are kept. A separate databaseAn organized digital store of structured records, such as customer accounts, orders, or messages, queried by software module also attempted to read selected credential and model-configurationA text file that stores settings, network addresses, and options for how a program or server runs records from the LiteLLM proxyAn intermediate server that forwards network requests between a client and a destination server. Organizations must address the affected Python environment, any surviving processes, and credentials accessible to the compromised identity because removing the package or a release tag is not sufficient recovery.

Terms in this story

container images
A read-only template file that packages an application together with all the libraries it needs to run. Software teams download base container images from public registries to deploy cloud services, and a single outdated or backdoored container image can spread flaws across many servers.
malicious code
Software built to steal data, spy on users, lock files, or take control of a computer. News reports use malware as the umbrella term for viruses, ransomware, spyware, and trojans that criminals install on phones, laptops, or servers without permission. Security+ objective 2.4 lists the term
payload
The part of an attack or malware file that carries out the harmful action on the target. A phishing email and an exploit are only the delivery steps, while the payload is the ransomware or spyware that actually runs once the computer is compromised.
authentication
Verifying that a user, device, or program really is who it claims to be before allowing access. When you enter a password, scan a fingerprint, or present a key, authentication checks your identity before a server decides what your account is allowed to do.
credentials
The login details, such as a username and password or key, that prove who an account belongs to. Many breaches begin when attackers steal an employee's login credentials through a fake website and sign in to the company network as if they belonged there. Security+ objective 4.6 lists the term
redirect
A web flaw where a trusted site accepts an outside URL parameter and forwards visitors there. Attackers abuse an open redirect on a well-known website so the link in their email starts with a trusted domain name before forwarding the victim to a fake login page.
repository
A central storage place where a software project's source code, change history, and configuration files are kept. Software teams collaborate by pushing code to a shared repository, and attackers scan public repositories for accidentally committed API keys or try to poison popular projects.
database
An organized digital store of structured records, such as customer accounts, orders, or messages, queried by software. Behind almost every website and mobile app sits a database, and attackers target misconfigured or unpatched databases to copy millions of user records at once.
configuration
A text file that stores settings, network addresses, and options for how a program or server runs. Attackers who gain read access to a server look for its configuration file first because it often contains database passwords, API keys, and internal server paths.
proxy
An intermediate server that forwards network requests between a client and a destination server. Companies use a proxy to filter employee web traffic, while attackers route their traffic through chains of proxy servers to hide their real IP address.
supply chain compromise
Breaking into a software maker or vendor so their trusted product or update infects their customers. Instead of attacking a hundred companies one by one, an intruder compromises a single software library or update server that all of those companies already trust. Security+ objective 2.2 lists the term
Credential theft
Stealing usernames, passwords, login tokens, or keys so an attacker can sign in as a real user. Attackers use phishing pages, keyloggers, and memory dumps for credential theft because logging in with a real employee's password triggers fewer alarms than a noisy software exploit. Security+ objective 2.4 lists the term

This page is a short description made for this site. The article itself, with its author's name and its own link, is on the Microsoft Security Blog website. Cite the article, not this page.

Read the full article on Microsoft Security Blog (opens in a new tab)

Course connections

Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.

How a story is connected to the course, and every objective, week and job role

Related