Updated
Microsoft agent-framework PyPI package published with credential stealer
Two versions of a Microsoft software package for building AI agents, distributed through the Python package repository PyPI, were published with code that steals login credentials. Teams that installed the package on 17 November should check which version they got.
What's new
Newest coverage
- Help Net Security ·
Credential stealer slipped into Microsoft’s official Python agent framework - BleepingComputer ·
Microsoft’s Agent Framework PyPI package compromised to steal credentials - SecurityWeek ·
Microsoft Agent Framework Releases Poisoned With Credential Stealer - The Hacker News ·
Attackers Compromise Microsoft's Agent Framework PyPI Package to Steal Cloud Credentials
What happened
Wiz says versions 1.26.1 and 1.26.2 of Microsoft's agent-framework package on PyPI were published on 17 November 2026, starting at 20:35 UTC, with an added credential stealer. Wiz says the package gets almost 200k downloads a month and that the malicious versions have since been quarantined. [1]
The Hacker News reports the two versions were published 33 minutes apart and that the findings come from several security firms, including Aikido, Chainguard, Endor Labs, OX Security, SafeDep, Socket, StepSecurity and Wiz. [2]
What the malware does
Socket says both versions install Python startup hooks that quietly collect credentials, environment data and cloud identity tokens, then send them to a webhook.site endpoint. SecurityWeek reports the code steals Azure, Azure DevOps and GitHub Actions credentials when Python starts. [3][4]
BleepingComputer reports the aim is to take cloud credentials and other sensitive information from developers' systems. [5]
What is not yet known
The articles reviewed do not say how the attackers gained the ability to publish the package, who is responsible, or how many systems installed the malicious versions. No CVE has been assigned. [1][3][2]
Timeline
Explained
The technology and terms in this story. Learn more
- TechnologyPyPI · Python Package IndexThe package registry for Python libraries.
- AttackInfostealerMalware that grabs saved passwords, browser cookies and crypto wallets from an infected computer.
- TechnologyAI agentAn AI model that acts on its own: it plans steps, uses tools and takes actions, not just answers.
Business ActionWhat this means inside your organization, and what to do about it, by company size.
Small business
No dedicated security staff; relies on providers
Mid-size company
A small IT or security team
Sources
- [1]Wiz Blog · Nov 17, 22:03 UTC
Microsoft agent-framework Compromised: Credential Stealer Targets Azure and CI Pipelinescontext - [2]The Hacker News · Nov 18, 06:45 UTC
Attackers Compromise Microsoft's Agent Framework PyPI Package to Steal Cloud Credentialscontext - [3]Socket Blog · Nov 17, 23:05 UTC
Microsoft’s agent-framework PyPI package Compromised with Credential Stealercontext - [4]SecurityWeek · Nov 18, 11:05 UTC
Microsoft Agent Framework Releases Poisoned With Credential Stealercontext - [5]BleepingComputer · Nov 18, 16:58 UTC
Microsoft’s Agent Framework PyPI package compromised to steal credentialscontext