Poisoned copies of Microsoft's AI agent toolkit stole developers' cloud passwords
19 November 2026, updated 20 November 2026
Two fake releases of Microsoft's Agent Framework Python package carried code that stole cloud and developer credentials.
- Why it matters
- Any machine or build server that installed them may have leaked Azure, GitHub and other keys to attackers.
- Try this
- Search your projects and build servers for agent-framework 1.26.1 or 1.26.2 and rotate keys if found.
The details
Versions 1.26.1 and 1.26.2 of agent-framework were published to PyPI on 17 Nov, 33 minutes apart, and later quarantined. They ran on every Python start, even without being imported, and sent environment variables, credential files and Azure tokens to an outside web address; 1.26.2 also went after GitHub Actions tokens. How the attacker got publishing access is not known.
Incident status
- Active
- Contained
- Patch out
- Resolved
What to do
- Remove agent-framework 1.26.1 and 1.26.2 and pin a known-good version
- Rotate Azure, GitHub, npm, PyPI, Docker and Hugging Face credentials on affected machines
- Check developer laptops and CI runners that installed either version
- Look for unexpected .pth files in Python site-packages folders
- Treat any machine that installed agent-framework 1.26.1 or 1.26.2 as compromised and rotate its cloud keys
Timeline
- 20 November 2026Wiz says the attacker appears to have used a stolen certificate for Microsoft's internal release pipeline. A maintainer confirmed the bad versions 1.26.1 and 1.26.2 were removed and an investigation is under way.
- 19 November 2026Malicious versions 1.26.1 and 1.26.2 appeared on PyPI on 17 Nov and were quarantined (The Hacker News, GBHackers, 18 Nov). No source names the attacker or how publishing access was gained.
Based on reporting by The Hacker News. Read their full coverage for details.