Microsoft agent-framework PyPI compromise
Two releases of agent-framework, the Python package of Microsoft Agent Framework, were uploaded to PyPI without being built from the official repository. Both ran a credential stealer at every Python start, aimed at Azure, Azure DevOps and GitHub Actions tokens. It was disclosed on 2026-11-17, so details may still change.
- First seen
- 2026-11-17
- Disclosed
- 2026-11-17
- Affected packages
- 1
- Attributed to
- No public attribution
What to do
Pin to 1.26.0 and search lockfiles, CI logs, virtual environments and images for 1.26.1 or 1.26.2. On any host or runner that installed them, rotate every secret, including Azure managed-identity and DevOps tokens and GitHub Actions secrets, and review Azure sign-ins and the federated credentials that trust affected workflows.
Check a lockfile for these releases →| Package | Registry | Versions |
|---|---|---|
| agent-framework | PyPI | 1.26.1, 1.26.2 |
- https://osv.dev/vulnerability/MAL-2026-20101 · OpenSSF Malicious Packages (via OSV), 2026-11-17
- https://www.wiz.io/blog/malicious-version-of-microsofts-agent-framework-published-to-pypi · Wiz, 2026-11-17
- https://github.com/advisories/GHSA-764m-3ppc-5m73 · GitHub Advisory Database, 2026-11-18
- https://www.securityweek.com/microsoft-agent-framework-releases-poisoned-with-credential-stealer/ · SecurityWeek, 2026-11-18
Written up from the sources above and last checked on 2026-11-18. ShieldMap describes what was affected and what to do; it does not publish the malicious code or how it worked. Report a correction to [email protected].