Skip to content
AgentProv

2026-11-17 · 2026-Q4

Microsoft's Official agent-framework Package on PyPI Ships a Credential Stealer in Two Releases

Primary layerL1 CredentialSecondary:L4 Code / Package

Should this run hold this key at all?

The question layer 1 asks, and failed here.
Fixable
Unknown
Vendor response
Unknown
In the wild
Yes
Actor
Attacker

Target

Developers and CI pipelines installing `agent-framework` from PyPI (about 200,000 monthly downloads)

Impact

Malicious versions 1.26.1 and 1.26.2 were published on November 17, 2026 (Wiz times them at 20:35 and about 21:08 UTC) and quarantined by PyPI within about an hour. Both used a `.pth` file so the payload ran at every Python startup, even without importing the package, and collected environment secrets from up to 300 processes, Azure CLI, npm, pip, git, Docker, Hugging Face, and `.env` files, plus Azure managed-identity and Azure DevOps OIDC tokens; 1.26.2 added GitHub Actions OIDC tokens. Data went to a webhook.site URL. Wiz assessed that the attacker held a client certificate and private key for Microsoft's release service and published from Microsoft IP space after an attempt from AWS was blocked; how the credentials were obtained is unknown. Version 1.26.0 is the last clean release

Root cause

Release-signing credentials for an official AI agent package were in an attacker's hands, and Python startup hooks gave execution on install

Sources

Catalog

Cite this: AgentProv incident record: Microsoft's Official agent-framework Package on PyPI Ships a Credential Stealer in Two Releases (2026-11-17). https://agentprov.com/incidents/2026-11-17-microsoft-s-official-agent-framework-package-on-pypi-ships-a-credential-stealer