Two Python releases of Microsoft's Agent Framework, agent-framework 1.26.1 and 1.26.2, were quarantined by PyPI after an Upwind Security researcher reported malicious code in their distribution files. Microsoft framework maintainer Vincent Biret confirmed in the project's GitHub issue that both versions had been pulled from the package feed and that the project was investigating. PyPI's version pages independently show the quarantine status and advise users to use 1.26.0. The public evidence identifies affected package versions; it does not establish who uploaded them or how the upload account or pipeline was accessed.
What the researcher says the packages did
Lidor Machluf's report says version 1.26.1 added a Python .pth startup hook and supporting code that ran when Python started in an environment containing the package. The report says the later 1.26.2 release also contained a startup hook, with a changed payload. Its analysis describes collection of credentials and tokens accessible to the affected process and outbound transfer to a webhook.site endpoint. These are the researcher's technical findings, not a published Microsoft postmortem; VIBPS has not independently detonated or reproduced the packages.
The maintainer's public response is narrower: versions 1.26.1 and 1.26.2 were pulled, and investigation was continuing. The issue's title and researcher analysis characterize the releases as malicious, while Microsoft's comment confirms the removal but does not publish its own root-cause or impact analysis. Treat that distinction as material when assessing what is known.
Which versions and installations should teams check?
The report gives the first upload time as November 17 at 20:35 UTC and the second as 21:08 UTC. PyPI's pages for both releases mark them quarantined. The researcher says 1.26.2 was uploaded after 1.26.1 had been removed, and warns that copies can remain in pip or uv caches, continuous-integration caches, private mirrors and built container images even after a public package is quarantined. Microsoft's issue comment confirms both versions were pulled from the feed, but it does not state how many downloads or installations occurred.
For an initial inventory, check lockfiles, resolved dependency reports, CI logs, package caches, internal indexes and deployed images for the exact package name and versions 1.26.1 or 1.26.2. Do not infer exposure merely because a project depends on Microsoft Agent Framework: the versions matter. PyPI's release pages point users to 1.26.0, and the researcher recommends pinning that version while the maintainers investigate. Confirm the package's current status and any later maintainer guidance before changing a production dependency.
If an environment installed either release
Treat an environment that installed or executed either version as potentially exposed until your security team has assessed it. The report warns that starting a Python process while the hook is present may execute the payload, so avoid casually running Python-based cleanup commands in a potentially affected environment before reviewing the researcher's cleanup guidance. Use your incident-response process from a trusted host: preserve relevant logs and images, isolate affected runners where appropriate, and follow current instructions from Microsoft, PyPI and your security team. The researcher recommends removing the named startup hooks, rebuilding environments from a verified release and rotating credentials that could have been available to the process. Validate those steps against your operating system and environment; do not paste a broad deletion command into production without review.
The researcher also advises reviewing identity-provider and CI activity for the exposure window. Prioritize credentials and tokens actually present in the affected process or host, and assess cloud or repository permissions before rotation. The available public response does not confirm that any particular customer's secrets were accessed, that an upload credential was revoked, or that an attacker has been identified.
What is confirmed, and what is still open?
The public record supports a concise status: PyPI quarantined the two named releases; the Microsoft project maintainer said both were pulled; and an Upwind researcher published a detailed analysis describing startup-hook behavior and credential collection. The project's public issue says an investigation is under way. Attribution, the initial access path, the complete population of affected users and any confirmed exfiltration from customer systems remain unconfirmed in the cited public statements. Watch the project issue and PyPI pages for updated guidance.
This is a dependency-distribution incident, distinct from a vulnerability in the framework's intended agent APIs. For software makers, it is a reminder to retain exact dependency versions and build provenance and to keep CI credentials narrowly scoped. VIBPS has also covered guidance on separating OAuth clients for AI agent integrations; that article addresses how application teams bound credentials, while this incident concerns a package distribution under investigation.
How should you separate OAuth clients for AI agent integrations?
