Microsoft has apologized for keeping its Agent Framework repository offline after two credential-stealing versions of its Python package appeared on PyPI. The company has not given a date for restoring access.
The unauthorized releases were versions 1.26.1 and 1.26.2 of the agent-framework meta-package. Both were uploaded to PyPI on November 17. Microsoft says the malicious code was distributed through PyPI, not through the repository.
When The Register reported the incident on November 18, a Microsoft spokesperson said the company was investigating and “will take further action as needed.”
Read nextMicrosoft makes Foundry voice agents generally available and adds agent optimization previewsMicrosoft says the malicious releases are gone
In a November 25 update, Microsoft principal product architect Dan Taylor wrote: “Both contained code that steals credentials. Both have been removed from PyPI.” He said only the agent-framework Python meta-package was affected. “Other Microsoft Agent Framework Python packages were not affected,” he wrote. .NET packages and Semantic Kernel were also unaffected.
Anyone who installed either malicious version should treat the affected machine, container, or CI job as compromised. The code runs when Python starts, even if an application never imports the package.
Microsoft advises those users to rotate every credential the environment could access, rebuild from a clean image rather than downgrade in place, remove cached and mirrored copies, and check cloud and CI audit logs for suspicious activity. Users who installed neither version should pin agent-framework to 1.26.0 or pin the specific sub-packages they need while awaiting further guidance.
Repository access has no return date
Taylor said the repository would stay unavailable until Microsoft could establish that restoring it was safe. “Microsoft Agent Framework has not been discontinued,” he wrote. He called the shutdown “a necessary precaution” and said, “We're working to restore access as soon as possible.”



