Microsoft has no date to restore Agent Framework repository
Microsoft says its Agent Framework repository stays offline as a precaution after two credential-stealing agent-framework releases were pushed to PyPI on 17 November.
- What happened
- Microsoft says its Agent Framework repository will stay offline until it is confident restoring it is safe, and it has no confirmed timeline.
- What’s new
- In a 25 November update, Microsoft confirmed that agent-framework 1.26.1 and 1.26.2 stole credentials and set out cleanup and version-pinning steps.
- Why it matters
- Anyone who installed either release should consider any machine, container or CI job that ran it compromised and rotate every credential it could reach.
Microsoft has apologised for keeping its Agent Framework repository offline but says it cannot yet give a date for restoring it. In a 25 November post, principal product architect Dan Taylor called the outage a necessary precaution. He said the repository will stay unavailable until Microsoft is confident it is safe to bring back. He also stressed that the framework has not been discontinued.
The outage follows the unauthorised publication to PyPI on 17 November of agent-framework 1.26.1 and 1.26.2, two releases of the Python package. Microsoft says both releases contained code that steals credentials and both have since been removed from PyPI. According to Microsoft, the malicious code was confined to the PyPI releases and never in the repository. Only the agent-framework meta-package was affected. Other Agent Framework Python packages, the .NET packages, Semantic Kernel and version 1.26.0 and earlier are not affected. When The Register first reported the incident on 18 November, a Microsoft spokesperson said the company was investigating.
Removing the releases from PyPI does not delete copies that were already downloaded. Microsoft recommends checking lockfiles, CI logs, container images, internal mirrors and pip caches. In site-packages, the indicator files are agent_framework_meta.pth for 1.26.1 and af_runtime_diag.pth for 1.26.2. The malicious code runs whenever Python starts in that environment, even if the package is never imported.
For anyone who installed either release, Microsoft advises the following:
- Treat the environment as compromised.
- Rotate every credential it could access.
- Rebuild from a clean image rather than downgrading in place.
- Check cloud and CI audit logs from 17 November onward.
Everyone else should pin agent-framework to 1.26.0, or lock the particular sub-packages they rely on, until Microsoft issues further guidance.