Microsoft’s Agent Framework PyPI package compromised to steal credentials
Reported by news.lavx.hu, CSO Online, BleepingComputer and 4 more outlets7 sources ↓
Attackers uploaded two credential-stealing releases to Microsoft’s Agent Framework package on PyPI. PyPI removed them, but whether any developers’ secrets were stolen is unknown.
Key points
- The malicious releases were versions 1.26.1 and 1.26.2
- The malware sought credentials, cloud tokens and configuration files from developer environments
- The releases targeted services including Azure, AWS, GitHub, Docker and OpenAI
- PyPI removed both releases; the number of affected installations is unknown
Sources
- news.lavx.huRead ↗Attackers compromise Microsoft's agent-framework PyPI package to steal cloud credentials
- CSO OnlineRead ↗Attackers hijack Microsoft’s agent-framework package to steal Azure and CI credentials
- BleepingComputerRead ↗Microsoft’s Agent Framework PyPI package compromised to steal credentials
- The RegisterRead ↗Microsoft's official Python agent framework hijacked to distribute malware
- Meteora WebRead ↗Microsoft Agent Framework on PyPI compromised
Details
TechRadar reports that the first malicious release appeared on November 17, 2026, and was removed by PyPI after 31 minutes. A second release followed two minutes later and was removed about eight minutes after upload. The attackers retained access to Microsoft’s PyPI account between the two uploads, the report says.
The malware was designed to run when Python started, whether or not the package was imported. It searched for credentials and secrets in environment variables and local configuration files, and targeted tokens and accounts across developer services. TechRadar says researchers documented the attack, but it is not known whether secrets were successfully stolen or how the attackers accessed the PyPI account.
Written from coverage as of
Images
- TechRadar
Stocks in this story
Change since open: 20 Nov to 21 Nov 2026
Last refresh