Microsoft keeps Agent Framework offline after malware mess
Microsoft has apologized for keeping its Agent Framework repository offline following the publication of credential-stealing Python packages, but has given no date for restoring access.
The malicious code was distributed through two unauthorized releases on PyPI, not through the repository itself, according to Microsoft.
When The Register reported the incident on November 18, a spokesperson said Microsoft was investigating and "will take further action as needed."
In a November 25 update, Microsoft principal product architect Dan Taylor said the repository would remain unavailable until the company could establish that it was safe to restore. "Microsoft Agent Framework has not been discontinued," he added.
The two malicious versions of the agent-framework Python package, 1.26.1 and 1.26.2, were uploaded to PyPI on November 17. Taylor wrote: "Both contained code that steals credentials. Both have been removed from PyPI."
Only the agent-framework Python meta-package was affected. "Other Microsoft Agent Framework Python packages were not affected," according to Taylor. .NET packages and Semantic Kernel were also not impacted.
Taylor called keeping the repository offline "a necessary precaution," adding: "We're working to restore access as soon as possible."
Anyone who installed agent-framework 1.26.1 or 1.26.2 should treat the affected machine, container, or CI job as compromised. The malicious code runs when Python starts, even if the application never imports the package.
Microsoft advises rotating every credential accessible to that environment, rebuilding from a clean image rather than downgrading in place, removing cached and mirrored copies, and reviewing cloud and CI audit logs for suspicious activity.
Users who installed neither malicious release should pin agent-framework to version 1.26.0, or pin the specific sub-packages they need, pending further guidance. (R)