Attackers breached Microsoft's official Agent Framework project on PyPI on November 17, 2026, releasing two backdoored updates designed to harvest developer secrets. Versions 1.26.1 and 1.26.2 of the open-source toolkit—which sees roughly 200,000 monthly downloads—ran malicious credential stealers automatically during Python startup without requiring the package to be explicitly imported. [1][2]
Security firms Socket, Step Security, and Ox Security found that the malware swept environment variables, configuration files, and running processes to steal credentials for services including Azure, AWS, GitHub, Docker, Hugging Face, and OpenAI. Version 1.26.1 sought Azure managed identity and Azure DevOps OIDC tokens, while version 1.26.2 expanded its search to GitHub runner directories and GitHub Actions OIDC tokens, exfiltrating the data to an external webhook address. [1][2]
PyPI quarantined both rogue versions shortly after their release, though it remains unexplained how the attacker acquired publishing permissions on Microsoft's project. Developers who installed the malicious packages are advised to isolate their systems, rotate all exposed credentials, and revert to the clean 1.26.0 release. [1]