News · AI NEWS

Microsoft’s Agent Framework PyPI package was hijacked to steal cloud and CI credentials

· Beijing time

Summary

BleepingComputer reported on November 18 that attackers compromised Microsoft’s official Agent Framework Python package on PyPI, publishing malicious versions 1.26.1 and 1.26.2 on November 17. The open-source toolkit for building and coordinating AI agents has about 200,000 monthly PyPI downloads. Both poisoned releases still depended on the legitimate agent-framework-core 1.26.0 package, so the framework could appear to work normally while a credential stealer ran automatically at Python startup, even if the Agent Framework package was not imported. Socket, Step Security, and Ox Security documented the attack. Version 1.26.1 harvested secrets from environment variables, local configuration files, and other processes where permissions allowed, targeting Azure, AWS, GitHub, Docker, Hugging Face, OpenAI, and other services, and tried to obtain Azure managed-identity access tokens and Azure DevOps OIDC tokens. Version 1.26.2 added GitHub Actions OIDC token requests and searches of GitHub runner directories. Both versions exfiltrated data to the same attacker-controlled webhook.site endpoint. After PyPI quarantined the first release, the attacker published the second about two and a half minutes later; it was quarantined about eight minutes after that, indicating that publishing access remained after the first takedown. It was not clear how the attacker gained the ability to publish under Microsoft’s official project. Developers who installed either version should isolate affected environments, rebuild from a known-clean environment pinned to the safe 1.26.0 release, and immediately rotate any credentials that may have been exposed.

#Microsoft#security#PyPI#agents#open-source

This summary reflects the cited source. Visit the original for its full context.

← All AI news