2026-11-17 · 2026-Q4
Microsoft's Official agent-framework Package on PyPI Ships a Credential Stealer in Two Releases
Should this run hold this key at all?
- 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
Related
- Also L1 · 2026-11-21Together AI: A Coding Agent Committed a Credential, and Customer Prompt Samples Were DownloadedL1Credential
- Also L1 · 2026-11-17Flowise: Public Chatflow Endpoint Leaks MCP Server Bearer Tokens to Unauthenticated Callers (CVE-2026-130796)L1Credential
- Also L1 · 2026-11-13IBM ContextForge MCP Gateway: A Request Header Overrides the Gateway's Upstream Credential, Bypassing Per-User Permissions (CVE-2026-110279)L1Credential