Security · High impactFan score 71 · Tier A10 sources
Microsoft’s Agent Framework PyPI package compromised to steal credentials
BleepingComputer · By Bill Toulas ·
The Brief · written from 10 sources
- Microsoft's official agent-framework PyPI package had two malicious releases, 1.26.1 and 1.26.2, published on November 17, 2026 at 20:35 UTC.
- The versions install Python startup hooks that run a credential stealer on every Python start, targeting Azure, Azure DevOps, and GitHub Actions secrets.
- The stolen data is sent to a webhook.site endpoint. The malicious versions have since been quarantined on PyPI.
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 just by starting Python, so affected secrets should be treated as compromised.
Who’s affected
- Teams installing the agent-framework PyPI package
- Anyone running Azure or GitHub Actions pipelines that used agent-framework
- Developers whose Python environments imported agent-framework 1.26.1 or 1.26.2
What to do
- Check whether agent-framework 1.26.1 or 1.26.2 was installed in any environment, including CI runners and developer machines.
- Remove those versions and reinstall a release other than 1.26.1 and 1.26.2.
- Rotate Azure, Azure DevOps, and GitHub Actions secrets and any cloud identity tokens available in affected environments.
- Review cloud and CI logs for suspicious activity from affected systems.
- agent-framework 1.26.1
- agent-framework 1.26.2
- #pypi
- #supply-chain
- #credential-theft
- #python
- #azure
- #github-actions
Hackers compromised Microsoft's official Agent Framework Python package on PyPI, publishing two malicious versions designed to steal cloud credentials and other sensitive information from developers' systems. [...]
Timeline
Full coverage · 10 sources
- 2h ago ↗
- 12h ago ↗
www.theregister.com - Articles
Microsoft's official Python agent framework hijacked to distribute malware - 12h ago ↗
BleepingComputer
Microsoft’s Agent Framework PyPI package compromised to steal credentials
- 13h ago ↗
DEV Community: python
MAI Code 2 on Stage, .pth Credential Theft on PyPI: The Microsoft Agent Framework Breach - 18h ago ↗
- 22h 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 - 1d ago ↗
- 1d ago ↗
Wiz Blog | RSS feed
Microsoft agent-framework Compromised: Credential Stealer Targets Azure and CI Pipelines - 1d ago ↗
Aikido Security's Blog
Two malicious agent-framework releases hit PyPI in 33 minutes