Thirteen days offline, no restore date

Microsoft’s Agent Framework repository is still unavailable, nearly two weeks after two malicious releases of its Python package were uploaded to PyPI. In a status update published on 25 November, principal product architect Dan Taylor apologised for the disruption and said the repository “will remain unavailable until we can confidently determine it is safe to re-enable.”

Taylor gave no timeline. “We’re working to restore access as soon as possible, but don’t yet have a confirmed timeline,” he wrote, calling the shutdown “a necessary precaution.” He also stated plainly that “Microsoft Agent Framework has not been discontinued.”

The malicious code was not in the repository. On 17 November, two versions of the agent-framework Python package — 1.26.1 and 1.26.2 — were uploaded to PyPI without authorisation. “Both contained code that steals credentials,” Taylor wrote. Both have been removed. Only the agent-framework Python meta-package was affected; other Microsoft Agent Framework Python packages, the .NET packages and Semantic Kernel were not.

A warehouse aisle lined with shrink-wrapped cardboard boxes stacked high on pallets
Palletised boxes in a warehouse. Illustration for a story about software packages, not a photograph of any affected system. Freek Wolsink · pexels · Pexels License

How to tell whether you got one

The two releases were live for a short time on 17 November, and Microsoft’s advice assumes many users will not know whether they installed one. You could have received a bad version by installing or upgrading agent-framework without a version pin, by running CI or a container build without a pin or lockfile, or by merging an automated dependency update.

PyPI removing a package does not remove copies already downloaded. Microsoft tells users to check lockfiles, pip freeze output, CI logs, container images, internal package mirrors, artifact proxies and pip caches.

There are specific indicator files to look for in site-packages. Version 1.26.1 leaves agent_framework_meta.pth and agent_framework_meta/_telemetry.py. Version 1.26.2 leaves af_runtime_diag.pth and af_runtime_diag.py.

Lengths of heavy steel chain laid out in rows, links darkened and streaked with rust
Steel chain links. Illustration for a story about a software supply chain, not a photograph of any Microsoft system. Jan van der Wolf · pexels · Pexels License

If you installed one, assume compromise

Microsoft’s instruction is unambiguous: treat the machine, container or CI job as compromised. The reason is the delivery mechanism. “The code runs when Python starts in that environment, even if your application doesn’t import the package,” Taylor wrote — a .pth file executes at interpreter startup, so never importing agent-framework is no protection.

The company tells affected users to rotate every credential the environment could reach, naming cloud identities, CI/CD and package registry tokens, API keys and Git credentials. Rebuild from a clean image rather than downgrading in place, and remove affected environments, images, caches and copies held in internal mirrors or proxies. Review cloud and CI audit logs from 17 November onward for unrecognised activity.

For everyone else, the guidance is to pin to agent-framework==1.26.0 — or pin the exact sub-packages needed — and hold there until Microsoft says otherwise.

What to watch

The restore date, and what Microsoft says when it arrives. A repository taken offline as a precaution and held there for two weeks without a timeline implies an investigation into how the upload happened at all, and that is the part of the incident Microsoft has not yet described.