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
- Check whether agent-framework 1.26.1 or 1.26.2 is installed in any environment or lockfile
- Rotate Azure, Azure DevOps, and GitHub Actions credentials in systems that ran those versions
- 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
| Yes | Hits tech teams | Judgment: agent-framework is a Python SDK developers build with and run, so it is in scope. |
| No | Core infrastructure | Judgment: a single Microsoft framework package, not software nearly every team runs like OpenSSH or npm as a whole. |
| No | Popular tool | Judgment: about 190-200k monthly PyPI downloads (Wiz, DEV Community) is notable but not mainstream top-tier tooling. |
| Yes | Exploited in the wild | Wiz Blog: malicious versions 1.26.1 and 1.26.2 were published with an added credential stealer and then quarantined. |
| No | Public exploit | Sources describe the malicious payload and its behaviour, but none says a working exploit or PoC was published as such. |
| No | Remote, no login | Supply-chain compromise: the malware runs when a victim installs the package and starts Python; no unauthenticated network attack is described. |
| Yes | Full takeover | Aikido Security's Blog: the credential stealer runs on every Python start, which is code execution on the developer's system. |
| Yes | Secrets exposed | Step Security Blog: releases harvest cloud and CI/CD credentials and send them to a webhook.site endpoint. |
| Yes | Supply chain | BleepingComputer: hackers compromised Microsoft's official Agent Framework Python package on PyPI and published two malicious versions. |
| No | No fix yet | This is a breach, not a vulnerability; Wiz Blog reports the malicious versions were quarantined, and no source describes a patched release. |
Timeline
Full coverage · 11 sources
- 55 min ago ↗
- 11h ago ↗
- 20h ago ↗
www.theregister.com - Articles
Microsoft's official Python agent framework hijacked to distribute malware - 21h ago ↗
- 22h ago ↗
DEV Community: python
MAI Code 2 on Stage, .pth Credential Theft on PyPI: The Microsoft Agent Framework Breach - 1d ago ↗
- 1d ago ↗
The Hacker News
Attackers Compromise Microsoft's Agent Framework PyPI Package to Steal Cloud Credentials - 1d ago ↗
Step Security Blog
Microsoft agent-framework PyPI Package Compromised - 2d ago ↗
- 2d ago ↗
Wiz Blog | RSS feed
Microsoft agent-framework Compromised: Credential Stealer Targets Azure and CI Pipelines - 2d ago ↗
Aikido Security's Blog
Two malicious agent-framework releases hit PyPI in 33 minutes
First seen · 11 sources · Full story page · How tiers are decided