
Microsoft's Agent-Framework PyPI Package Weaponized to Drain Azure and CI/CD Credentials
On November 17, 2026, threat actors published two malicious versions (1.26.1 and 1.26.2) of the widely-used Microsoft agent-framework PyPI package within a 33-minute window, compromising a package with roughly 190,000 monthly downloads. The tampered releases injected Python startup hooks via .pth files that silently executed a credential stealer on every Python interpreter launch—regardless of whether the package was explicitly imported. The stealer harvested Azure CLI tokens, managed-identity tokens, Azure DevOps OIDC tokens, GitHub Actions OIDC tokens, environment variables, and configuration files, then exfiltrated all data Base64-encoded and zlib-compressed to a hard-coded webhook.site endpoint. This marks the second Microsoft-related PyPI compromise in 2026, following the TeamPCP-linked durabletask attack in May. The incident exposes critical gaps in CI/CD pipeline security and cloud-identity protection across AI development workflows. This attack signals an accelerating adversarial focus on the AI developer ecosystem and the supply chains feeding it. As agentic AI frameworks like Microsoft's agent-framework become foundational infrastructure, their PyPI packages represent high-value, low-friction targets for credential theft at scale—particularly in automated CI/CD environments where identities carry broad cloud permissions.
Kill Chain










