Credential-stealing PyPI releases trigger cleanup warnings, but there's still no timetable for restoring repo access.
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 noted Microsoft was investigating and "will take further action as needed.".
Recent findings suggest that in a November 25 update, Microsoft principal product architect Dan Taylor stated the repository would remain unavailable until the manufacturer could establish that it was safe to restore. "Microsoft Agent Framework has not been discontinued," he added.
Recent findings suggest that 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.".
Sources indicate that 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.
It has been revealed that 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. ยฎ.
