Malicious agent-framework 1.26.1 and 1.26.2 steal cloud credentials
Original title: Attackers Compromise Microsoft's Agent Framework PyPI Package to Steal Cloud Credentials
Both PyPI versions were quarantined after installing startup hooks that post stolen tokens to webhook.site.
Attackers published Microsoft agent-framework versions 1.26.1 and 1.26.2 on PyPI 33 minutes apart on November 17, 2026. Both drop a .pth file that runs a credential stealer on every Python start, collecting environment data, cloud tokens, and credential files and posting them to a hard-coded webhook.site URL. Both releases have been quarantined. How publishing access was obtained is unclear. The package draws about 190,000 downloads a month.
Unconfirmed: How the attacker obtained PyPI publishing access is not known.
- Version 1.26.1 uses agent_framework_meta.pth; 1.26.2 uses af_runtime_diag.pth.
- The stealer requests Azure managed-identity and Azure DevOps OIDC tokens, not only files on disk.
- Version 1.26.2 also collects GitHub Actions OIDC tokens.
- Exposure window cited is about 8:35 to 9:20 p.m. UTC on November 17, 2026.
- Users are told to pin 1.26.0 and rotate secrets from a clean system.
Impact: Steals cloud tokens, credentials, and environment data
| Product | Affected | Fixed in |
|---|---|---|
| Microsoft agent-framework | 1.26.1 and 1.26.2 | 1.26.0 |
- 1.Pin agent-framework to 1.26.0 and reinstall from a clean environment.
- 2.Search logs for webhook.site/d381fd80-ec62-42ad-8f5c-d1b15103c9bb and isolate affected hosts.
- 3.Rotate exposed credentials from a clean system and audit Azure and GitHub Actions activity.
- ATT&CK
- T1195.001 Compromise Software DependenciesT1552.001 Credentials In FilesT1552.005 Cloud Instance Metadata APIT1041 Exfiltration Over C2 Channel
- Vendors
- Microsoft
- Products
- agent-framework
- Organizations
- Python Package Index
Indicators of compromise
auto-extracted · verify before use · export allAll| Type | Indicator | Context |
|---|---|---|
| domain | webhook.site | data, and cloud identity tokens, then exfiltrate them to a webhook[.]site endpoint," Socket said in a report. Once either of the ve |
From the original article
3 min read at thehackernews.com
Threat actors have compromised Microsoft's agent-framework package to push a credential stealer, according to reports from Aikido, Endor Labs, OX Security, SafeDep, Socket, StepSecurity, and Google-owned Wiz. The malicious versions, 1. 26.
thehackernews.com
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.