Microsoft Agent Framework PyPI compromise: check Azure and CI credentials

A removed package can still reach a build runner through a cache. If you use Microsoft Agent Framework for Python, check the version installed in each environment and the identities that environment could reach.

A sealed software package with a split seal in front of softly lit build-server racks.

What was verified November 24, 2026

Two malicious releases of the PyPI agent-framework package, 1.26.1 and 1.26.2, were uploaded November 17. The GitHub Advisory Database published GHSA-764m-3ppc-5m73 November 18 UTC and updated it November 23. OpenSSF tracks the same package incident as MAL-2026-20101. The verified scope is those two Python package versions. The PyPI endpoints for both now return 404. Old wheels can still be present in internal mirrors, caches and baked images.

GitHub’s API classifies the advisory Critical and supplies no scored CVSS vector. The advisory documents distribution of malicious releases and credential-stealing behavior. It provides no CVE, KEV federal deadline, confirmed compromise for a particular customer, or Microsoft finding about how the releases were uploaded. PyPI still serves 1.26.0, the clean release identified by GitHub. It is a known-good rollback target, with no patched build designated for the malicious releases.

Assess the host and its credentials

Installing a malicious wheel introduces code that can run on Python startup without anyone importing the framework. Include developer environments, CI runners, deployed images and agent hosts in the review. In addition to local credential files and environment secrets, the registry advisory identifies Azure managed identity and Azure DevOps token exposure, with GitHub Actions OIDC token targeting in 1.26.2. Bound the response by the secrets and identity permissions available to that workload.

Suggested MSP priority is urgent for confirmed installations

Inventory lockfiles, software bills of materials, installed package records, pipelines, mirrors and image layers. Identify systems that installed either version and the cloud, repository and deployment identities they could access.

Isolate affected hosts or disable affected jobs. Preserve install, CI, cloud and network logs before cleanup. Block the two releases in package policy and quarantine cached copies. A removed public release can still exist in your build infrastructure.

From a clean admin environment, follow GitHub’s guidance to rotate reachable secrets and revoke applicable credentials. Review Azure and Entra activity, Azure DevOps run history and GitHub Actions activity for unexpected use. Contain the affected identities and review effective access in the relevant tenant while previously issued tokens may still be valid.

Rebuild from a trusted image and clean package source. Pin the approved, hash-verified 1.26.0 artifacts where needed. Confirm the installed version, runner identity, mirrors, rebuilt images and absence of the affected package from deployment paths. Track credential and host recovery separately.

GitHub Advisory Database · OpenSSF malware record · PyPI version 1.26.0 · Microsoft Entra access revocation guidance.

Share this article