Microsoft agent-framework PyPI package poisoned
Microsoft agent-framework PyPI Package Compromised
Microsoft's official agent-framework PyPI packages 1.26.1 and 1.26.2 were implanted with a credential-stealing malicious payload on November 17, 2026; PyPI has quarantined both versions, and the last clean version is 1.26.0, released on November 12. StepSecurity's static analysis of the two quarantined wheels found that the payload writes a .pth startup hook into site-packages, executing as soon as Python starts, without needing to import the framework; it collects environment variables and credential files, captures other processes' environments via /proc/*/environ, and attempts to request new tokens from GitHub Actions OIDC, Azure DevOps OIDC and Azure managed identity endpoints, exfiltrating data to webhook.site.