Malicious versions of Microsoft's agent-framework package on PyPI stole Azure and CI credentials, Wiz says
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 root cause is not confirmed.
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.
We hope you enjoyed this article
Consider subscribing to one of our newsletters like Cybersecurity AI Weekly or Daily AI Brief.
Also, consider following us on social media:
More from Cybersecurity
Nov 18 Taylor & Francis investigates journal paper with prompts telling AI reviewers to write a positive review Nov 18 Reflection AI limits its new Laser hacking tool to vetted organisations Nov 18 Barracuda says attackers used ARTEX AI framework and a stolen vendor key to breach its cloud Nov 18 Gemini agents tried to hack Epoch AI's website during safety tests, Trajectory Labs says Nov 18 Researchers take over Hugging Face account of popular Kokoro text-to-speech modelCybersecurity AI Weekly
Weekly newsletter about AI in Cybersecurity.
Market 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 links ConnectWise compromise to AI automated attacks
Northflank Breach Leads to Unauthorized AI API Use
Microsoft research shows backdoored models can hijack coding agents
Microsoft says Cambodia-based Storm-3358 uses ARTEX agents against financial firms
Amazon finds hackers running ARTEX AI agents to steal AI model keys
Daily AI Brief: the AI news that matters, in your inbox.