Technology news and discussion on TalkFuse.
Microsoft’s official Python agent framework hijacked to distribute malware
Microsoft’s Python agent-framework package on PyPI was compromised, and versions 1.26.1 and 1.26.2 install malware that steals developer credentials and other secrets. The incident matters because the package is used to build AI agents and has nearly 200,000 downloads a month, exposing a large potential user base.
The malware runs when a Python interpreter starts with the package installed, even if the package is not imported. It collects environment variables and credential files, requests fresh identity tokens from GitHub Actions, Azure DevOps and Azure, then sends the data to a hard-coded webhook address; Microsoft said it had made some repositories private while investigating.
In short
- Microsoft’s Python agent package was hijacked.
- Versions 1.26.1 and 1.26.2 steal developer secrets.
- Microsoft made some repositories private during its investigation.