· ai-devtools
Attackers Compromise Microsoft's Agent Framework PyPI Package to Steal Cloud Credentials
Threat actors have compromised Microsoft's agent-framework package to push a credential stealer, according to reports from Aikido, Chainguard, Endor Labs, OX Security, SafeDep, Socket, StepSecurity, and Google-owned Wiz.
The malicious versions, 1.26.1 and 1.26.2, were published 33 minutes apart on November 17, 2026, and are designed to run a credential stealer on every Python start. As of 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. Microsoft Agent Framework is Microsoft's open-source toolkit for building AI agents and coordinating them in workflows.
It's a fairly popular tool with around 200,000 monthly downloads on PyPI. The malicious releases, versions 1.26.1 and 1.26.2, were published on November 17, 2026, and contained a credential stealer that executed automatically during normal Python startup in affected environments, even when the Agent Framework package was not imported. Both versions retained their dependency on the legitimate agent-framework-core 1.26.0 package, allowing the framework to function normally while the malware ran in the background. Multiple security firms discovered and documented the attack, including Socket, Step Security, and Ox Security.




