Hackers released two malicious versions of Microsoft’s Agent Framework package on PyPI on November 17, 2026 This article explores malicious versions microsoft. . Versions 1.26.1 and 1.26.2 were designed to steal credentials during normal Python startup, even if the application didn’t import Agent Framework.
Wiz has identified 1.26.0 as the latest known clean release, with normal package traffic at approximately 41,000 downloads per week. Microsoft's Agent Framework PyPI Compromise Both releases introduced a .pth file into site-packages, the directory where Python stores installed libraries.
During normal startup, Python processes these files, allowing an unrelated Python script to trigger the stealer simply by running in the affected environment. A check limited to the first release’s files could therefore miss the second, even though both ran in the background and sent data to the same destination. The first malicious release appeared as a wheel, a pre-installed Python package, rather than alongside a source archive and a matching agent-framework-core release.
Azure and GitHub Actions Credentials Socket's analysis revealed that both versions searched environment variables, readable process data, and local files for secrets. Targets included Azure CLI data, Azure DevOps agent credentials, Git credential stores, Docker and npm configuration, and application .env files. For GitHub Actions jobs that installed the version 1.26.2 with the id-token: write permission, verify the Entra ID trust settings and sign-ins for the associated application.




.jpg?width=1280&auto=webp&quality=80&disable=upscale)






![Top 10 Best Third-Party / Vendor Risk Management (TPRM) Tools in 2026 [Ranked & Scored]](https://cybersecuritynews.com/wp-content/uploads/2026/11/Third-Party-Vendor-Risk-Management-Tools-1-1068x601.webp)
![Top 10 Best Security Policy Management Tools in 2026 [Ranked & Scored]](http://cybersecuritynews.com/wp-content/uploads/2026/11/Security-Policy-Management-Tools-2.webp)