# PyPI

PyPI, the Python Package Index, is a repository for software packages for the Python programming language.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Credential stealer slipped into Microsoft's official Python agent framework

DevFeed: [Credential stealer slipped into Microsoft's official Python agent framework](<https://devfeed.tech/articles/credential-stealer-slipped-into-microsoft-s-official-python-agent-framework-143586.md>)

Original publisher: [Read original article](<https://www.helpnetsecurity.com/2026/11/19/microsoft-agent-framework-package-pypi-compromised/>)

Author: Sinisa Markovic

Published: 2026-11-19T12:53:44Z

Content type: news

Language: en

Sources: [Help Net Security](<https://devfeed.tech/sources/help-net-security.md>)

Topics: [Microsoft Agent Framework](<https://devfeed.tech/topics/microsoft-agent-framework.md>), [PyPI](<https://devfeed.tech/topics/pypi.md>)

Tags: [access-tokens](<https://devfeed.tech/tags/access-tokens.md>), [agent-framework](<https://devfeed.tech/tags/agent-framework.md>), [ci-cd](<https://devfeed.tech/tags/ci-cd.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [coder](<https://devfeed.tech/tags/coder.md>), [credential-stealer](<https://devfeed.tech/tags/credential-stealer.md>), [credentials](<https://devfeed.tech/tags/credentials.md>), [cybercrime](<https://devfeed.tech/tags/cybercrime.md>), [developers](<https://devfeed.tech/tags/developers.md>), [don-t-miss](<https://devfeed.tech/tags/don-t-miss.md>), [hot-stuff](<https://devfeed.tech/tags/hot-stuff.md>), [malicious](<https://devfeed.tech/tags/malicious.md>), [malware](<https://devfeed.tech/tags/malware.md>), [microsoft](<https://devfeed.tech/tags/microsoft.md>), [microsoft-agent-framework](<https://devfeed.tech/tags/microsoft-agent-framework.md>), [news](<https://devfeed.tech/tags/news.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [ox-security](<https://devfeed.tech/tags/ox-security.md>), [pypi](<https://devfeed.tech/tags/pypi.md>), [python](<https://devfeed.tech/tags/python.md>), [python-package-index](<https://devfeed.tech/tags/python-package-index.md>), [releases](<https://devfeed.tech/tags/releases.md>), [security](<https://devfeed.tech/tags/security.md>), [socket](<https://devfeed.tech/tags/socket.md>), [stepsecurity](<https://devfeed.tech/tags/stepsecurity.md>), [supply-chain](<https://devfeed.tech/tags/supply-chain.md>), [supply-chain-security](<https://devfeed.tech/tags/supply-chain-security.md>)

### AI overview

Microsoft's PyPI agent-framework releases 1.26.1 and 1.26.2, published November 17, 2026, contained a credential stealer that ran through a Python .pth startup hook without importing the framework. It collected matching environment variables, inspected up to 300 processes, copied .env and tool credential files, and attempted to obtain fresh cloud and CI tokens; the reports do not confirm those token requests succeeded. The payload sent collected data to a webhook.site endpoint. PyPI quarantined both releases, but 1.26.2 was uploaded after 1.26.1 had been quarantined; 1.26.0 is identified as the last clean version. For affected systems, the article advises isolating hosts and runners, rebuilding clean, pinning 1.26.0, treating reachable secrets as compromised, and reviewing identity permissions because rotating stored secrets may not revoke issued tokens. Longer-term measures cited include approved internal package mirrors, disposable build environments, short-lived credentials, and restricted outbound connections. The reports do not explain how publishing access was obtained.

### Source excerpt

Two releases of Microsoft's official agent-framework package on the Python Package Index (PyPI) carried code that steals cloud and CI/CD credentials from developers' systems. Agent Framework is Microsoft's open-source toolkit for building AI agents and running them in workflows. Three supply chain security companies, StepSecurity, OX Security and Socket, caught the malicious versions and shared their analysis. "On November 17, 2026, versions 1.26.1 and 1.26.2 of the official Microsoft agent-framework package on PyPI were published ... More -> The post Credential stealer slipped into Microsoft's official Python agent framework appeared first on Help Net Security.

## The Python Software Foundation's end-of-year fundraiser

DevFeed: [The Python Software Foundation's end-of-year fundraiser](<https://devfeed.tech/articles/the-python-software-foundation-s-end-of-year-fundraiser-141270.md>)

Original publisher: [Read original article](<https://blog.adafruit.com/2026/11/18/the-python-software-foundations-end-of-year-fundraiser/>)

Author: Anne Barela

Published: 2026-11-18T22:47:18Z

Content type: news

Language: en

Sources: [Adafruit Industries](<https://devfeed.tech/sources/adafruit-industries-makers-hackers-artists-designers-and-engineers.md>)

Topics: [Python](<https://devfeed.tech/topics/python.md>), [PyPI](<https://devfeed.tech/topics/pypi.md>), [code security](<https://devfeed.tech/topics/code-security.md>), [open source maintenance](<https://devfeed.tech/topics/open-source-maintenance.md>)

Tags: [board](<https://devfeed.tech/tags/board.md>), [community](<https://devfeed.tech/tags/community.md>), [computers](<https://devfeed.tech/tags/computers.md>), [developers](<https://devfeed.tech/tags/developers.md>), [development](<https://devfeed.tech/tags/development.md>), [foundation](<https://devfeed.tech/tags/foundation.md>), [intellectual-property](<https://devfeed.tech/tags/intellectual-property.md>), [programming](<https://devfeed.tech/tags/programming.md>), [pycon](<https://devfeed.tech/tags/pycon.md>), [pypi](<https://devfeed.tech/tags/pypi.md>), [python](<https://devfeed.tech/tags/python.md>), [python-software-foundation](<https://devfeed.tech/tags/python-software-foundation.md>), [security](<https://devfeed.tech/tags/security.md>)

### AI overview

Simon Willison, a Python Software Foundation board director, urges companies and people who benefit from Python to support the PSF's end-of-year fundraiser. The nonprofit manages Python's intellectual property and PyPI, sponsors core developer sprints and community events such as PyCon US, and employs staff to support this work. Its Developers in Residence program funds direct Python development; it now includes three security developers, with Brett Smith the latest hire, focused on Python, PyPI and the wider ecosystem.

### Source excerpt

Simon Willison, writing on his weblog, has announced the Python Software Foundation end-of-year fundraiser. He's a board director of the PSF, the non-profit that supports Python development and the Python community, and he's asking companies and people whose work benefits from Python to donate. The PSF looks after the intellectual property behind Python and operates [...]

## Microsoft's Agent Framework PyPI package compromised to steal credentials

DevFeed: [Microsoft's Agent Framework PyPI package compromised to steal credentials](<https://devfeed.tech/articles/microsoft-s-agent-framework-pypi-package-compromised-to-steal-credentials-140982.md>)

Original publisher: [Read original article](<https://www.bleepingcomputer.com/news/security/microsofts-agent-framework-pypi-package-compromised-to-steal-credentials/>)

Author: Bill Toulas

Published: 2026-11-18T16:58:42Z

Content type: news

Language: en

Sources: [BleepingComputer](<https://devfeed.tech/sources/bleepingcomputer.md>)

Topics: [Microsoft Agent Framework](<https://devfeed.tech/topics/microsoft-agent-framework.md>), [PyPI](<https://devfeed.tech/topics/pypi.md>), [credential-based attacks](<https://devfeed.tech/topics/credential-based-attacks.md>)

Tags: [agent-framework](<https://devfeed.tech/tags/agent-framework.md>), [artificial-intelligence](<https://devfeed.tech/tags/artificial-intelligence.md>), [computer-help](<https://devfeed.tech/tags/computer-help.md>), [computer-security](<https://devfeed.tech/tags/computer-security.md>), [computers](<https://devfeed.tech/tags/computers.md>), [credentials](<https://devfeed.tech/tags/credentials.md>), [info-stealer](<https://devfeed.tech/tags/info-stealer.md>), [infosec](<https://devfeed.tech/tags/infosec.md>), [infosec-computer-security](<https://devfeed.tech/tags/infosec-computer-security.md>), [linux](<https://devfeed.tech/tags/linux.md>), [mac](<https://devfeed.tech/tags/mac.md>), [malicious](<https://devfeed.tech/tags/malicious.md>), [malware](<https://devfeed.tech/tags/malware.md>), [malware-removal](<https://devfeed.tech/tags/malware-removal.md>), [microsoft](<https://devfeed.tech/tags/microsoft.md>), [pypi](<https://devfeed.tech/tags/pypi.md>), [python](<https://devfeed.tech/tags/python.md>), [security](<https://devfeed.tech/tags/security.md>), [spyware](<https://devfeed.tech/tags/spyware.md>), [supply-chain-attack](<https://devfeed.tech/tags/supply-chain-attack.md>), [support](<https://devfeed.tech/tags/support.md>), [tech-support](<https://devfeed.tech/tags/tech-support.md>), [technical-support](<https://devfeed.tech/tags/technical-support.md>), [virus](<https://devfeed.tech/tags/virus.md>), [virus-removal](<https://devfeed.tech/tags/virus-removal.md>), [windows](<https://devfeed.tech/tags/windows.md>)

### AI overview

Two compromised Microsoft Agent Framework releases on PyPI, versions 1.26.1 and 1.26.2, ran credential-stealing code automatically at Python startup--even when the package was not imported--while preserving normal framework behavior through the legitimate `agent-framework-core` dependency. The malware sought secrets from environment variables, configuration files, and accessible processes, targeting cloud and developer services; the second release added GitHub Actions OIDC token requests and runner-directory searches. Both sent collected data to the same attacker-controlled webhook. PyPI quarantined each release, but the attacker republished about 2.5 minutes after the first quarantine, and the route used to gain publishing access remains unclear. Developers who installed either version should isolate affected environments, avoid running Python or pip until secured, rebuild using known-clean version 1.26.0, and rotate potentially exposed credentials. Investigators can check egress logs for the webhook path and distinguish blocked requests from completed transfers.

### Source excerpt

Hackers compromised Microsoft's official Agent Framework Python package on PyPI, publishing two malicious versions designed to steal cloud credentials and other sensitive information from developers' systems. [...]

## The PSF end-of-year fundraiser

DevFeed: [The PSF end-of-year fundraiser](<https://devfeed.tech/articles/the-psf-end-of-year-fundraiser-140867.md>)

Original publisher: [Read original article](<https://simonwillison.net/2026/Nov/18/psf-end-of-year-fundraiser/>)

Author: Simon Willison

Published: 2026-11-18T14:44:48Z

Content type: news

Language: en

Sources: [Simon Willison's Weblog](<https://devfeed.tech/sources/simon-willison-s-weblog.md>)

Topics: [PyPI](<https://devfeed.tech/topics/pypi.md>), [code security](<https://devfeed.tech/topics/code-security.md>), [Developer Events](<https://devfeed.tech/topics/developer-events.md>)

Tags: [community](<https://devfeed.tech/tags/community.md>), [community-events](<https://devfeed.tech/tags/community-events.md>), [developer](<https://devfeed.tech/tags/developer.md>), [ecosystem](<https://devfeed.tech/tags/ecosystem.md>), [ip](<https://devfeed.tech/tags/ip.md>), [program](<https://devfeed.tech/tags/program.md>), [psf](<https://devfeed.tech/tags/psf.md>), [psf-22](<https://devfeed.tech/tags/psf-22.md>), [pycon](<https://devfeed.tech/tags/pycon.md>), [pypi](<https://devfeed.tech/tags/pypi.md>), [python](<https://devfeed.tech/tags/python.md>), [python-1-295](<https://devfeed.tech/tags/python-1-295.md>), [python-software-foundation](<https://devfeed.tech/tags/python-software-foundation.md>), [security](<https://devfeed.tech/tags/security.md>), [sponsors](<https://devfeed.tech/tags/sponsors.md>), [sprints](<https://devfeed.tech/tags/sprints.md>), [staff](<https://devfeed.tech/tags/staff.md>), [team](<https://devfeed.tech/tags/team.md>)

### AI overview

The PSF has launched its end-of-year fundraiser to support Python development and its community. The supplied text says the foundation manages Python's intellectual property, operates PyPI, sponsors core developer sprints, supports community events including PyCon US, and employs staff to keep these efforts running. Its Developers in Residence program includes three security developers focused on Python, PyPI, and the wider ecosystem. The author encourages companies and people whose work benefits from Python to consider donating.

### Source excerpt

The PSF end-of-year fundraiser With my Python Software Foundation board director hat on: we've launched our end-of-year fundraiser for the non-profit that supports Python development and the Python community. If your company or your work benefits from Python, please consider donating this year! The PSF looks after the IP behind Python, operates PyPI, sponsors core developer sprints, supports community events (including running PyCon US every year), and employs a small and excellent staff team to keep everything running. We also operate the Developers in Residence program, which now includes three security developers (welcome, Brett Smith) focused on helping secure Python, PyPI, and the wider ecosystem. Tags: python, psf

## We caught the agent-framework PyPI compromise six minutes after it published

DevFeed: [We caught the agent-framework PyPI compromise six minutes after it published](<https://devfeed.tech/articles/we-caught-the-agent-framework-pypi-compromise-six-minutes-after-it-published-141250.md>)

Original publisher: [Read original article](<https://www.elastic.co/security-labs/threat-command/we-caught-the-agent-framework-pypi-compromise-six-minutes-after-it-published>)

Author: Elastic Security Labs

Published: 2026-11-18T00:00:00Z

Content type: news

Language: en

Sources: [Elastic Security Labs](<https://devfeed.tech/sources/elastic-security-labs.md>)

Topics: [Microsoft Agent Framework](<https://devfeed.tech/topics/microsoft-agent-framework.md>), [PyPI](<https://devfeed.tech/topics/pypi.md>), [ai security](<https://devfeed.tech/topics/ai-security.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [DevSecOps](<https://devfeed.tech/topics/devsecops.md>)

Tags: [access-tokens](<https://devfeed.tech/tags/access-tokens.md>), [agent-framework](<https://devfeed.tech/tags/agent-framework.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [attack](<https://devfeed.tech/tags/attack.md>), [azure](<https://devfeed.tech/tags/azure.md>), [azure-ai](<https://devfeed.tech/tags/azure-ai.md>), [azure-ai-foundry](<https://devfeed.tech/tags/azure-ai-foundry.md>), [azure-devops](<https://devfeed.tech/tags/azure-devops.md>), [azure-pipelines](<https://devfeed.tech/tags/azure-pipelines.md>), [base64](<https://devfeed.tech/tags/base64.md>), [cli](<https://devfeed.tech/tags/cli.md>), [compromise](<https://devfeed.tech/tags/compromise.md>), [github](<https://devfeed.tech/tags/github.md>), [github-actions](<https://devfeed.tech/tags/github-actions.md>), [malware-analysis](<https://devfeed.tech/tags/malware-analysis.md>), [pypi](<https://devfeed.tech/tags/pypi.md>), [pypi-compromise](<https://devfeed.tech/tags/pypi-compromise.md>), [python](<https://devfeed.tech/tags/python.md>), [secret](<https://devfeed.tech/tags/secret.md>), [threat-intelligence](<https://devfeed.tech/tags/threat-intelligence.md>), [tokens](<https://devfeed.tech/tags/tokens.md>)

### AI overview

Compromised agent-framework releases 1.26.1 and 1.26.2 used Python .pth startup hooks to run a credential stealer on every interpreter launch, without requiring the package to be imported. The malware gathered matching environment variables from the host and up to 300 processes, searched common credential files, and sought Azure DevOps, Azure managed identity, and--added in 1.26.2--GitHub Actions tokens. It bundled collected data and sent it to one webhook.site endpoint. The Azure DevOps OIDC requests omitted the documented serviceConnectionId, so the research says whether they yielded usable federated tokens is unclear; any resulting access would depend on the identity's assigned permissions. PyPI removed both versions. The excerpt advises checking site-packages for the listed hook files, pinning 1.26.0, treating readable host secrets as compromised, rotating long-lived credentials, reviewing short-lived token activity, and searching network logs for the endpoint and stated user agents.

### Source excerpt

Versions 1.26.1 and 1.26.2 stole Azure, Azure DevOps and GitHub Actions tokens from a .pth hook that ran on every Python launch, so if either one touched a build agent or a laptop, assume every secret on that host is gone.

## Clearer Security Signals: Making Attestations Comprehensible for PyPI Users

DevFeed: [Clearer Security Signals: Making Attestations Comprehensible for PyPI Users](<https://devfeed.tech/articles/clearer-security-signals-making-attestations-comprehensible-for-pypi-users-139661.md>)

Original publisher: [Read original article](<https://openssf.org/blog/2026/11/17/clearer-security-signals-making-attestations-comprehensible-for-pypi-users/>)

Author: OpenSSF

Published: 2026-11-17T19:12:02Z

Content type: release

Language: en

Sources: [Open Source Security Foundation](<https://devfeed.tech/sources/open-source-security-foundation.md>)

Topics: [supply-chain-security](<https://devfeed.tech/topics/supply-chain-security.md>), [PyPI](<https://devfeed.tech/topics/pypi.md>), [openssf](<https://devfeed.tech/topics/openssf.md>)

Tags: [attestations](<https://devfeed.tech/tags/attestations.md>), [blog](<https://devfeed.tech/tags/blog.md>), [guest-blog](<https://devfeed.tech/tags/guest-blog.md>), [guide](<https://devfeed.tech/tags/guide.md>), [openssf](<https://devfeed.tech/tags/openssf.md>), [provenance](<https://devfeed.tech/tags/provenance.md>), [pypi](<https://devfeed.tech/tags/pypi.md>), [security](<https://devfeed.tech/tags/security.md>), [software](<https://devfeed.tech/tags/software.md>), [software-supply-chain-security](<https://devfeed.tech/tags/software-supply-chain-security.md>), [style-guide](<https://devfeed.tech/tags/style-guide.md>), [supply-chain-security](<https://devfeed.tech/tags/supply-chain-security.md>), [tab](<https://devfeed.tech/tags/tab.md>), [understand](<https://devfeed.tech/tags/understand.md>), [users](<https://devfeed.tech/tags/users.md>)

### AI overview

PyPI's new security tab presents release provenance by file and distinguishes PyPI Publish attestations, which describe publishing, from SLSA Build Provenance attestations, which describe how files were built. Each type links to its predicate so users can inspect the underlying claims. Release statuses identify no, full, incomplete, or inconsistent provenance, as well as changes in provenance or loss of attestations compared with releases in the prior 14 days. PyPI documentation explains possible benign and malicious reasons for warnings and how to investigate them. Statuses also appear in project metadata, release files, and release history; page-top warnings give way to quarantine notices. The design follows an OpenSSF style guide informed by research that users need context and clear terminology, and that attestations are only one of several signals used to assess package trust.

### Source excerpt

To help developers and package consumers better understand software supply-chain security, the OpenSSF Securing Software Repositories Working Group created an Attestations Style Guide--and its recommendations are now live on PyPI with redesigned project pages and a dedicated security tab.

## Two malicious agent-framework releases hit PyPI in 33 minutes

DevFeed: [Two malicious agent-framework releases hit PyPI in 33 minutes](<https://devfeed.tech/articles/two-malicious-agent-framework-releases-hit-pypi-in-33-minutes-140871.md>)

Original publisher: [Read original article](<https://www.aikido.dev/blog/two-malicious-agent-framework-releases-hit-pypi-in-33-minutes>)

Author: Hunter Schwartz

Published: 2026-11-17T12:00:00Z

Content type: news

Language: en

Sources: [Aikido Security's Blog](<https://devfeed.tech/sources/aikido-security-s-blog.md>)

Topics: [malicious packages](<https://devfeed.tech/topics/malicious-packages.md>), [PyPI](<https://devfeed.tech/topics/pypi.md>), [Microsoft Agent Framework](<https://devfeed.tech/topics/microsoft-agent-framework.md>), [Security Attacks](<https://devfeed.tech/topics/security-attacks.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>)

Tags: [agent-framework](<https://devfeed.tech/tags/agent-framework.md>), [ai](<https://devfeed.tech/tags/ai.md>), [azure](<https://devfeed.tech/tags/azure.md>), [azure-devops](<https://devfeed.tech/tags/azure-devops.md>), [github](<https://devfeed.tech/tags/github.md>), [github-actions](<https://devfeed.tech/tags/github-actions.md>), [malicious](<https://devfeed.tech/tags/malicious.md>), [pypi](<https://devfeed.tech/tags/pypi.md>), [python](<https://devfeed.tech/tags/python.md>), [releases](<https://devfeed.tech/tags/releases.md>), [secrets](<https://devfeed.tech/tags/secrets.md>), [stealer](<https://devfeed.tech/tags/stealer.md>), [threats](<https://devfeed.tech/tags/threats.md>), [vulnerabilities](<https://devfeed.tech/tags/vulnerabilities.md>), [vulnerabilities-threats](<https://devfeed.tech/tags/vulnerabilities-threats.md>)

### AI overview

Two malicious Microsoft Agent Framework PyPI releases, 1.26.1 and 1.26.2, published 33 minutes apart on Nov. 17, 2026, added `.pth` startup hooks that ran a credential stealer whenever Python started. It collected environment variables, credential files, Azure managed identity tokens and CI secrets, then sent data to a webhook.site endpoint. Version 1.26.1 targeted Azure DevOps and Azure-hosted workloads; 1.26.2 moved the payload and added GitHub Actions OIDC token theft, including workflows with `id-token: write`. Both releases were removed from PyPI. The text advises checking for the affected versions and hook files, pinning `agent-framework==1.26.0`, rebuilding affected environments, rotating every secret reachable by affected machines, reviewing Entra ID sign-in logs, and searching proxy and DNS logs for the endpoint.

### Source excerpt

Two malicious agent-framework releases on PyPI ran a credential stealer on every Python start, targeting Azure, Azure DevOps, and GitHub Actions secrets. Category: Vulnerabilities & Threats

## Microsoft agent-framework compromised on PyPI: 1.26.1 and 1.26.2 ship a credential stealer that runs on every Python start (November 2026)

DevFeed: [Microsoft agent-framework compromised on PyPI: 1.26.1 and 1.26.2 ship a credential stealer that runs on every Python start (November 2026)](<https://devfeed.tech/articles/microsoft-agent-framework-compromised-on-pypi-1-26-1-and-1-26-2-ship-a-credential-stealer-that-runs-on-every-python-start-november-2026-140597.md>)

Original publisher: [Read original article](<https://www.chainguard.dev/unchained/microsoft-agent-framework-compromised-on-pypi-november-2026>)

Published: 2026-11-17T00:00:00Z

Content type: news

Language: en

Sources: [Chainguard: Unchained](<https://devfeed.tech/sources/chainguard-unchained.md>)

Topics: [Microsoft Agent Framework](<https://devfeed.tech/topics/microsoft-agent-framework.md>), [PyPI](<https://devfeed.tech/topics/pypi.md>), [Python](<https://devfeed.tech/topics/python.md>), [personal access token](<https://devfeed.tech/topics/personal-access-token.md>), [Azure](<https://devfeed.tech/topics/azure.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [actions](<https://devfeed.tech/tags/actions.md>), [agent-framework](<https://devfeed.tech/tags/agent-framework.md>), [agent-runtime](<https://devfeed.tech/tags/agent-runtime.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [ai-api-keys](<https://devfeed.tech/tags/ai-api-keys.md>), [ai-developers](<https://devfeed.tech/tags/ai-developers.md>), [ai-ml](<https://devfeed.tech/tags/ai-ml.md>), [ai-security](<https://devfeed.tech/tags/ai-security.md>), [attack](<https://devfeed.tech/tags/attack.md>), [chainguard](<https://devfeed.tech/tags/chainguard.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [credential-stealer](<https://devfeed.tech/tags/credential-stealer.md>), [credentials](<https://devfeed.tech/tags/credentials.md>), [malicious](<https://devfeed.tech/tags/malicious.md>), [microsoft](<https://devfeed.tech/tags/microsoft.md>), [microsoft-agent-framework](<https://devfeed.tech/tags/microsoft-agent-framework.md>), [pypi](<https://devfeed.tech/tags/pypi.md>), [python](<https://devfeed.tech/tags/python.md>)

### AI overview

Two PyPI releases of Microsoft's agent-framework, versions 1.26.1 and 1.26.2, contained a credential stealer attributed to a publisher account compromise; the GitHub source was not reported modified. Each release installed a .pth startup hook, causing the payload to run whenever Python starts in that environment, even if the package is never imported. It collected matching environment variables, local credential files and other processes' environment data, and requested GitHub Actions and Azure DevOps OIDC tokens plus Azure managed identity tokens before sending collected data to a webhook.site endpoint. The article advises searching manifests, caches, build logs and hosts with shell tools without starting Python in a suspected environment. If affected, isolate the host, remove payload files before running Python, rotate exposed credentials, revoke runtime identity sessions, review cloud activity and rebuild from a known-good dependency set. Chainguard says it blocked both versions within 48 seconds of publication and did not serve them to customers.

### Source excerpt

Two malicious versions of Microsoft's agent-framework targeted cloud credentials and AI API keys. Learn how Chainguard detected and blocked the attack.

## The Import Tax: A Longitudinal Measurement of Startup Cost in the Python Ecosystem

DevFeed: [The Import Tax: A Longitudinal Measurement of Startup Cost in the Python Ecosystem](<https://devfeed.tech/articles/the-import-tax-a-longitudinal-measurement-of-startup-cost-in-the-python-ecosystem-131675.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2609.02753>)

Author: Trinath Sai Subhash Reddy Pittala

Published: 2026-11-13T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Software Engineering](<https://devfeed.tech/sources/arxiv-software-engineering.md>)

Topics: [import](<https://devfeed.tech/topics/import.md>), [Python](<https://devfeed.tech/topics/python.md>), [PyPI](<https://devfeed.tech/topics/pypi.md>)

Tags: [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [bytecode](<https://devfeed.tech/tags/bytecode.md>), [cold-start](<https://devfeed.tech/tags/cold-start.md>), [command-line](<https://devfeed.tech/tags/command-line.md>), [cost](<https://devfeed.tech/tags/cost.md>), [cpython](<https://devfeed.tech/tags/cpython.md>), [cs-se](<https://devfeed.tech/tags/cs-se.md>), [dataset](<https://devfeed.tech/tags/dataset.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [ecosystem](<https://devfeed.tech/tags/ecosystem.md>), [experiments](<https://devfeed.tech/tags/experiments.md>), [fail](<https://devfeed.tech/tags/fail.md>), [faster](<https://devfeed.tech/tags/faster.md>), [global](<https://devfeed.tech/tags/global.md>), [harness](<https://devfeed.tech/tags/harness.md>), [import](<https://devfeed.tech/tags/import.md>), [libraries](<https://devfeed.tech/tags/libraries.md>), [measurement](<https://devfeed.tech/tags/measurement.md>), [python](<https://devfeed.tech/tags/python.md>), [startup](<https://devfeed.tech/tags/startup.md>), [tax](<https://devfeed.tech/tags/tax.md>)

### AI overview

Across 500 popular PyPI packages, import cost is highly skewed: the median is 12.3 ms, while the 99th percentile is 400 ms. For packages taking over 2 ms to import, the standard library accounts for a median 68% of the time, rising to 79% on network storage. Bytecode precompilation removes nearly all Linux cold-start cost and 92% for the median macOS package, but only a third of the total macOS penalty because native libraries trigger repeated security assessments in fresh environments. Package import code grew by a median 4-5% annually. CPython 3.14 executes package code faster than 3.9, but slower, more numerous standard-library imports yield a net slowdown. CPython 3.15 global lazy mode reduces dependent imports to 0.41x their cost on macOS (0.39x on Linux), but 38 of 461 tested packages fail, often only when a name is first used. Measurements cover quarterly releases since mid-2021, six Python versions through 3.14, and two platforms; results are not a full account of every Python package or environment.

### Source excerpt

arXiv:2609.02753v3 Announce Type: replace Abstract: Python programs pay for their imports at every process start, a cost that is invisible in steady-state benchmarks but dominant for command-line tools, test workers, and serverless cold starts. Python 3.15 adds explicit lazy imports (PEP 810) on largely anecdotal evidence. We measure the import cost of the 500 most-downloaded PyPI packages, every quarterly release since mid-2021, under six CPython versions (3.9-3.14) on two platforms (Apple M5/macOS and Intel Xeon/Linux), 66,816 cells in all, with targeted experiments that isolate individual effects. Values are for macOS (Linux in parentheses). Import cost is heavily skewed (median 12.3 ms, 99th percentile 400 ms). Among packages that import in more than 2 ms, namespace distributions excluded, the median package spends 68% of its import time in the standard library (68% on Linux with the interpreter on local storage, 79% on network storage). Precompiling bytecode removes almost all of the cold-start penalty on Linux and 92% of it for the median package on macOS, but only a third of the summed macOS penalty: packages with native libraries pay a security assessment of each library that the system has not seen before, again in every fresh environment. A package's own import code grows by a median 4.0% (5.0%) per year; installing each release with the dependencies of its time changes its trend by a median of only 0.15 (0.35) percentage points (CPython 3.9). CPython 3.14 runs package code faster than 3.9 but imports more and slower standard-library modules, a net 1.16x (1.07x) slowdown. Submodules that dependents import beyond the top level add nothing for the median package and at most 11.7 (49.5) ms for nine packages in ten. On CPython 3.15, global lazy mode cuts the imports that dependents perform to 0.41x (0.39x) of their cost, and 38 of 461 packages fail under it, many only on first use of a name. Harness, code, and dataset are public.

## The Range Shrinks, the Threat Remains: Re-evaluating LLM Package Hallucinations on the 2026 Frontier-Model Cohort

DevFeed: [The Range Shrinks, the Threat Remains: Re-evaluating LLM Package Hallucinations on the 2026 Frontier-Model Cohort](<https://devfeed.tech/articles/the-range-shrinks-the-threat-remains-re-evaluating-llm-package-hallucinations-on-the-2026-frontier-model-cohort-126883.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2605.17062>)

Author: Aleksandr Churilov (Independent Researcher)

Published: 2026-11-10T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>), [arXiv: Software Engineering](<https://devfeed.tech/sources/arxiv-software-engineering.md>)

Topics: [LLM security](<https://devfeed.tech/topics/llm-security.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [PyPI](<https://devfeed.tech/topics/pypi.md>), [Hallucination detection](<https://devfeed.tech/topics/hallucination-detection.md>), [npm packages](<https://devfeed.tech/topics/npm-packages.md>), [Frontier Model](<https://devfeed.tech/topics/frontier-model.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [cs-se](<https://devfeed.tech/tags/cs-se.md>), [frontier](<https://devfeed.tech/tags/frontier.md>), [frontier-model](<https://devfeed.tech/tags/frontier-model.md>), [hallucinations](<https://devfeed.tech/tags/hallucinations.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [llm](<https://devfeed.tech/tags/llm.md>), [malware](<https://devfeed.tech/tags/malware.md>), [model](<https://devfeed.tech/tags/model.md>), [npm](<https://devfeed.tech/tags/npm.md>), [package](<https://devfeed.tech/tags/package.md>), [pypi](<https://devfeed.tech/tags/pypi.md>), [python](<https://devfeed.tech/tags/python.md>), [registries](<https://devfeed.tech/tags/registries.md>), [slopsquatting](<https://devfeed.tech/tags/slopsquatting.md>)

### AI overview

Across five 2026 frontier models and 199,840 Python and JavaScript generations, nonexistent package names appeared in 3.6-5.0% of package mentions (2.2-3.4% of generations), roughly matching 2024 commercial models; Python rates exceeded JavaScript rates for every model. A preregistered recheck against live PyPI and npm registries found 104 names hallucinated by all five models, down from 127 previously reported; 26 earlier entries were valid imports whose module and package names differ. Accidental six-month exposure of the researchers' list showed no detectable increase in registration: about 1% of hallucinated names were registered, at similar rates for exposed and unexposed names, with the 95% interval ruling out increases above 2.5 percentage points. The risk remains: at least 23 suggested package names had previously hosted malware, and one hallucinated name was registered with malware after the study runs.

### Source excerpt

arXiv:2605.17062v4 Announce Type: replace Abstract: Package hallucinations, LLM-generated references to packages that do not exist, enable slopsquatting: an attacker registers the hallucinated name. We replicate Spracklen et al. (USENIX Security '25) on five 2026 frontier models over 199,840 Python and JavaScript generations. This version reports a preregistered live revalidation that replaces the static package lists of earlier versions with two independent checks against the live PyPI and npm registries. Hallucination rates are 3.6-5.0% of package mentions (2.2-3.4% of generations): the 2026 frontier sits at the level of 2024's commercial models, and the open-weight gap seen in 2024 has disappeared. Python exceeds JavaScript for every model. The set of names hallucinated by all five models shrinks from the 127 reported earlier to 104; 26 earlier entries were correct import statements whose module name differs from the package name. Using the accidental six-month public exposure of our own list as a natural experiment, we find no detectable effect of publication: about 1% of hallucinated names were registered within six months, at the same rate for published and unpublished names, and the 95% interval excludes increases above 2.5 percentage points. Still, at least 23 package names that the models suggest had previously hosted malware later removed by the registries, and one hallucinated name was registered with malware after our runs.

## PyPI makes release attestations easier to find with new security tab

DevFeed: [PyPI makes release attestations easier to find with new security tab](<https://devfeed.tech/articles/pypi-makes-release-attestations-easier-to-find-with-new-security-tab-123508.md>)

Original publisher: [Read original article](<https://www.helpnetsecurity.com/2026/11/09/pypi-security-tab-release-attestations/>)

Author: Anamarija Pogorelec

Published: 2026-11-09T13:23:29Z

Content type: news

Language: en

Sources: [Help Net Security](<https://devfeed.tech/sources/help-net-security.md>)

Topics: [PyPI](<https://devfeed.tech/topics/pypi.md>), [Security](<https://devfeed.tech/topics/security.md>), [code security](<https://devfeed.tech/topics/code-security.md>)

Tags: [about](<https://devfeed.tech/tags/about.md>), [added](<https://devfeed.tech/tags/added.md>), [attestation](<https://devfeed.tech/tags/attestation.md>), [cybersecurity](<https://devfeed.tech/tags/cybersecurity.md>), [developers](<https://devfeed.tech/tags/developers.md>), [digital](<https://devfeed.tech/tags/digital.md>), [easier](<https://devfeed.tech/tags/easier.md>), [file](<https://devfeed.tech/tags/file.md>), [files](<https://devfeed.tech/tags/files.md>), [full](<https://devfeed.tech/tags/full.md>), [giving](<https://devfeed.tech/tags/giving.md>), [index](<https://devfeed.tech/tags/index.md>), [information](<https://devfeed.tech/tags/information.md>), [more](<https://devfeed.tech/tags/more.md>), [news](<https://devfeed.tech/tags/news.md>), [one](<https://devfeed.tech/tags/one.md>), [package](<https://devfeed.tech/tags/package.md>), [pages](<https://devfeed.tech/tags/pages.md>), [pypi](<https://devfeed.tech/tags/pypi.md>), [release](<https://devfeed.tech/tags/release.md>), [security](<https://devfeed.tech/tags/security.md>), [software-development](<https://devfeed.tech/tags/software-development.md>), [with](<https://devfeed.tech/tags/with.md>)

### AI overview

PyPI's new Security tab shows whether each release file has a digital attestation and lets users inspect its details or linked transparency log. PyPI Publish attestations identify the Trusted Publisher; SLSA Build Provenance links files to a source commit, build platform and instructions. Full provenance means every file has at least one attestation. Missing attestations mean origin cannot be cryptographically verified, but do not by themselves show a release is malicious; the source suggests checking maintainer history, release patterns and repository activity. PyPI warns about partial attestations, changes in repository or workflow, and projects that stop attesting. The redesigned page surfaces warnings and release status, while Release Files and Release History expose per-file provenance and version comparisons. For releases predating the July 2026 policy change, files uploaded more than 14 days after the initial release are flagged; PyPI refuses late uploads under the policy.

### Source excerpt

The Python Package Index (PyPI) has added a security tab to its project pages, giving developers a place to check where individual release files came from. How PyPI shows where release files came from The Security tab shows whether release files have digital attestations, which provide verifiable information about how a file was published or built. A release has full provenance when every file has at least one attestation. A PyPI Publish attestation identifies the ... More -> The post PyPI makes release attestations easier to find with new security tab appeared first on Help Net Security.

## Python's CVEs Triple. Anthropic Funds a New Security Developer

DevFeed: [Python's CVEs Triple. Anthropic Funds a New Security Developer](<https://devfeed.tech/articles/python-s-cves-triple-anthropic-funds-a-new-security-developer-122557.md>)

Original publisher: [Read original article](<https://developers.slashdot.org/story/26/11/08/0558256/pythons-cves-triple-anthropic-funds-a-new-security-developer>)

Author: EditorDavid

Published: 2026-11-08T15:34:00Z

Content type: news

Language: en

Sources: [Slashdot](<https://devfeed.tech/sources/slashdot.md>)

Topics: [psrt](<https://devfeed.tech/topics/psrt.md>), [Security](<https://devfeed.tech/topics/security.md>), [pip](<https://devfeed.tech/topics/pip.md>), [PyPI](<https://devfeed.tech/topics/pypi.md>), [Python](<https://devfeed.tech/topics/python.md>), [open source maintenance](<https://devfeed.tech/topics/open-source-maintenance.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [anthropic](<https://devfeed.tech/tags/anthropic.md>), [autonomous](<https://devfeed.tech/tags/autonomous.md>), [bandwidth](<https://devfeed.tech/tags/bandwidth.md>), [capacity](<https://devfeed.tech/tags/capacity.md>), [complex](<https://devfeed.tech/tags/complex.md>), [critical](<https://devfeed.tech/tags/critical.md>), [curl](<https://devfeed.tech/tags/curl.md>), [cve](<https://devfeed.tech/tags/cve.md>), [cve-numbering-authority](<https://devfeed.tech/tags/cve-numbering-authority.md>), [cves](<https://devfeed.tech/tags/cves.md>), [data](<https://devfeed.tech/tags/data.md>), [ecosystem](<https://devfeed.tech/tags/ecosystem.md>), [ecosystem-security](<https://devfeed.tech/tags/ecosystem-security.md>), [effort](<https://devfeed.tech/tags/effort.md>), [engineer](<https://devfeed.tech/tags/engineer.md>), [funds](<https://devfeed.tech/tags/funds.md>), [future](<https://devfeed.tech/tags/future.md>), [python](<https://devfeed.tech/tags/python.md>), [security](<https://devfeed.tech/tags/security.md>)

### AI overview

Seth Larson reports that Python and pip CVEs tripled over the past year, while malware published and removed from PyPI rose 60%. The Python Software Foundation hired Brett Smith as a Security Developer with support from an Anthropic ecosystem security grant. Smith will help with vulnerability remediation, CVE Numbering Authority work, and PyPI malware removal, while enabling plans to scale PyPI's autonomous quarantine program and streamline the Python Security Response Team's handling of a higher volume of vulnerability reports. The excerpt frames the hire as adding capacity for existing security work and enabling new proactive efforts.

### Source excerpt

In the last year CVEs have increased 3x for Python and its package manager Pip, according to Python's security developer in residence Seth Larson. "And the amount of malware published and removed from the Python Package Index (PyPI) is up 60%." Securing Python's ecosystem is getting more complex, he writes, especially given "the evolving role of AI in both security risks and security response." Their response includes bringing on a new Security Developer "to address the increasingly demanding scale of security response for the Python ecosystem." Providing prompt security response services and innovating to prevent future threats... is more difficult now than ever before... [Security developer Brett Smith] will help us keep pace with critical ongoing work such as vulnerability remediation, providing vulnerability data as a CVE Numbering Authority, and removing malware from PyPI. He'll also give the team bandwidth for new projects such as scaling PyPI's autonomous quarantine program to reduce manual effort on malware remediation and streamlining processes for the PSRT to handle the new vulnerability report volume. The role was made possible by an "ecosystem security" grant from Anthropic. And having the new security developer "will both build capacity for security work the PSF already does and enable new, proactive work," concludes Python's security developer in residence. (He discussed Python's security challenges in a June presentation with Python security engineer Mike Fiedler> .) In June, Curl's Daniel Strenberg reported Curl's CVEs have also tripled. Read more of this story at Slashdot.

## Using Python's pip to Manage Your Projects' Dependencies

DevFeed: [Using Python's pip to Manage Your Projects' Dependencies](<https://devfeed.tech/articles/using-python-s-pip-to-manage-your-projects-dependencies-122570.md>)

Original publisher: [Read original article](<https://realpython.com/what-is-pip/>)

Author: Philipp Acsany

Published: 2026-11-08T14:00:00Z

Content type: tutorial

Language: en

Sources: [Real Python](<https://devfeed.tech/sources/real-python.md>)

Topics: [pip](<https://devfeed.tech/topics/pip.md>), [PyPI](<https://devfeed.tech/topics/pypi.md>), [Python](<https://devfeed.tech/topics/python.md>), [Learning](<https://devfeed.tech/topics/learning.md>)

Tags: [dependencies](<https://devfeed.tech/tags/dependencies.md>), [install](<https://devfeed.tech/tags/install.md>), [library](<https://devfeed.tech/tags/library.md>), [manage](<https://devfeed.tech/tags/manage.md>), [manager](<https://devfeed.tech/tags/manager.md>), [packages](<https://devfeed.tech/tags/packages.md>), [pip](<https://devfeed.tech/tags/pip.md>), [projects](<https://devfeed.tech/tags/projects.md>), [python](<https://devfeed.tech/tags/python.md>), [standard-library](<https://devfeed.tech/tags/standard-library.md>)

### AI overview

pip installs Python packages from PyPI or a configured index, resolves their dependencies, and can also install packages from Git repositories. Use `python -m pip` to run pip through a specific Python interpreter, and use `venv` to isolate a project's packages and Python version. `pip freeze` can record installed versions in a requirements file, while `pip install -r` recreates an environment; flexible version bounds allow updates, but exact pins help reproduce a release. Separate development requirements can include production requirements. Before uninstalling packages, check their dependencies to avoid breaking other software. If pip is missing, try `ensurepip` (which installs its bundled version without internet access) or `get-pip.py` (which installs the latest version); path or interpreter mismatches can also explain command errors.

### Source excerpt

What is pip? Learn how to use pip, Python's standard package manager, to install and manage packages that aren't part of the standard library.

## Thonny: The Beginner-Friendly Python Editor

DevFeed: [Thonny: The Beginner-Friendly Python Editor](<https://devfeed.tech/articles/thonny-the-beginner-friendly-python-editor-122120.md>)

Original publisher: [Read original article](<https://realpython.com/python-thonny/>)

Author: Krishelle Hardson-Hurley

Published: 2026-11-07T14:00:00Z

Content type: tutorial

Language: en

Sources: [Real Python](<https://devfeed.tech/sources/real-python.md>)

Topics: [Python](<https://devfeed.tech/topics/python.md>), [Tool](<https://devfeed.tech/topics/tool.md>), [Learning](<https://devfeed.tech/topics/learning.md>), [pip](<https://devfeed.tech/topics/pip.md>), [import](<https://devfeed.tech/topics/import.md>), [PyPI](<https://devfeed.tech/topics/pypi.md>), [Terminal](<https://devfeed.tech/topics/terminal.md>)

Tags: [apis](<https://devfeed.tech/tags/apis.md>), [beginner](<https://devfeed.tech/tags/beginner.md>), [beginners](<https://devfeed.tech/tags/beginners.md>), [bug](<https://devfeed.tech/tags/bug.md>), [bugs](<https://devfeed.tech/tags/bugs.md>), [built-in](<https://devfeed.tech/tags/built-in.md>), [calculator](<https://devfeed.tech/tags/calculator.md>), [class](<https://devfeed.tech/tags/class.md>), [code](<https://devfeed.tech/tags/code.md>), [debug](<https://devfeed.tech/tags/debug.md>), [debugger](<https://devfeed.tech/tags/debugger.md>), [editor](<https://devfeed.tech/tags/editor.md>), [free](<https://devfeed.tech/tags/free.md>), [friendly](<https://devfeed.tech/tags/friendly.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [ide](<https://devfeed.tech/tags/ide.md>), [learn](<https://devfeed.tech/tags/learn.md>), [python](<https://devfeed.tech/tags/python.md>), [run](<https://devfeed.tech/tags/run.md>), [write](<https://devfeed.tech/tags/write.md>)

### AI overview

Thonny is a free Python IDE designed for beginners, with an editor and Shell for writing and running code, plus tools that make execution easier to inspect. Its debugger steps through lines or expression components, showing evaluated values; the tutorial uses it to trace a faulty calculator expression and identify a string formatting bug. Other described features include variable inspection, syntax error highlighting, Assistant hints for errors, package management, variable name highlighting, and API code completion. The tutorial assumes Python 3 is installed and covers installing Thonny, saving and running programs, debugging them, and opening an existing project.

### Source excerpt

Learn how to use Thonny, the free Python IDE built for beginners, to write, run, and debug your code with its step-by-step debugger.

## Managing Python Projects With uv: An All-in-One Solution

DevFeed: [Managing Python Projects With uv: An All-in-One Solution](<https://devfeed.tech/articles/managing-python-projects-with-uv-an-all-in-one-solution-100535.md>)

Original publisher: [Read original article](<https://realpython.com/python-uv/>)

Author: Leodanis Pozo Ramos

Published: 2026-10-26T14:00:00Z

Content type: tutorial

Language: en

Sources: [Real Python](<https://devfeed.tech/sources/real-python.md>)

Topics: [Python](<https://devfeed.tech/topics/python.md>), [Tool](<https://devfeed.tech/topics/tool.md>), [PyPI](<https://devfeed.tech/topics/pypi.md>), [pip](<https://devfeed.tech/topics/pip.md>), [Git](<https://devfeed.tech/topics/git.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [api-key](<https://devfeed.tech/tags/api-key.md>), [application](<https://devfeed.tech/tags/application.md>), [astral](<https://devfeed.tech/tags/astral.md>), [async](<https://devfeed.tech/tags/async.md>), [black](<https://devfeed.tech/tags/black.md>), [build](<https://devfeed.tech/tags/build.md>), [build-system](<https://devfeed.tech/tags/build-system.md>), [cli](<https://devfeed.tech/tags/cli.md>), [collaboration](<https://devfeed.tech/tags/collaboration.md>), [command-line-interface](<https://devfeed.tech/tags/command-line-interface.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [package](<https://devfeed.tech/tags/package.md>), [projects](<https://devfeed.tech/tags/projects.md>), [python](<https://devfeed.tech/tags/python.md>), [rust](<https://devfeed.tech/tags/rust.md>), [uv](<https://devfeed.tech/tags/uv.md>)

### AI overview

uv is a Rust-based Python package and project manager that combines project setup, Python version and virtual environment management, dependency handling, and package builds and publishing. The tutorial shows creating a project with `uv init`, adding dependencies with `uv add` so `pyproject.toml` and `uv.lock` stay current, and using `uv run` to create or sync the environment before running code. It recommends committing the lockfile for reproducible environments and using uv's project commands rather than its pip-compatible interface when managing project dependencies. For distribution, it demonstrates configuring Setuptools, building with `uv build`, and publishing with `uv publish`. One TestPyPI example fails because the index lacks a compatible Requests version; the tutorial resolves it by installing Requests from PyPI first. It describes installation through the standalone installer or PyPI tools such as `pipx`, and notes that installing globally with `pip` can clutter the system.

### Source excerpt

Learn how to create and manage your Python projects using uv, an extremely fast Python package and project manager written in Rust.

## 8 Best LiteLLM Alternatives

DevFeed: [8 Best LiteLLM Alternatives](<https://devfeed.tech/articles/8-best-litellm-alternatives-100404.md>)

Original publisher: [Read original article](<https://www.lyzr.ai/blog/best-litellm-alternatives/>)

Author: Lyzr Team

Published: 2026-10-26T11:22:27Z

Content type: comparison

Language: en

Sources: [Lyzr.ai](<https://devfeed.tech/sources/lyzr-ai.md>)

Topics: [litellm](<https://devfeed.tech/topics/litellm.md>), [litellm supply chain attack](<https://devfeed.tech/topics/litellm-supply-chain-attack.md>), [litellm attack](<https://devfeed.tech/topics/litellm-attack.md>), [PyPI](<https://devfeed.tech/topics/pypi.md>), [pip](<https://devfeed.tech/topics/pip.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [MSP MCP](<https://devfeed.tech/topics/msp-mcp.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [2-2](<https://devfeed.tech/tags/2-2.md>), [2025](<https://devfeed.tech/tags/2025.md>), [2026](<https://devfeed.tech/tags/2026.md>), [3](<https://devfeed.tech/tags/3.md>), [8-best](<https://devfeed.tech/tags/8-best.md>), [about](<https://devfeed.tech/tags/about.md>), [account](<https://devfeed.tech/tags/account.md>), [accounting](<https://devfeed.tech/tags/accounting.md>), [added](<https://devfeed.tech/tags/added.md>), [agent](<https://devfeed.tech/tags/agent.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [alternatives](<https://devfeed.tech/tags/alternatives.md>), [best](<https://devfeed.tech/tags/best.md>), [command](<https://devfeed.tech/tags/command.md>), [install](<https://devfeed.tech/tags/install.md>), [litellm](<https://devfeed.tech/tags/litellm.md>), [pip](<https://devfeed.tech/tags/pip.md>), [pip-install](<https://devfeed.tech/tags/pip-install.md>), [pypi](<https://devfeed.tech/tags/pypi.md>), [releases](<https://devfeed.tech/tags/releases.md>)

### AI overview

The article matches eight LiteLLM alternatives to specific needs after describing a poisoned PyPI release and an exploited proxy vulnerability. Lyzr OpenController emphasizes in-network, air-gapped governance of models, agents, tools, and unregistered agents; Bifrost targets self-hosted throughput, though its published benchmarks are vendor-reported. Kong suits existing Kong users, with an on-prem limitation for its 2.x AI control plane. Agent Router is Kubernetes-native, while SSO and per-agent budgets require a commercial product. TrueFoundry offers managed governance with self-hosted options. Portkey, now part of Palo Alto Networks' Prisma AIRS, has a roadmap under new ownership. Cloudflare and OpenRouter avoid hosting infrastructure, but send traffic outside the user's network; OpenRouter also charges fees and lacks team-level governance. Suggested migration steps include locating SDK and proxy deployments, rotating potentially exposed keys, mirroring a traffic slice, rebuilding budgets, then cutting over with pinned versions. The excerpt advises evaluating credential location and ownership alongside performance.

### Source excerpt

On March 24, 2026, pip install litellm stopped being a safe command. For roughly three hours, PyPI served two poisoned releases, 1.82.7 and 1.82.8, that...

## Node2Shell: Brotli Flaw Triggers Patching Across Microsoft, Node.js, Python Packages

DevFeed: [Node2Shell: Brotli Flaw Triggers Patching Across Microsoft, Node.js, Python Packages](<https://devfeed.tech/articles/node2shell-brotli-flaw-triggers-patching-across-microsoft-node-js-python-packages-100588.md>)

Original publisher: [Read original article](<https://www.securityweek.com/node2shell-brotli-flaw-triggers-patching-across-microsoft-node-js-python-packages/>)

Author: Eduard Kovacs

Published: 2026-10-26T10:21:57Z

Content type: news

Language: en

Sources: [SecurityWeek](<https://devfeed.tech/sources/securityweek.md>)

Topics: [Memory Safety](<https://devfeed.tech/topics/memory-safety.md>), [bug](<https://devfeed.tech/topics/bug.md>), [Python](<https://devfeed.tech/topics/python.md>), [PyPI](<https://devfeed.tech/topics/pypi.md>), [Microsoft](<https://devfeed.tech/topics/microsoft.md>), [open source maintenance](<https://devfeed.tech/topics/open-source-maintenance.md>), [container images](<https://devfeed.tech/topics/container-images.md>)

Tags: [arm64](<https://devfeed.tech/tags/arm64.md>), [body-parser](<https://devfeed.tech/tags/body-parser.md>), [broccoli2shell](<https://devfeed.tech/tags/broccoli2shell.md>), [brotli](<https://devfeed.tech/tags/brotli.md>), [brotli-decoder](<https://devfeed.tech/tags/brotli-decoder.md>), [bug](<https://devfeed.tech/tags/bug.md>), [bun](<https://devfeed.tech/tags/bun.md>), [code-execution](<https://devfeed.tech/tags/code-execution.md>), [featured](<https://devfeed.tech/tags/featured.md>), [google](<https://devfeed.tech/tags/google.md>), [http2shell](<https://devfeed.tech/tags/http2shell.md>), [microsoft](<https://devfeed.tech/tags/microsoft.md>), [net](<https://devfeed.tech/tags/net.md>), [node](<https://devfeed.tech/tags/node.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [node2shell](<https://devfeed.tech/tags/node2shell.md>), [out-of-bounds-write](<https://devfeed.tech/tags/out-of-bounds-write.md>), [patching](<https://devfeed.tech/tags/patching.md>), [powershell](<https://devfeed.tech/tags/powershell.md>), [python](<https://devfeed.tech/tags/python.md>), [python-packages](<https://devfeed.tech/tags/python-packages.md>), [vulnerabilities](<https://devfeed.tech/tags/vulnerabilities.md>), [vulnerability](<https://devfeed.tech/tags/vulnerability.md>), [write](<https://devfeed.tech/tags/write.md>)

### AI overview

CVE-2026-111497 is an out-of-bounds write in Google's Brotli decoder, affecting versions 1.0.3 through 1.2.0. Crafted input reaching the decoder can corrupt memory, crash a process or expose memory contents, and may permit unauthenticated code execution. Imperva demonstrated code execution on the official Node.js 24.22.0 Linux arm64 image in tested setups, but the proof did not work every time; no exploitation in the wild has been reported. Fixes are in Brotli 1.0.10, 1.1.1 and 1.2.1, with updates also issued for Node.js, .NET, Visual Studio, PowerShell, and Python's Brotli and brotlicffi packages. The excerpt lists other projects that may still bundle vulnerable decoder copies, while noting the tracker is incomplete and exposure depends on configuration. Updating requires restarting affected services and rebuilding container images; running processes continue using vulnerable code.

### Source excerpt

An out-of-bounds write in Google's Brotli decoder affects Node.js, .NET, PowerShell, and Python packages, and can lead to code execution. The post Node2Shell: Brotli Flaw Triggers Patching Across Microsoft, Node.js, Python Packages appeared first on SecurityWeek.

## The Real Python Podcast - Episode #316: The Future of Python Security: Trends, Challenges, and Solutions

DevFeed: [The Real Python Podcast - Episode #316: The Future of Python Security: Trends, Challenges, and Solutions](<https://devfeed.tech/articles/the-real-python-podcast-episode-316-the-future-of-python-security-trends-challenges-and-solutions-97491.md>)

Original publisher: [Read original article](<https://realpython.com/podcasts/rpp/316/>)

Author: Real Python

Published: 2026-10-23T12:00:00Z

Content type: news

Language: en

Sources: [Real Python](<https://devfeed.tech/sources/real-python.md>)

Topics: [Security](<https://devfeed.tech/topics/security.md>), [psrt](<https://devfeed.tech/topics/psrt.md>), [software bill of materials](<https://devfeed.tech/topics/software-bill-of-materials.md>), [alert triage](<https://devfeed.tech/topics/alert-triage.md>), [Python](<https://devfeed.tech/topics/python.md>), [PyPI](<https://devfeed.tech/topics/pypi.md>), [code security](<https://devfeed.tech/topics/code-security.md>)

Tags: [advice](<https://devfeed.tech/tags/advice.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ci-cd-security](<https://devfeed.tech/tags/ci-cd-security.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [developer](<https://devfeed.tech/tags/developer.md>), [ecosystem](<https://devfeed.tech/tags/ecosystem.md>), [https](<https://devfeed.tech/tags/https.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [large-language-models](<https://devfeed.tech/tags/large-language-models.md>), [llms](<https://devfeed.tech/tags/llms.md>), [podcast](<https://devfeed.tech/tags/podcast.md>), [python](<https://devfeed.tech/tags/python.md>), [python-security](<https://devfeed.tech/tags/python-security.md>), [security](<https://devfeed.tech/tags/security.md>), [software](<https://devfeed.tech/tags/software.md>), [software-security](<https://devfeed.tech/tags/software-security.md>), [supply-chain](<https://devfeed.tech/tags/supply-chain.md>)

### AI overview

The episode focuses on how Python security work is adapting to a larger and changing vulnerability-reporting workload. Seth Larson discusses the Python Security Response Team and PEP 811's formalization of reporting and triage processes, including how LLMs are increasing the volume of vulnerabilities to assess. It also covers trusted publishing on PyPI, PEP 770's use of Software Bill of Materials to track package dependencies, and practical CI/CD security advice. The supplied text gives topic summaries rather than detailed explanations, so it does not establish specific implementation steps or compare security tools.

### Source excerpt

How is the Python ecosystem adapting to the modern landscape of software security and supply chain defense? This week on the show, we sit down with Seth Larson, the Python Software Foundation's Security Developer in Residence.

## LiteLLM release pipeline hacked to distribute info-stealer malware

DevFeed: [LiteLLM release pipeline hacked to distribute info-stealer malware](<https://devfeed.tech/articles/litellm-release-pipeline-hacked-to-distribute-info-stealer-malware-96248.md>)

Original publisher: [Read original article](<https://www.bleepingcomputer.com/news/security/litellm-release-pipeline-hacked-to-distribute-info-stealer-malware/>)

Author: Bill Toulas

Published: 2026-10-22T19:12:51Z

Content type: news

Language: en

Sources: [BleepingComputer](<https://devfeed.tech/sources/bleepingcomputer.md>)

Topics: [litellm attack](<https://devfeed.tech/topics/litellm-attack.md>), [Malware](<https://devfeed.tech/topics/malware.md>), [litellm](<https://devfeed.tech/topics/litellm.md>), [PyPI](<https://devfeed.tech/topics/pypi.md>), [Docker Hub](<https://devfeed.tech/topics/docker-hub.md>), [GitHub Container Registry](<https://devfeed.tech/topics/github-container-registry.md>), [pip](<https://devfeed.tech/topics/pip.md>), [trivy](<https://devfeed.tech/topics/trivy.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [2026](<https://devfeed.tech/tags/2026.md>), [actor](<https://devfeed.tech/tags/actor.md>), [aes](<https://devfeed.tech/tags/aes.md>), [computer-help](<https://devfeed.tech/tags/computer-help.md>), [computer-security](<https://devfeed.tech/tags/computer-security.md>), [computers](<https://devfeed.tech/tags/computers.md>), [credentials](<https://devfeed.tech/tags/credentials.md>), [docker](<https://devfeed.tech/tags/docker.md>), [docker-images](<https://devfeed.tech/tags/docker-images.md>), [environment-variables](<https://devfeed.tech/tags/environment-variables.md>), [hacked](<https://devfeed.tech/tags/hacked.md>), [hackers](<https://devfeed.tech/tags/hackers.md>), [info-stealer](<https://devfeed.tech/tags/info-stealer.md>), [information-stealer](<https://devfeed.tech/tags/information-stealer.md>), [infosec](<https://devfeed.tech/tags/infosec.md>), [infosec-computer-security](<https://devfeed.tech/tags/infosec-computer-security.md>), [linux](<https://devfeed.tech/tags/linux.md>), [litellm](<https://devfeed.tech/tags/litellm.md>), [mac](<https://devfeed.tech/tags/mac.md>), [malicious](<https://devfeed.tech/tags/malicious.md>), [malware](<https://devfeed.tech/tags/malware.md>), [malware-removal](<https://devfeed.tech/tags/malware-removal.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [package](<https://devfeed.tech/tags/package.md>), [payload](<https://devfeed.tech/tags/payload.md>), [pipeline](<https://devfeed.tech/tags/pipeline.md>), [pypi](<https://devfeed.tech/tags/pypi.md>), [release](<https://devfeed.tech/tags/release.md>), [secrets](<https://devfeed.tech/tags/secrets.md>), [security](<https://devfeed.tech/tags/security.md>), [spyware](<https://devfeed.tech/tags/spyware.md>), [supply-chain](<https://devfeed.tech/tags/supply-chain.md>), [supply-chain-attack](<https://devfeed.tech/tags/supply-chain-attack.md>), [support](<https://devfeed.tech/tags/support.md>), [tech-support](<https://devfeed.tech/tags/tech-support.md>), [technical-support](<https://devfeed.tech/tags/technical-support.md>), [virus](<https://devfeed.tech/tags/virus.md>), [virus-removal](<https://devfeed.tech/tags/virus-removal.md>), [windows](<https://devfeed.tech/tags/windows.md>)

### AI overview

LiteLLM's release pipeline was compromised, exposing users who installed PyPI version 1.107.0 or pulled certain Docker Hub and GHCR tags during the stated time windows. The malicious package added startup files that ran when Python launched, including during investigation, to steal credentials, secrets, browser data, and host information; a separate loader could fetch and run code remotely. The project says its private enterprise customers were not affected. Potentially impacted users should stop affected deployments and inspect them without starting Python, isolate and rebuild infected systems from clean backups, and rotate exposed secrets. Removing the package directory alone may leave persistence behind. The excerpt identifies version 1.106.2 as the latest clean release before the attack.

### Source excerpt

Hackers compromised the LiteLLM project's PyPI package and published malicious Docker images with a payload that steals credentials, secrets, and environment variables. [...]

## Sign Here: Attributing a Source for a More Trustworthy Software Supply Chain

DevFeed: [Sign Here: Attributing a Source for a More Trustworthy Software Supply Chain](<https://devfeed.tech/articles/sign-here-attributing-a-source-for-a-more-trustworthy-software-supply-chain-94517.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.28794>)

Author: Derek Garcia

Published: 2026-10-22T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>), [arXiv: Software Engineering](<https://devfeed.tech/sources/arxiv-software-engineering.md>)

Topics: [supply-chain-security](<https://devfeed.tech/topics/supply-chain-security.md>), [malicious packages](<https://devfeed.tech/topics/malicious-packages.md>), [software supply-chain attack](<https://devfeed.tech/topics/software-supply-chain-attack.md>), [npm packages](<https://devfeed.tech/topics/npm-packages.md>), [PyPI](<https://devfeed.tech/topics/pypi.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>)

Tags: [attack-surface](<https://devfeed.tech/tags/attack-surface.md>), [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [cs-se](<https://devfeed.tech/tags/cs-se.md>), [malicious-packages](<https://devfeed.tech/tags/malicious-packages.md>), [malware](<https://devfeed.tech/tags/malware.md>), [malware-prevention](<https://devfeed.tech/tags/malware-prevention.md>), [npm](<https://devfeed.tech/tags/npm.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [package-registries](<https://devfeed.tech/tags/package-registries.md>), [pypi](<https://devfeed.tech/tags/pypi.md>), [repositories](<https://devfeed.tech/tags/repositories.md>), [software-supply-chain](<https://devfeed.tech/tags/software-supply-chain.md>), [software-supply-chain-attacks](<https://devfeed.tech/tags/software-supply-chain-attacks.md>), [source](<https://devfeed.tech/tags/source.md>), [supply-chain](<https://devfeed.tech/tags/supply-chain.md>), [transparency](<https://devfeed.tech/tags/transparency.md>), [trust](<https://devfeed.tech/tags/trust.md>)

### AI overview

The study finds that checking whether packages attribute a buildable source could prevent 87.7% to 99.9% of malware in its npm and PyPI analysis, depending on how rigorously the source is vetted. It tests building packages from source as a way to avoid the package registry attack surface, analyzing 47,066 known malicious packages and a sample of 33,138 registry packages. The approach faces a transparency constraint: only 47.4% of benign packages in the study attributed a source an end user could build from. The supplied abstract says the authors also compare this strategy with security scanners, but does not report that comparison's results.

### Source excerpt

arXiv:2610.28794v1 Announce Type: new Abstract: Software supply chain attacks continue to be on the rise, exploiting the trust that helps open source ecosystems thrive. Recent incidents like the Shai-Hulud worm and the Axios compromise demonstrate that a single malicious package can have wide reaching and devastating impacts overnight. These high profile attacks can be traced back to the same culprit: package registries. Although they are a useful convenience to pull prebuilt packages from, is such a commonly exploited component of the software supply chain worth the risk? In this paper, we investigate whether removing the registry from the developer workflow by building packages directly from source can serve as a malware prevention strategy - effectively removing an entire attack surface. Our hypothesis is that malicious packages avoid attributing a source to minimize visibility, while benign packages seek exposure and therefore link to their repositories. We evaluate this through three research questions: how effective is building from source at avoiding malware, how feasible is it to build from source in the current state of the supply chain, and how the building from source strategy compares to state-of-the-art security scanners. To do so, we (1) construct an aggregate dataset of 47,066 malicious packages from four academic and one industry malicious datasets source across npm and PyPI ecosystems, (2) build a snapshot index of all 3.9 million npm and 764 thousand PyPI packages, and (3) analyze all malicious samples alongside a statistically significant sample of 16,569 packages from each registry, totaling 33,138 packages. We find that simply checking for a source has a success rate between 87.7 and 99.9 percent of preventing malware, depending on the level of source vetting. Consequently, there is a significant lack of transparency within benign packages, with only 47.4 percent attributing a source an end user could build from.

## LiteLLM Compromised, Steals Credentials

DevFeed: [LiteLLM Compromised, Steals Credentials](<https://devfeed.tech/articles/litellm-compromised-steals-credentials-92828.md>)

Original publisher: [Read original article](<https://www.wiz.io/blog/litellm-compromised-steals-credentials>)

Author: Rami McCarthy

Published: 2026-10-21T13:44:12Z

Content type: news

Language: en

Sources: [Wiz](<https://devfeed.tech/sources/wiz-blog-rss-feed.md>)

Topics: [litellm attack](<https://devfeed.tech/topics/litellm-attack.md>), [litellm](<https://devfeed.tech/topics/litellm.md>), [Credential theft](<https://devfeed.tech/topics/credential-theft.md>), [Security Attacks](<https://devfeed.tech/topics/security-attacks.md>), [C2](<https://devfeed.tech/topics/c2.md>), [PyPI](<https://devfeed.tech/topics/pypi.md>), [Docker Image](<https://devfeed.tech/topics/docker-image.md>), [Git](<https://devfeed.tech/topics/git.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [browser](<https://devfeed.tech/tags/browser.md>), [c2](<https://devfeed.tech/tags/c2.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [credentials](<https://devfeed.tech/tags/credentials.md>), [docker](<https://devfeed.tech/tags/docker.md>), [litellm](<https://devfeed.tech/tags/litellm.md>), [litellm-package](<https://devfeed.tech/tags/litellm-package.md>), [malicious](<https://devfeed.tech/tags/malicious.md>), [pypi](<https://devfeed.tech/tags/pypi.md>), [research](<https://devfeed.tech/tags/research.md>), [secrets](<https://devfeed.tech/tags/secrets.md>), [stealer](<https://devfeed.tech/tags/stealer.md>), [threat-intel](<https://devfeed.tech/tags/threat-intel.md>)

### AI overview

LiteLLM version 1.107.0, uploaded to PyPI on October 21, was trojanized; Docker images tagged v1.107.0, latest, main-latest, and main-stable also contained it. On Python startup, the package's `cook.pth` loads a stealer that gathers and encrypts system, browser, developer, cloud, and AI-tool secrets, then posts them to attacker-controlled `www.litellm.dev/healthcheck`. A separate `sitecustomize.py` attempts, on Linux and macOS, to retrieve a second-stage script through a GitHub-hosted domain file; that file was unpopulated at analysis time. Its `/tmp/` marker may fail on Windows. The advisory names v1.106.2 as the most recent safe version and says the malicious PyPI release was quarantined.

### Source excerpt

In a new incident, a malicious version (1.107.0) of the LiteLLM package was uploaded to PyPI and Docker on October 21. The malicious version includes a credential stealer targeting browser, cloud and AI secrets as well as a dormant C2 capability.

## LiteLLM compromised again: infostealer and RAT found in version 1.107.0

DevFeed: [LiteLLM compromised again: infostealer and RAT found in version 1.107.0](<https://devfeed.tech/articles/litellm-compromised-again-infostealer-and-rat-found-in-version-1-107-0-92771.md>)

Original publisher: [Read original article](<https://www.aikido.dev/blog/litellm-compromised-infostealer-rat>)

Author: Ilyas Makari

Published: 2026-10-21T13:05:00Z

Content type: news

Language: en

Sources: [Aikido Security's Blog](<https://devfeed.tech/sources/aikido-security-s-blog.md>)

Topics: [litellm](<https://devfeed.tech/topics/litellm.md>), [code security](<https://devfeed.tech/topics/code-security.md>), [PyPI](<https://devfeed.tech/topics/pypi.md>), [release engineering](<https://devfeed.tech/topics/release-engineering.md>), [ai security](<https://devfeed.tech/topics/ai-security.md>)

Tags: [infostealer](<https://devfeed.tech/tags/infostealer.md>), [litellm](<https://devfeed.tech/tags/litellm.md>), [rat](<https://devfeed.tech/tags/rat.md>)

### AI overview

LiteLLM 1.107.0's seven compiled PyPI wheels were compromised across macOS, Linux and Windows, while the GitHub source and source distribution are described as clean. A build-pipeline directive bundled attacker-created files into the wheels: a `.pth` file runs the infostealer at Python startup, and `sitecustomize.py` starts a RAT that polls for and executes remote code. The infostealer collects system data and a wide range of credentials, including cloud, developer tool and LiteLLM database secrets, then sends encrypted data to an attacker-controlled endpoint. Anyone who installed `litellm==1.107.0` from a compiled wheel should assume credentials are compromised. The text identifies `/tmp/.pc_once_*` and `/tmp/remote_code_loader.lock` as indicators, and provides wheel hashes and network indicators for investigation.

### Source excerpt

LiteLLM 1.107.0 contains an infostealer and RAT, and PyPI has quarantined the package. See if you're affected, what it steals, and what to rotate. Category: Vulnerabilities & Threats

## LiteLLM supply chain compromise: What you need to know

DevFeed: [LiteLLM supply chain compromise: What you need to know](<https://devfeed.tech/articles/litellm-supply-chain-compromise-what-you-need-to-know-93911.md>)

Original publisher: [Read original article](<https://securitylabs.datadoghq.com/articles/litellm-compromised-pypi-docker/>)

Author: Ian Kretz

Published: 2026-10-21T00:00:00Z

Content type: news

Language: en

Sources: [Datadog Security Labs](<https://devfeed.tech/sources/datadog-security-labs.md>)

Topics: [litellm attack](<https://devfeed.tech/topics/litellm-attack.md>), [software supply-chain attack](<https://devfeed.tech/topics/software-supply-chain-attack.md>), [malicious packages](<https://devfeed.tech/topics/malicious-packages.md>), [litellm](<https://devfeed.tech/topics/litellm.md>), [PyPI](<https://devfeed.tech/topics/pypi.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [aes](<https://devfeed.tech/tags/aes.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-coding-tools](<https://devfeed.tech/tags/ai-coding-tools.md>), [ai-tool](<https://devfeed.tech/tags/ai-tool.md>), [analysis](<https://devfeed.tech/tags/analysis.md>), [api](<https://devfeed.tech/tags/api.md>), [api-keys](<https://devfeed.tech/tags/api-keys.md>), [audit](<https://devfeed.tech/tags/audit.md>), [aws](<https://devfeed.tech/tags/aws.md>), [azure](<https://devfeed.tech/tags/azure.md>), [backdoor](<https://devfeed.tech/tags/backdoor.md>), [browser](<https://devfeed.tech/tags/browser.md>), [browsers](<https://devfeed.tech/tags/browsers.md>), [build](<https://devfeed.tech/tags/build.md>), [litellm](<https://devfeed.tech/tags/litellm.md>), [malicious](<https://devfeed.tech/tags/malicious.md>), [pypi](<https://devfeed.tech/tags/pypi.md>), [supply-chain](<https://devfeed.tech/tags/supply-chain.md>), [supply-chain-compromise](<https://devfeed.tech/tags/supply-chain-compromise.md>)

### AI overview

On October 21, 2026, malicious LiteLLM v1.107.0 releases appeared on PyPI and official Docker images for about two hours. The package added `cook.pth`, `cook.py`, and `sitecustomize.py`, causing credential-stealing code to run whenever Python starts, even if LiteLLM is never imported; a separate hourly backdoor was also present, though no second-stage payload was observed. Attackers reportedly used stolen GitHub CLI OAuth tokens to run LiteLLM's release workflow against a malicious, lookalike fork, producing releases through normal channels with provenance that recorded that fork. To respond, manually remove the three files from `site-packages` (uninstalling LiteLLM alone does not remove them), remove associated v1.107.0 artifacts, revert to v1.106.2, rotate affected credentials from a clean machine, and audit logs for misuse. The excerpt also recommends restricting release workflows to approved repositories and protecting developer CLI tokens.

### Source excerpt

Malicious releases of LiteLLM v1.107.0 were published to PyPI and container registries following multiple maintainer account compromises.

## LiteLLM attacked again: Malicious 1.107.0 wheels on PyPI and Docker Hub (October 2026)

DevFeed: [LiteLLM attacked again: Malicious 1.107.0 wheels on PyPI and Docker Hub (October 2026)](<https://devfeed.tech/articles/litellm-attacked-again-malicious-1-107-0-wheels-on-pypi-and-docker-hub-october-2026-93048.md>)

Original publisher: [Read original article](<https://www.chainguard.dev/unchained/litellm-attacked-again-malicious-1-107-0-wheels-on-pypi-and-docker-hub-october-2026>)

Published: 2026-10-21T00:00:00Z

Content type: news

Language: en

Sources: [Chainguard: Unchained](<https://devfeed.tech/sources/chainguard-unchained.md>)

Topics: [litellm attack](<https://devfeed.tech/topics/litellm-attack.md>), [software supply-chain attack](<https://devfeed.tech/topics/software-supply-chain-attack.md>), [litellm](<https://devfeed.tech/topics/litellm.md>), [PyPI](<https://devfeed.tech/topics/pypi.md>), [Docker Hub](<https://devfeed.tech/topics/docker-hub.md>), [chainguard](<https://devfeed.tech/topics/chainguard.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [about](<https://devfeed.tech/tags/about.md>), [account](<https://devfeed.tech/tags/account.md>), [added](<https://devfeed.tech/tags/added.md>), [aes](<https://devfeed.tech/tags/aes.md>), [chainguard](<https://devfeed.tech/tags/chainguard.md>), [code](<https://devfeed.tech/tags/code.md>), [customers](<https://devfeed.tech/tags/customers.md>), [docker](<https://devfeed.tech/tags/docker.md>), [docker-hub](<https://devfeed.tech/tags/docker-hub.md>), [hub](<https://devfeed.tech/tags/hub.md>), [litellm](<https://devfeed.tech/tags/litellm.md>), [loader](<https://devfeed.tech/tags/loader.md>), [malicious](<https://devfeed.tech/tags/malicious.md>), [october](<https://devfeed.tech/tags/october.md>), [october-2026](<https://devfeed.tech/tags/october-2026.md>), [pypi](<https://devfeed.tech/tags/pypi.md>), [remote](<https://devfeed.tech/tags/remote.md>), [stealer](<https://devfeed.tech/tags/stealer.md>), [wheels](<https://devfeed.tech/tags/wheels.md>)

### AI overview

On October 21, 2026, LiteLLM 1.107.0 PyPI wheels and official Docker images carried a credential stealer and hourly remote code loader, despite a clean Git tag and source distribution. A malicious .pth file made the stealer run whenever Python started in the affected environment, even without importing LiteLLM; the loader's remote code stage was inactive during analysis, but the local stealer ran independently. The article advises treating affected hosts or images as compromised: isolate them, remove the startup files with shell tools before running Python or pip again, stop the detached loader, preserve logs, rotate credentials the host could reach, investigate loader requests, and rebuild from verified artifacts. It identifies 1.106.2 as clean and recommends pinning Docker by digest. Chainguard says its malware scan blocked 1.107.0 from its repository 16 minutes after release and that it builds LiteLLM from upstream source rather than the affected wheels or images.

### Source excerpt

LiteLLM 1.107.0 on PyPI and Docker shipped a credential stealer and a remote code loader. See how Chainguard kept customers protected.

[Next page](<https://devfeed.tech/topics/pypi.md?cursor=WyIyMDI2LTEwLTIxVDAwOjAwOjAwKzAwOjAwIiwgIjY0ZDM3NmQ3LTEyYjctNDM3ZS1iNWU5LWViZTFjYjk1MmNmOCJd>)