UTC

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 →
Affected releases
PackageRegistryVersions
agent-frameworkPyPI1.26.1, 1.26.2

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].