Malicious versions of Microsoft's agent-framework package on PyPI stole Azure and CI credentials, Wiz says
Versions 1.26.1 and 1.26.2 ran a credential stealer on every Python start and were removed within an hour.
18 Nov 2026 ยท Cybersecurity
Update, 20 November: In an updated analysis, Wiz says the attacker appears to have compromised a client certificate and private key for Microsoft's Engineering System Release Pipeline (ESRP), the internal service Microsoft uses to sign and publish the package. A first publish attempt from AWS was rejected by ESRP's IP filtering, but a second attempt from Microsoft-owned IP space succeeded. How the credentials were obtained is not yet known. Wiz says it reported its findings to Microsoft on 17 November.
Cybersecurity AI Weekly covers stories like this, every Monday. Free.
Two malicious versions of Microsoft's agent-framework package, the Python package for Microsoft Agent Framework, were published on PyPI on 17 November with a credential stealer aimed at Azure and CI pipelines, security firm Wiz reports.
Version 1.26.1 appeared at 20:35 UTC and 1.26.2 at 21:08 UTC, and both had been removed by 21:30 UTC. The package gets about 41,000 downloads a week. The malicious versions drop a .pth file that Python runs every time it starts, so the stealer runs even if agent-framework is never imported. There is no matching release in Microsoft's GitHub repository, suggesting the versions were built outside the normal process and uploaded directly.
The stealer collects secret-looking environment variables, credential files for tools such as the Azure CLI, npm, pip, git and Docker, Azure DevOps and GitHub Actions OIDC tokens, and Azure managed-identity tokens, then sends them to a webhook.site address. Wiz says at most 50 requests were captured, but they may hold working credentials.
Wiz advises teams to search for versions 1.26.1 and 1.26.2, pin to 1.26.0 and rotate every credential on affected hosts and runners, according to Wiz.
Where this comes from
wiz.io Microsoft agent-framework Compromised: Credential Stealer Targets Azure and CI PipelinesIn this story
More from Cybersecurity
Dec 4 US Air Force adds up to $2 million for Base Operations' AI counter-drone analytics Dec 4 UK tech committee chair calls for AI model testing before release over threat to encryption Dec 4 Alibaba Cloud's command-line tool told AI agents to hand over local data, and the company says it will stop Dec 4 UK bank regulator says frontier AI may threaten banking encryption sooner than quantum computers Dec 4 Perplexity says it stopped an autonomous AI agent that attacked it for two weeksMarket report
2025 Generative AI in Professional Services Report
Thomson Reuters
This report by Thomson Reuters explores the integration and impact of generative AI technologies, such as ChatGPT and Microsoft Copilot, within the professional services sector. It highlights the growing adoption of GenAI tools across industries like legal, tax, accounting, and government, and discusses the challenges and opportunities these technologies present. The report also examines professionals' perceptions of GenAI and the need for strategic integration to maximize its value.
Read moreYou may also like
Microsoft Says AI Agent Went From GitHub Secrets to Azure Key Vault Data in Five Minutes 6 Nov 2026 Bitdefender finds GitHub malware that tells AI coding agents to run a credential stealer 23 Nov 2026 TrojanPony malware hides in fake coding-agent skills across 487 repositories, AIR finds 26 Nov 2026 Wiz launches AI security agents and coding-agent protections at re:Invent 30 Nov 2026 Perplexity fends off autonomous AI attacker hunting for frontier model access, finds two other companies breached 2 Dec 2026 Perplexity says it stopped an autonomous AI agent that attacked it for two weeks 4 Dec 2026Daily AI Brief: the AI news that matters, in your inbox.