Hackers compromised Microsoft Agent Framework Python package on PyPI
Hackers compromised Microsoft's official Agent Framework Python package on PyPI, publishing two malicious versions (1.26.1 and 1.26.2) on November 17, 2026. The toolkit, which has roughly 200,000 monthly downloads, is used for building AI agents. The malicious releases contained a credential stealer that executed automatically during Python startup, even if the package was not imported. Security…
Key points
- Hackers published malicious versions 1.26.1 and 1.26.2 of Microsoft's Agent Framework on PyPI on November 17, 2026.
- The malware stole cloud credentials for Azure, AWS, GitHub, and OpenAI, exfiltrating data to an attacker-controlled endpoint.
- PyPI quarantined the releases, but the attacker published a second version minutes later, retaining access to the project.
PyPI quarantined the first malicious release, but the attacker published a second version approximately 2.5 minutes later, indicating they retained publishing access. Both versions exfiltrated data to a specific attacker-controlled webhook endpoint. It remains unclear how the attacker gained access to Microsoft's official PyPI project. Microsoft has not responded to inquiries about the breach point. Developers who installed these versions are advised to isolate affected environments, avoid running Python or pip until secured, and rotate any potentially exposed credentials immediately.
Hackers compromised Microsoft's Agent Framework Python package on PyPI, publishing two versions designed to steal cloud credentials and other information
bleepingcomputer.com · 19 November 2026
Loading the full article…
This text was published by bleepingcomputer.com and written by Bill Toulas. It is reproduced here with attribution so you can read it in full; the rights remain with the publisher. Read it at the source ↗
Coverage and discussion
2sources- Hacker News discussion · 17 pointsnews.ycombinator.com
- Microsoft's official Python agent framework hijacked to distribute malwarePress · theregister.com ·
The headline, key points and digest above were generated by Digest AI's editorial model from the linked sources. Automated summaries can contain errors: the sources are the record. Spotted a mistake? Tell us. Published by Martin K., who runs Digest AI and handles corrections.
More in Agents & Tools
All →- A thought on why Docker Sandboxes might be the only choice for safely letting Claude Code 'run autonomously'. · 1 src
- Apple reportedly hires manager to build AI agent rivaling OpenAI, Meta, Anthropic · 2 src
- Sarvam AI ships 105B checkpoint for on-premises enterprise agents at $0.15 per million tokens · 1 src
- Anthropic adds Code and Projects tabs to Claude mobile app · 1 src
- Visa CLI adds card verification for AI agents and OUSD payouts · 1 src
Comments
via GitHub Discussions