Supply-chain attack · high
Malicious Microsoft Agent Framework PyPI releases carry a credential stealer
Tier A · Patch today – Before you go home
Who’s exposed: Developers and CI pipelines installing agent-framework 1.26.1 or 1.26.2 with cloud secrets
Tier A because: Core infrastructure or popular tool AND exploited in the wild
Reach
Attack
Damage
Fix
Popular tool · Exploited in the wild · Full takeover · Secrets exposed · Supply chain
What to do
- Check whether agent-framework 1.26.1 or 1.26.2 was installed in any environment, including CI runners and developer machines.
- Remove those versions and reinstall a release other than 1.26.1 and 1.26.2.
- Rotate Azure, Azure DevOps, and GitHub Actions secrets and any cloud identity tokens available in affected environments.
- Review cloud and CI logs for suspicious activity from affected systems.
The Brief
- Microsoft's official agent-framework PyPI package had two malicious releases, 1.26.1 and 1.26.2, published on November 17, 2026 at 20:35 UTC.
- The versions install Python startup hooks that run a credential stealer on every Python start, targeting Azure, Azure DevOps, and GitHub Actions secrets.
- The stolen data is sent to a webhook.site endpoint. The malicious versions have since been quarantined on PyPI.
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 just by starting Python, so affected secrets should be treated as compromised.
The checklist behind the tier
Checklist · 6 of 10 yes
| Yes | Hits tech teams | Judgment: agent-framework is a Python developer library on PyPI used to build and run agent applications. |
| No | Core infrastructure | Judgment: a single framework package is compromised, not core infrastructure like OpenSSH, npm/PyPI as a whole, or GitHub. |
| Yes | Popular tool | Judgment: Wiz says the package gets almost 200k downloads a month, a widely used Microsoft framework. |
| Yes | Exploited in the wild | Wiz Blog: malicious versions 1.26.1 and 1.26.2 were published with an added credential stealer, a real compromise. |
| No | Public exploit | No source says exploit code or a step-by-step proof-of-concept was published; the malicious versions were quarantined. |
| No | Remote, no login | Sources describe a malicious package that runs when Python starts; none describe unauthenticated network exploitation. |
| Yes | Full takeover | Socket: both versions install Python startup hooks that silently collect credentials and exfiltrate them, meaning code execution on installing machines. |
| Yes | Secrets exposed | SecurityWeek: versions steal Azure, Azure DevOps, and GitHub Actions credentials; Step Security: data sent 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 | Wiz Blog: the malicious versions have since been quarantined; no source says an unpatched state persists or a fix is missing. |
Timeline
Full coverage · 10 sources
- 2h ago ↗
- 11h ago ↗
www.theregister.com - Articles
Microsoft's official Python agent framework hijacked to distribute malware - 12h ago ↗
- 13h ago ↗
DEV Community: python
MAI Code 2 on Stage, .pth Credential Theft on PyPI: The Microsoft Agent Framework Breach - 18h ago ↗
- 22h 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 - 1d ago ↗
- 1d ago ↗
Wiz Blog | RSS feed
Microsoft agent-framework Compromised: Credential Stealer Targets Azure and CI Pipelines - 1d ago ↗
Aikido Security's Blog
Two malicious agent-framework releases hit PyPI in 33 minutes
First seen · 10 sources · Full story page · How tiers are decided