TL;DR
Two releases of Microsoft’s agent-framework Python package, versions 1.26.1 and 1.26.2, contained credential-stealing code, according to the GitHub Advisory Database and security researchers. PyPI quarantined both releases, but users who installed either should treat the environment as exposed, rebuild it from a clean base and rotate credentials it could access.
Two malicious versions of Microsoft’s official agent-framework Python package were briefly available on PyPI on November 17, carrying code that searched affected environments for credentials, according to the GitHub Advisory Database and security researchers. PyPI quarantined both releases, but developers and organizations that installed versions 1.26.1 or 1.26.2 may need to rebuild those environments and rotate credentials they could reach.
Get the latest gadgets delivered free with Prime
- Fast, free delivery on millions of items
- Prime Video, Amazon Music and more included
- Member-only deals all year
The affected releases were published as 1.26.1 at 20:35 UTC and 1.26.2 at 21:08 UTC, according to the incident timeline in the source material. PyPI quarantined the first at about 21:06 UTC, around 31 minutes after publication, and the second at about 21:16 UTC, StepSecurity reported. The latest clean release identified in the GitHub advisory is 1.26.0, published November 12.
The code was designed to run when Python started in an affected environment, even if a program did not import the agent framework, the advisory says. The framework could continue working normally, making the compromise less visible to users. The malicious releases sought cloud keys, continuous-integration tokens and AI service credentials, according to the source material’s account of the advisory and researchers’ findings.
The GitHub Advisory Database classifies the incident as critical and says the credential stealer was absent from version 1.26.0. The source reports that the first release was uploaded as a wheel, a ready-to-install package file. The second release followed only minutes after the first was quarantined. PyPI removed both from availability, but copies in caches, mirrors or container images may remain.

Credentials at Risk Beyond Local Machines
The exposure could extend beyond the computer used to install the package. Build servers, continuous-integration pipelines and container images may hold cloud credentials, repository tokens and AI service keys that grant access to other systems. If an affected environment could read those secrets, removing or quarantining the package alone does not establish that the credentials remain safe.
The incident also highlights a practical limit of registry quarantine: it can stop new installations from the registry, but it does not remove versions already installed or copied elsewhere. StepSecurity said the second upload came shortly after the first quarantine and reported that the action did not immediately revoke the attacker’s publishing access. JFrog similarly warned that quarantining a version does not itself revoke a compromised publishing credential. The source material does not establish how that access was obtained.
Wiz said the package receives almost 200,000 downloads a month. That is a reported monthly download figure, not a count of affected installations. The available source material does not identify how many users installed either malicious version or how many credentials, if any, were successfully taken.
Products Worth Considering

Apple MacBook Air 13-inch Laptop with M5 Chip, 16GB Memory, 512GB SSD, Silver

Jackery Explorer 300 Portable Power Station, 292Wh

Bose SoundLink Revolve+ II Portable Bluetooth Speaker, Black
As an affiliate, we earn on qualifying purchases.
Five Days Between Clean and Malicious Releases
Microsoft’s Agent Framework is an open-source toolkit for building AI agents in Python and coordinating them in workflows. The PyPI package named agent-framework is an umbrella package that pulls in the framework’s core code and integrations. The source material describes it as the official package linked from Microsoft’s installation instructions.
Microsoft published version 1.26.0 on November 12. Five days later, the two suspect releases appeared. The OpenSSF malware database listed the incident as MAL-2026-20101 on November 17, while the GitHub Advisory Database published advisory GHSA-764m-3ppc-5m73 early on November 18. The source material says Socket, StepSecurity, Wiz, JFrog and Endor Labs independently analyzed the releases.
Wiz said it promptly reported its findings to Microsoft on November 17. Microsoft’s only statement included in the source material was to The Register: “We have made some repositories private while we investigate malicious content.” The source says it found no Microsoft security advisory at the time it was prepared.
“The credential stealer is not present in the last clean release, 1.26.0.”
— GitHub Advisory Database
Install Counts and Credential Theft Unknown
The source material does not say how many people or organizations installed versions 1.26.1 or 1.26.2, whether the stealer successfully obtained credentials, or whether any credentials were used after collection. The monthly download figure cited by Wiz does not answer those questions, and no total of affected environments is provided.
It is also unclear from the reported statements how the attacker gained publishing access, how long that access existed, and whether Microsoft has completed its investigation. The source says no Microsoft security advisory had been found when it was prepared; that does not establish whether one was issued later. PyPI quarantine status also cannot confirm whether affected copies remain in local environments, caches, mirrors or images.
Rebuild Environments and Rotate Secrets
The GitHub advisory recommends treating any environment that installed either affected version as exposed. Organizations should rebuild from a clean base using version 1.26.0 and rotate every credential that the affected environment could access, including CI and GitHub Actions secrets, as the advisory directs. They should also review whether those secrets were available in build systems, containers or other connected environments.
Users should follow current guidance from Microsoft, PyPI and the security advisories as the investigation develops. The source material does not provide a confirmed impact count or a timetable for a fuller Microsoft account of the incident. Any further findings about the publishing access, credential exposure or affected downstream systems remain to be reported.
Key Questions
Which versions of Microsoft’s agent-framework package were affected?
The reported affected PyPI releases are 1.26.1 and 1.26.2. The GitHub Advisory Database identifies 1.26.0 as the last clean release in its report.
Could the malicious code run if my application did not import the framework?
Yes. The GitHub advisory says the code ran when Python started in an affected environment, without importing agent_framework.
What should an organization do if it installed an affected version?
Treat that environment as exposed, rebuild it from a clean base on version 1.26.0, and rotate credentials it could access, including CI and GitHub Actions secrets, following the advisory’s guidance.
How many users or credentials were affected?
The supplied source material gives no confirmed count of affected installations or credentials successfully taken. Wiz’s estimate of almost 200,000 downloads per month is package download volume, not a count of installs of the malicious versions.
Did PyPI remove the malicious releases?
The source material says PyPI quarantined both releases and that they were no longer available there when checked on November 19, 2026. Quarantine does not remove copies already installed or stored in caches, mirrors or container images.
Source: Thorsten Meyer AI
