Malicious agent-framework 1.26.1 and 1.26.2 on PyPI steal credentials
Original title: Microsoft agent-framework Compromised: Credential Stealer Targets Azure and CI Pipelines
Both versions were removed within about an hour after posting Azure and CI secrets to a free webhook.site URL.
On November 17, 2026, PyPI versions 1.26.1 and 1.26.2 of Microsoft's agent-framework package installed a .pth file that runs a credential stealer whenever Python starts. It collected Azure, CI and registry secrets and sent one HTTPS post to webhook.site. Both versions were unavailable by 21:30 UTC. Wiz says the upload path is unconfirmed and has not linked the incident to an earlier durabletask compromise. The latest safe version named is 1.26.0.
Unconfirmed: How the versions were published is unconfirmed, and Wiz has not linked this to the earlier durabletask incident.
- The package gets about 41,000 downloads a week.
- Version 1.26.1 was published at 20:35 UTC and 1.26.2 at 21:08 UTC.
- Wiz says the free webhook.site token captured at most 50 requests.
- Version 1.26.2 also requests GitHub Actions OIDC tokens when id-token write is set.
- No python-1.26.1 tag exists in microsoft/agent-framework.
Impact: Azure, CI and registry credentials sent to webhook.site
| Product | Affected | Fixed in |
|---|---|---|
| Microsoft agent-framework | 1.26.1 and 1.26.2 | 1.26.0 |
- 1.Remove agent-framework 1.26.1 and 1.26.2 and reinstall 1.26.0.
- 2.Rotate Azure, CI and registry credentials from hosts that installed those versions.
- 3.Search site-packages for agent_framework_meta.pth and af_runtime_diag.pth.
- ATT&CK
- T1195.001 Compromise Software Dependencies and Development ToolsT1552.001 Credentials In FilesT1041 Exfiltration Over C2 Channel
- Vendors
- Microsoft
- Products
- agent-framework
- Organizations
- Wiz
Indicators of compromise
auto-extracted · verify before use · export allAll| Type | Indicator | Context |
|---|---|---|
| domain | webhook.site | b-compressed, base64-encoded, and sent in one HTTPS POST to webhook[.]site . The URL is hardcoded and the payload has no fallback ch |
| sha1 | 0a013e4724c4437cf9b177def1d988113e167539 | (1.26.2) Host _AF_TEL=1 Run-once environment variable Host 0a013e4724c4437cf9b177def1d988113e167539 _telemetry.py (SHA1) Hash 54d885b7d7161c9ed96489c66364c4bfb |
| sha256 | 325e7e9f0ec94e41ad1a1b7a3f18a6b8b5bffece2e2b97b8d3369eb967452f93 | 29166843bba10d97d46b5a2e1f af_runtime_diag.py (SHA256) Hash 325e7e9f0ec94e41ad1a1b7a3f18a6b8b5bffece2e2b97b8d3369eb967452f93 af_runtime_diag.pth (SHA256) Hash Affected Instances File S |
| sha256 | 3d20a8bc91351a9a16b6db243b848ceca0206b7a8623b02d2af553a9c9f7e0a9 | 898dd5d7cd3e989e110 agent_framework-1.26.2-py3-none-any.whl 3d20a8bc91351a9a16b6db243b848ceca0206b7a8623b02d2af553a9c9f7e0a9 What steps should security teams take? Wiz customers should |
| sha256 | 54d885b7d7161c9ed96489c66364c4bfbf635929166843bba10d97d46b5a2e1f | 724c4437cf9b177def1d988113e167539 _telemetry.py (SHA1) Hash 54d885b7d7161c9ed96489c66364c4bfbf635929166843bba10d97d46b5a2e1f af_runtime_diag.py (SHA256) Hash 325e7e9f0ec94e41ad1a1b7a3f |
| sha256 | d27fa34414e6201d5e03e559ef634f020057554d7b3f4898dd5d7cd3e989e110 | stances File SHA256 agent_framework-1.26.1-py3-none-any.whl d27fa34414e6201d5e03e559ef634f020057554d7b3f4898dd5d7cd3e989e110 agent_framework-1.26.2-py3-none-any.whl 3d20a8bc91351a9a16b |
From the original article
4 min read at wiz.io
On November 17, 2026 at 20:35 UTC, versions 1. 26. 1 & 1.
By Rami McCarthy · wiz.io
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.