Microsoft's Official PyPI Package Agent Framework Hijacked, Attackers Planted Credential-Stealing Malware
IT之家 November 19 news: According to tech media TechRadar's report today, the Agent Framework software package officially published by Microsoft on PyPI was hijacked by hackers, who planted malware that steals login credentials and cloud platform tokens. Fortunately, the version implanted with malware existed for only 31 minutes before being deleted.

IT之家 has learned that Microsoft Agent Framework Python is an open-source toolkit with nearly 200,000 monthly downloads, helping developers build AI agents that can call tools, follow instructions, interact with other agents, and perform more complex tasks.
On November 17, hackers hijacked Agent Framework and released version 1.26.1, in which the malware executes automatically when Python starts, even if the runtime environment does not import the Agent Framework package.
At the same time, the package is designed to steal login credentials for services such as Azure, AWS, GitHub, Docker, Hugging Face, and OpenAI, and to obtain local configuration files and information from other processes.
PyPI detected the intrusion in just 31 minutes and quarantined the malicious version. But two minutes later, a second attack (1.26.2) followed. The new software added the ability to request GitHub Actions OIDC tokens and could also automatically search the GitHub Runner directory, but it was removed 8 minutes after release.
At present, it is still unclear whether this attack led to the leakage of developer information. If you have downloaded 1.26.1 or 1.26.2, please delete them immediately, carefully check your system for suspicious files, revoke existing login credentials, and check services such as Azure or AWS for unauthorized access.
Related Articles
- Microsoft XBOX went to great lengths to ride the 《GTA 6》 hype, yet never dared to mention the game's name directly
- Microsoft executive: What Claude and ChatGPT can do, Copilot can do better and cheaper
- Microsoft 纳德拉: AI doing online shopping on behalf of users will reshape internet business, and platforms that refuse to connect may lose opportunities
- Microsoft Win11 is brewing an "emerging risks" feature: alerts for vulnerabilities in third-party software / drivers
- Microsoft announces it is killing the To Do app, recommends users migrate to Microsoft Planner
- 黄仁勋's departure sparks discussion in the tech world: 马斯克 says he is irreplaceable, Microsoft 纳德拉 advises against deifying founders