Developer News
Two unauthorized releases of Microsoft's agent-framework Python package, published on 17 November, carried credential-stealing code. Microsoft has kept the project's repository offline since and gives no return date. Summary of Microsoft's statement and press reports, not security advice.

Keep exploring
Microsoft's open-source toolkit for building AI agents was used to deliver malware, and the fallout is still not over. On 17 November 2026, two versions of the "agent-framework" Python package, 1.26.1 and 1.26.2, were uploaded to PyPI without authorization and both contained code that steals credentials, per Microsoft's own update. Microsoft has kept the project's repository offline since and, as of 30 November, has given no date for bringing it back, per The Register. This is a summary of Microsoft's statement and press reports, not security advice.
PyPI is the main public registry for Python packages. Microsoft says the bad code was in the published packages, not in the source repository, per Microsoft's own update. Both releases have been removed from PyPI. Only the "agent-framework" Python meta-package was affected, which is a bundle that pulls in other pieces when you install it. Other Agent Framework Python packages, the .NET packages and Semantic Kernel were not affected, and version 1.26.0 and earlier are clean.
CryptoBriefing reports PyPI quarantined the malicious code within about an hour of upload, around 21:30 UTC. That is fast, but automated build systems that fetch the newest version can pick up a package in minutes. The Dev Drift, citing security firm Wiz, says Wiz confirmed three separate cases where victim data was successfully sent to the attacker. We have not verified that independently.
The malicious versions run when Python starts in an affected environment, even if the application never imports the package, per Microsoft's own update and The Register. According to CryptoBriefing, the code went after Azure CLI credentials, GitHub Actions and DevOps tokens, and environment variables and credential files tied to npm, pip, Docker, Git and Hugging Face. The Dev Drift adds that the stolen data was compressed and sent out from a background process with errors hidden. Those details come from secondary reports. Microsoft's own post says only that the code "steals credentials" and points to the PyPI advisory for technical detail.
If you installed 1.26.1 or 1.26.2, Microsoft says to treat the machine, container or CI job as compromised, per Microsoft's own update. It lists three steps: rotate every credential the environment could reach, including cloud identities, CI/CD and package registry tokens, API keys and Git credentials; rebuild from a clean image instead of downgrading in place; and review cloud and CI audit logs from 17 November onward for activity you do not recognize. It also gives indicator files to look for in site-packages: agent_framework_meta.pth for 1.26.1, and af_runtime_diag.pth for 1.26.2.
If you never installed either version, Microsoft says to pin to agent-framework==1.26.0, or pin the exact sub-packages you need, until it gives more guidance.
CryptoBriefing says Agent Framework is the successor to Microsoft's earlier AutoGen and Semantic Kernel projects, reached version 1.0 on 3 April 2026, and sees roughly 190,000 to 200,000 downloads a month on PyPI. That is a large audience of developers who build AI agents, and those environments often hold powerful keys for cloud services and code pipelines.
Microsoft has not said how the attacker got permission to publish. The Dev Drift reports that Wiz believes a certificate and key for Microsoft's release pipeline appear to have been compromised, while a GitHub advisory has not tied the incident to a known campaign. We could not confirm either claim from a primary source. We also do not know how many people installed the bad versions, or when the repository will return. Microsoft says the project has not been discontinued. We found no Indonesia-specific information.
The lesson is not about one package. A trusted name on a package does not guarantee a trusted release, because the weak point here was the way packages reach developers, not the source code. Two practical habits would have limited the damage, per CryptoBriefing: pinning dependencies to known versions, and keeping fewer powerful credentials in build environments. Teams building AI agents in Python should check lockfiles, build logs and container images for the two bad versions. This is not security advice.
Cover: aerial photo of Microsoft's Redmond, Washington, campus from Wikimedia Commons, public domain, taken in 2009. Illustrative only. Not security advice.