Microsoft has issued an apology concerning the outage of its Agent Framework repository subsequent to the distribution of Python packages designed to steal credentials. The company clarified that the harmful code spread via two unauthorized uploads to PyPI, rather than originating from the repository itself. When The Register brought the situation to light on November 18, a company representative stated that Microsoft was conducting an investigation and "will take further action as needed." In a communication issued on November 25, Dan Taylor, a principal product architect at Microsoft, indicated that the repository would stay inaccessible until the corporation could confirm its readiness for restoration. Taylor further stated, "Microsoft Agent Framework has not been discontinued."
The two tainted iterations of the agent-framework Python package, specifically versions 1.26.1 and 1.26.2, were uploaded to PyPI on November 17. Taylor detailed that, "Both contained code that steals credentials. Both have been removed from PyPI." The scope of the issue was limited solely to the agent-framework Python meta-package; Taylor confirmed that "Other Microsoft Agent Framework Python packages were not affected," and neither .NET packages nor Semantic Kernel experienced any impact.
Taylor characterized the decision to keep the repository offline as "a necessary precaution," adding that, "We're working to restore access as soon as possible." Operators who installed either agent-framework 1.26.1 or 1.26.2 must consider the associated machine, container, or CI job to be compromised. The malicious code executes upon the initiation of Python, even if the application does not import the package. Microsoft furnishes several directives for affected parties: they should cycle all credentials available to that operational environment, rebuild from a pristine image instead of modifying in place, eliminate any mirrored or cached copies, and examine cloud and CI audit logs for signs of suspicious operations. For users who did not install either of the malicious releases, the recommendation is to lock agent-framework to version 1.26.0, or to pin the specific sub-packages required, pending further official direction.
This situation underscores the critical need for rigorous supply chain vetting within open-source dependency management, as evidenced by the unauthorized package releases impacting core infrastructure components.
Why it matters
This incident highlights the risks associated with supply chain vulnerabilities in open-source dependencies, even when the repository itself is not compromised. Operators must immediately review their build environments and CI/CD pipelines to ensure no malicious code is running silently.






