
Attackers Compromise Microsoft's agent-framework PyPI Package to Steal Cloud Credentials
Threat actors published two malicious versions of Microsoft's agent-framework package on PyPI, versions 1.26.1 and 1.26.2, which install a credential stealer that activates on every Python interpreter start. The packages were uploaded 33 minutes apart on November 17, 2026, and have since been quarantined. The malware drops .pth files that execute automatically, harvesting environment variables, Azure CLI credentials, GitHub Actions OIDC tokens, Azure managed-identity tokens, and instance metadata before exfiltrating data to a webhook.site endpoint. Multiple security firms including Aikido, Endor Labs, OX Security, SafeDep, Socket, StepSecurity, and Wiz confirmed the compromise, noting that the attack targets AI developer ecosystems and CI/CD pipelines. Users are advised to pin to version 1.26.0, rotate exposed credentials, and audit Azure and GitHub logs. This marks the second Microsoft-related PyPI package compromise in 2026 after the durabletask incident.
The Hacker NewsNov 18, 2026Translated from English