International
The Morning Dev

Only the news worth knowing

‹
 
B50/100

Supply-chain attack · critical

Credential stealer found in Microsoft agent-framework PyPI releases

Tier B · Patch this week – Put it in the sprint

Who’s exposed: Developers and CI pipelines installing agent-framework 1.26.1 or 1.26.2 from PyPI

Tier B because: Exploited in the wild OR public exploit

Reach

Attack

Damage

Fix

Exploited in the wild · Full takeover · Secrets exposed · Supply chain

What to do

  1. Check whether agent-framework 1.26.1 or 1.26.2 is installed in any environment or lockfile
  2. Rotate Azure, Azure DevOps, and GitHub Actions credentials in systems that ran those versions
  3. Pin agent-framework to a version other than 1.26.1 and 1.26.2

The Brief

  • Versions 1.26.1 and 1.26.2 of Microsoft's agent-framework on PyPI were published on November 17, 2026 with an added credential stealer.
  • The malicious code runs as Python startup hooks on every Python start and targets Azure, Azure DevOps, and GitHub Actions credentials.
  • The package gets almost 200k downloads a month; the malicious versions have since been quarantined.

Why it matters

Any developer or CI pipeline that installed agent-framework 1.26.1 or 1.26.2 may have had cloud and CI/CD credentials stolen, so exposure should be assumed for those environments until checked.

The checklist behind the tier

Checklist · 5 of 10 yes
YesHits tech teamsJudgment: agent-framework is a Python SDK developers build with and run, so it is in scope.
NoCore infrastructureJudgment: a single Microsoft framework package, not software nearly every team runs like OpenSSH or npm as a whole.
NoPopular toolJudgment: about 190-200k monthly PyPI downloads (Wiz, DEV Community) is notable but not mainstream top-tier tooling.
YesExploited in the wildWiz Blog: malicious versions 1.26.1 and 1.26.2 were published with an added credential stealer and then quarantined.
NoPublic exploitSources describe the malicious payload and its behaviour, but none says a working exploit or PoC was published as such.
NoRemote, no loginSupply-chain compromise: the malware runs when a victim installs the package and starts Python; no unauthenticated network attack is described.
YesFull takeoverAikido Security's Blog: the credential stealer runs on every Python start, which is code execution on the developer's system.
YesSecrets exposedStep Security Blog: releases harvest cloud and CI/CD credentials and send them to a webhook.site endpoint.
YesSupply chainBleepingComputer: hackers compromised Microsoft's official Agent Framework Python package on PyPI and published two malicious versions.
NoNo fix yetThis is a breach, not a vulnerability; Wiz Blog reports the malicious versions were quarantined, and no source describes a patched release.

Timeline

  1. Versions 1.26.1 and 1.26.2 published on PyPI with a credential stealer (20:35 UTC)

  2. Malicious versions quarantined

  3. Aikido Security's Blog

    Two malicious agent-framework releases hit PyPI in 33 minutes

  4. Wiz Blog | RSS feed

    Microsoft agent-framework Compromised: Credential Stealer Targets Azure and CI Pipelines

  5. Socket

    Microsoft’s agent-framework PyPI package Compromised with Credential Stealer

  6. Step Security Blog

    Microsoft agent-framework PyPI Package Compromised

  7. The Hacker News

    Attackers Compromise Microsoft's Agent Framework PyPI Package to Steal Cloud Credentials

  8. SecurityWeek

    Microsoft Agent Framework Releases Poisoned With Credential Stealer

  9. DEV Community: python

    MAI Code 2 on Stage, .pth Credential Theft on PyPI: The Microsoft Agent Framework Breach

  10. BleepingComputer

    Microsoft’s Agent Framework PyPI package compromised to steal credentials

  11. www.theregister.com - Articles

    Microsoft's official Python agent framework hijacked to distribute malware

  12. Techmeme

    Hackers compromised Microsoft's Agent Framework Python package on PyPI, publishing two versions designed to steal cloud credentials and other information (Bill Toulas/BleepingComputer)

  13. Help Net Security

    Credential stealer slipped into Microsoft’s official Python agent framework

Full coverage · 11 sources

First seen · 11 sources · Full story page · How tiers are decided