Security · High impactFan score 50 · Tier B11 sources
Credential stealer slipped into Microsoft’s official Python agent framework
Help Net Security · By Sinisa Markovic ·
The Brief · written from 11 sources
- Versions 1.26.1 and 1.26.2 of Microsoft's agent-framework on PyPI were published on November 17, 2026 with an added credential stealer.
- The malicious code runs as Python startup hooks on every Python start and targets Azure, Azure DevOps, and GitHub Actions credentials.
- The package gets almost 200k downloads a month; the malicious versions have since been quarantined.
Why it matters
Any developer or CI pipeline that installed agent-framework 1.26.1 or 1.26.2 may have had cloud and CI/CD credentials stolen, so exposure should be assumed for those environments until checked.
Who’s affected
- Anyone who installed agent-framework 1.26.1 or 1.26.2 from PyPI
- Teams running agent-framework in Azure or CI/CD pipelines
What to do
- Check whether agent-framework 1.26.1 or 1.26.2 is installed in any environment or lockfile
- Rotate Azure, Azure DevOps, and GitHub Actions credentials in systems that ran those versions
- Pin agent-framework to a version other than 1.26.1 and 1.26.2
- agent-framework 1.26.1
- agent-framework 1.26.2
- #python
- #pypi
- #supply-chain
- #credential-theft
- #azure
- #microsoft
Two releases of Microsoft’s official agent-framework package on the Python Package Index (PyPI) carried code that steals cloud and CI/CD credentials from developers’ systems. Agent Framework is Microsoft’s open-source toolkit for building AI agents and running them in workflows…
Timeline
Full coverage · 11 sources
- 1h ago ↗
Help Net Security
Credential stealer slipped into Microsoft’s official Python agent framework
- 11h ago ↗
- 21h ago ↗
www.theregister.com - Articles
Microsoft's official Python agent framework hijacked to distribute malware - 21h ago ↗
- 22h ago ↗
DEV Community: python
MAI Code 2 on Stage, .pth Credential Theft on PyPI: The Microsoft Agent Framework Breach - 1d ago ↗
- 1d ago ↗
The Hacker News
Attackers Compromise Microsoft's Agent Framework PyPI Package to Steal Cloud Credentials - 1d ago ↗
Step Security Blog
Microsoft agent-framework PyPI Package Compromised - 2d ago ↗
- 2d ago ↗
Wiz Blog | RSS feed
Microsoft agent-framework Compromised: Credential Stealer Targets Azure and CI Pipelines - 2d ago ↗
Aikido Security's Blog
Two malicious agent-framework releases hit PyPI in 33 minutes