Microsoft Agent Framework hit by malicious PyPI package, removed in 31 minutes

Microsoft's open-source Agent Framework Python toolkit gets nearly 200,000 downloads a month. It helps developers build AI agents that can call tools, follow instructions and interact with other agents.

The package was hijacked on PyPI. Version 1.26.1 carried malware that runs automatically when Python starts and steals credentials for Azure, AWS, GitHub, Docker, Hugging Face, OpenAI and other services, plus local config and process data.

PyPI found and isolated the malicious release in 31 minutes. Two minutes later, version 1.26.2 appeared, adding GitHub Actions OIDC token requests and a search for GitHub Runner directories; it was removed after 8 minutes.

It is still unclear whether developer data leaked. Anyone who downloaded 1.26.1 or 1.26.2 should delete them, check for suspicious files, revoke credentials and look for unauthorized cloud access.

SponsoredDomoAI
AI Tools Mentioned

Comments

Loading comments…