The monthly · N° 1 · November 2026
Back to the issue
React
Share

From the daily edition · 19 Nov 2026Safety and security

Microsoft's agent-framework package on PyPI carried a credential stealer, according to Wiz

Versions 1.26.1 and 1.26.2 were gone by 21:30 UTC on 17 November; Wiz says the attacker appears to have compromised a client certificate and private key for Microsoft's ESRP release service.

326 wordsPublished 19 Nov 2026

It rests on 12 checked facts from 2 sources.

Open on ainotis.com

Anyone who installed version 1.26.1 or 1.26.2 of Microsoft's agent-framework Python package from PyPI on 17 November 2026 should follow Wiz's advice: pin to 1.26.0, check lockfiles, CI logs, virtualenvs and container images for the two versions, and rotate every secret present on affected hosts and runners.

Wiz Research says both versions carried a credential stealer aimed at Azure, Azure DevOps and GitHub Actions, and that the last safe version is 1.26.0.

Wiz says the first malicious version was published at 20:35 UTC and the second at about 21:08 UTC, and both were gone from PyPI by about 21:30 UTC. PyPI's release metadata, which we opened on 18 November, lists 1.26.0 as the latest version and no 1.26.1 or 1.26.2. Wiz says the package gets about 41,000 downloads a week.

Wiz says the stealer ran through a .pth file that Python loads on every start, so it could run even if the package was never imported. It says the stealer took environment variables, credential files and cloud tokens, and that the second version added GitHub Actions token theft.

Wiz found that the free webhook the attacker used accepted only 100 requests; it says the remaining seventeen requests it captured were three unique, successful thefts of victim data.

Wiz says the attacker appears to have compromised a client certificate and private key for Microsoft's internal release-signing service, and that how is not yet known. Wiz says it reported its findings to Microsoft on 17 November.

On AI, Wiz says the attacker's tooling identified itself as Cairn, an open-source AI penetration-testing framework, and that a configuration it captured appears to be the open-source Pi harness backed by a GLM-family model. Wiz says it found the operation because that tooling reported its own progress to a public webhook.

How we checked this · the sources12 checked facts from 2 sources.
  1. Microsoft agent-framework Compromised: Credential Stealer Targets Azure and CI Pipelines · Wiz · archived copy

    1. Wiz says versions 1.26.1 and 1.26.2 of the Microsoft PyPI package agent-framework were published with an added credential stealer, the first at 20:35 UTC on 17 November 2026 and the second at 21:08 UTC.
      checked 18 Nov 2026
      At 20:35 UTC on November 17, 2026, a malicious version (1.26.1) of the agent-framework package
    2. Wiz says both versions were no longer available on PyPI as of 21:30 UTC and that the most recent safe version is 1.26.0.
      checked 18 Nov 2026
      As of 21:30 UTC, both versions were no longer available on PyPI. The most recent safe version is 1.26.0.
    3. Wiz says the agent-framework package gets about 41,000 downloads a week.
      checked 18 Nov 2026
      The package gets about 41,000 downloads a week.
    4. Wiz says the malicious versions dropped a .pth file into site-packages, which Python runs on every interpreter start, so the stealer runs even if agent-framework is never imported.
      checked 18 Nov 2026
      Python runs .pth files on every interpreter start.
    5. Wiz says the stealer focused on Azure and Azure DevOps and collected environment variables, credential files, OIDC tokens and managed-identity tokens, and that version 1.26.2 added GitHub Actions OIDC token theft.
      checked 18 Nov 2026
      The stealer is focused on Azure and Azure DevOps. ... GitHub Actions OIDC theft. In workflows with id-token: write, it requests OIDC tokens for
    6. Wiz says the free webhook the attacker used accepts at most 100 requests, and that the remaining seventeen requests of those it captured represent only three unique, successful cases of exfiltration of victim data.
      Toned downchecked 18 Nov 2026
      accepts at most 100 requests. ... The remaining seventeen requests represent only three unique, successful cases of exfiltration of victim data.
    7. Wiz says the attacker appears to have compromised a client certificate and private key for Microsoft ESRP, the internal service Microsoft uses to sign and publish this package, and that how the credentials were obtained is not yet known.
      checked 18 Nov 2026
      The attacker appears to have compromised a client certificate and private key for Microsoft ESRP (Engineering System Release Pipeline). ... How the credentials were obtained is not yet known.
    8. Wiz says it promptly reported its findings to Microsoft on 17 November 2026.
      checked 18 Nov 2026
      Wiz promptly reported these findings to Microsoft on the 17th.
    9. Wiz recommends pinning to 1.26.0, checking lockfiles, CI logs, virtualenvs and container images for the two malicious versions, and rotating every secret present on affected hosts and runners.
      checked 18 Nov 2026
      Pin to 1.26.0. ... rotate every secret that was in the environment
    10. Wiz says the attacker's tooling identifies itself as Cairn, an open-source AI penetration-testing framework, and that a captured configuration appears to be the open-source Pi harness backed by a GLM-family model.
      checked 18 Nov 2026
      The tooling identifies itself as Cairn. ... appears to be the open-source Pi harness backed by a GLM-family model.
    11. Wiz says it found the operation because the attacker's tooling reported its own progress to the same publicly accessible webhook it used for exfiltration.
      checked 18 Nov 2026
      The attacker's tooling reported its own progress to the same publicly accessible webhook it used for exfiltration.
  2. agent-framework on PyPI (release metadata) · PyPI · archived copy

    1. PyPI's release metadata for agent-framework, opened on 18 November 2026, lists 1.26.0 as the latest version and lists no release 1.26.1 or 1.26.2.
      checked 18 Nov 2026

Next in this issue11 of 11The record

OpenAI paused 25% of its production engineering projects, Brockman says

The monthly · N° 1 · November 2026 Back to the issue