thehackernews.comยท18 november 2026

Attackers Compromise Microsoft's Agent Framework PyPI Package to Steal Cloud Credentials

Image for the article: Attackers Compromise Microsoft's Agent Framework PyPI Package to Steal Cloud Credentials
Image via thehackernews.com

Threat actors compromised Microsoft's agent-framework PyPI package on November 17, 2026, publishing malicious versions 1.26.1 and 1.26.2 that installed a persistent credential stealer. The payload executed automatically on every Python interpreter start via malicious .pth files, harvesting environment variables, local credentials, cloud tokens, and GitHub Actions OIDC tokens. The stolen data was zlib-compressed and exfiltrated via HTTPS POST to a webhook.site endpoint. Security firms and Microsoft are investigating the supply chain attack, prompting temporary privacy changes for affected repositories.