Skip to content
VECTOR WIREAI INTELLIGENCE
UTC
Home

Microsoft keeps Agent Framework repository offline after PyPI malware breach

Developers using Microsoft's agent-framework must pin version 1.26.0 and rotate credentials as the source repository remains offline after a PyPI breach.

Microsoft has kept its Agent Framework repository offline without a restoration date and apologized for the outage, following the unauthorized publication of two malicious Python package releases containing credential-stealing code1,2. Unauthorized versions 1.26.1 and 1.26.2 of the agent-framework Python meta-package were uploaded to PyPI on November 17, 2026. Vector Wire reported on November 18, 2026, that two malicious versions of Microsoft's official agent-framework Python package were published to PyPI on November 17, 2026, installing a credential stealer that runs automatically on every Python interpreter start[1]. The Register also reported the incident on November 18, and Microsoft stated then that it was investigating.

The compromised releases used a .pth hook mechanism that executed automatically whenever the Python interpreter started in an affected environment, requiring no package import or function call by the user. The malware targeted Azure CLI credentials, GitHub Actions tokens, DevOps tokens, and environment variables and credential files associated with npm, pip, Docker, Git, and Hugging Face Inc.. PyPI quarantined and removed the two versions around 21:30 UTC on November 17, within roughly an hour of upload. The agent-framework package receives roughly 190,000 to 200,000 downloads per month on PyPI, where a meta-package functions as a bundle that pulls in underlying components upon installation.

Dan Taylor, principal product architect at Microsoft, stated in a November 25 update that the repository would stay unavailable until the company establishes that restoring access is safe. Taylor said the malicious code never resided in the source repository itself and confirmed the project will not be discontinued. Microsoft noted that only the agent-framework Python meta-package was affected, leaving other Microsoft Agent Framework Python packages, .NET packages, and Semantic Kernel unimpacted.

Microsoft recommends that developers pin version 1.26.0, which was the last clean release published on November 12. Users who installed version 1.26.1 or 1.26.2 are advised to treat their environments as compromised and rotate all credentials immediately. Microsoft shipped Version 1.0 of the Agent Framework on April 3, 2026, pitching it as its consolidated toolkit for building AI agents and the successor to AutoGen and Semantic Kernel.

Was this useful?

The day’s vector, in your inbox.

Vector Wire Daily: one dispatch each publishing day.