agent-framework 1.26.1 and 1.26.2: PyPI credential stealer
Source AlienVault OTX General
Description
Microsoft's Agent Framework meta-package on PyPI was compromised in versions 1.26.1 and 1.26.2, published on November 17, 2026. These versions included a malicious .pth startup hook that executed credential-stealing code every time Python launched, without requiring package import. The malware harvested Azure, Azure DevOps, and GitHub Actions tokens from environment variables, credential files, and cloud metadata services across approximately 300 running processes. It collected tokens from various sources including Azure CLI caches, pip, npm, Docker, git, and Hugging Face credentials, and minted fresh cloud tokens via OIDC endpoints and Azure Instance Metadata Service. All stolen data was compressed, encoded, and exfiltrated to a remote webhook.site endpoint. The compromise was detected within six minutes and removed within hours, but any host running these versions should be considered fully compromised.