Malicious agent-framework PyPI releases stole Azure and GitHub credentials
Original title: Microsoft’s Agent Framework PyPI Package Hacked to Steal Azure and GitHub Credentials
Versions 1.26.1 and 1.26.2 ran at Python startup via .pth files and were removed from PyPI within about an hour.
On November 17, 2026, two malicious releases of Microsoft's agent-framework appeared on PyPI under the legitimate Microsoft-associated publisher. Versions 1.26.1 and 1.26.2 planted .pth files that executed a stealer during ordinary Python startup, collecting Azure, GitHub, and build secrets and posting them to a webhook.site address. Wiz says both were gone by 21:30 UTC and identifies 1.26.0 as the latest known clean release. The upload path is unconfirmed, and Wiz has not linked this to an earlier durabletask incident.
Unconfirmed: How the releases were published under the Microsoft-associated account is unconfirmed, and the webhook count is not a victim count.
- Wiz timed the uploads at 20:35 UTC and about 21:08 UTC.
- 1.26.1 used agent_framework_meta.pth; 1.26.2 used af_runtime_diag.pth.
- 1.26.2 also requested GitHub Actions OIDC tokens when workflows could issue them.
- Webhook.site captured no more than 50 requests, not a victim count.
- Weekly package traffic is about 41,000 downloads, not of the malicious builds.
Impact: steals Azure, GitHub, and CI secrets from the host
| Product | Affected | Fixed in |
|---|---|---|
| Microsoft agent-framework | 1.26.1 and 1.26.2 | 1.26.0 |
- 1.Search lockfiles, images, caches, and environments for agent-framework 1.26.1 or 1.26.2.
- 2.Pin agent-framework to 1.26.0 and rebuild from a known-good image.
- 3.Rotate credentials exposed to the host and review Azure and Entra sign-ins.
- ATT&CK
- T1195.001 Compromise Software Dependencies and Development ToolsT1552.001 Credentials In FilesT1528 Steal Application Access Token
- Vendors
- Microsoft
Indicators of compromise
auto-extracted · verify before use · export allAll| Type | Indicator | Context |
|---|---|---|
| domain | webhook.site | . Both versions sent compressed, encoded data to a specific webhook[.]site address. Wiz said the destination used the service’s free |
From the original article
3 min read at cybersecuritynews.com
Hackers published two malicious versions of Microsoft’s agent-framework package on the Python Package Index (PyPI) on November 17, 2026. Versions 1. 26.
By Guru Baran · cybersecuritynews.com
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.