Broke 0.6 Vistas Confirmed well documented Nov 19, 2026 their #48 worst broke on record

Microsoft's official Agent Framework PyPI package compromised to steal developer credentials

Threat actors published malicious versions of Microsoft's Agent Framework Python package on PyPI

↳ caused by PyPI agent-framework ↗

The market's verdict: -5.6% on MSFT in the week after.

Status: Confirmed

What actually happened

Attackers used a compromised Microsoft publishing credential to push two trojanized releases of the official agent-framework package to PyPI on November 17, 2026 — version 1.26.1 at 20:35 UTC and 1.26.2 thirty-three minutes later — each carrying a Python startup hook that executes on every interpreter launch with no import needed, exfiltrating environment variables, credential files (Azure CLI, .npmrc, .git-credentials, CI secrets), and cloud identity tokens in a single POST to a webhook.site endpoint. Per Wiz's analysis, the first publish attempt was rejected by the IP filtering of Microsoft's ESRP signing pipeline; the second, sent from Microsoft-owned IP space with a compromised client certificate, went through. PyPI quarantined both releases within about an hour — 1.26.2 landed while the attacker still held access — and both are now gone from the registry, with 1.26.0 the last safe version. Microsoft has made no public statement and published no advisory; researchers documented the whole chain, down to the attacker's tooling identifying itself as Cairn. Roughly 200,000 monthly downloads were exposed during the window.

This one is well documented.

Were you affected? Unbreak it

Pin 1.26.0, hunt the startup hooks, rotate everything ↗

pip show agent-framework          # 1.26.0 is the only safe version
grep -rl agent_framework_meta.pth "$(python -m site --user-site)" 2>/dev/null
grep -rl af_runtime_diag.pth "$(python -m site --user-site)" 2>/dev/null

Both malicious releases (1.26.1, 1.26.2) are gone from PyPI, but any machine or CI image that installed them on November 17 from 20:35 UTC onward ran the stealer on every Python start. Treat every secret those machines could reach as stolen: rotate Azure DevOps PATs and service connections, service principals, GitHub/npm/Hugging Face tokens, and .env contents; check egress and DNS logs for webhook.site; review Entra sign-in logs for pipeline service principals.

Links

  • Context
    • Nov 17, 2026 · Wiz (publication) · Deepest public analysis: ESRP client certificate compromised, first publish rejected by IP filtering, second from Microsoft-owned IP space succeeded; payload runs on every Python start; attacker tooling self-identified as Cairn.
    • Neowin (publication)
  • Aftermath
    • Nov 17, 2026 · Aikido Security (publication) · Timeline detail: 1.26.1 published 20:35 UTC, 1.26.2 at 21:08 UTC, both quarantined within the hour; startup hooks steal env vars, credential files, and IMDS/OIDC tokens.
    • Nov 20, 2026 · BleepingComputer (publication) · Same-day timing (Nov 17) but no established link: Bell Canada confirmed an 'agentic threat actor' stole enterprise customer data in a pre-production environment; Bell says attribution is unknown, and no reporting connects the breach to the PyPI compromise.
    • www.techradar.com (publication) · Same event, another outlet: TechRadar adds scale — roughly 175-200 thousand developers pull the agent-framework package monthly — and identifies the payload as an infostealer harvesting login credentials.
    • www.scworld.com (publication) · Same event, another outlet: SC World corroborates that the official agent-framework PyPI package was compromised to distribute a credential-stealing payload and cites further coverage from The Hacker News, with no takedown or fix timeline reported.
    • securityboulevard.com (publication) · Same event, another outlet: identifies the payload as two malicious package versions dropping a credential stealer that harvested Azure and CI secrets.
    • www.microsoft.com (publication) · Microsoft's November 25 threat-intel report on ARTEX — agentic AI framework abuse by Storm-0940, Storm-3358, Onyx Sleet, Pearl Sleet, Crystal Typhoon, and Salt Typhoon — is thematically adjacent supply-chain abuse of AI tooling, but never mentions PyPI or agent-framework.

↳ caused by PyPI agent-framework

Timeline

  • Nov 19, 2026 It broke
  • Nov 28, 2026 Confirmed PyPI quarantined both malicious releases within the hour on November 17 and the removals are verified; Wiz, Aikido, OX Security and Socket documented the ESRP certificate compromise. Microsoft has not commented.

Contact us

See something incorrect or missing? Tell us below. We read every message and check it against the sources. We value all feedback.