The Hacker News, citing reports from Aikido, Endor Labs, Socket, Wiz and others, says two malicious versions of Microsoft Agent Framework's PyPI package agent-framework, 1.26.1 and 1.26.2, were published on November 17, 2026 and have since been quarantined by PyPI; how the attacker obtained publishing access is unclear [1]. The versions drop a .pth file into site-packages so a stealer runs on every Python start, collecting environment variables, Azure CLI, npm, pip, Git and Docker credential files plus Azure DevOps OIDC, Azure managed identity and GitHub Actions OIDC tokens, and sending them to a webhook.site endpoint [1]. What to do now: if either version was installed between about 8:35 and 9:20 p.m. UTC on November 17, isolate affected hosts and runners, pin to safe version 1.26.0 and rebuild from a clean environment, then rotate exposed credentials from a clean system and audit Azure identities and sign-in logs [1].
Microsoft's AI agent package agent-framework ships credential-stealing releases, exposing cloud secrets in Python environments and CI pipelines
2 min readLast updated
30-second summary
What happened
Who is affected
Industries mainly affected: Technology, Cross-industry
What to do nowOur advice
- Check whether agent-framework 1.26.1 or 1.26.2 was installed between 8:35 and about 9:20 p.m. UTC on Nov 17, 2026, and isolate affected hosts and runners .
- Disclosed
- Nov 18, 2026
- Published
- Nov 18, 2026
- Last updated
- Nov 18, 2026
- CVSS basis
- Our assessment
- Technology
- Attack vector
- Impact
- Data type
- Actor type
- Motivation
On this page
Timeline
Technical details
What happened
The Hacker News reports that Aikido, Endor Labs, OX Security, SafeDep, Socket, StepSecurity and Wiz found Microsoft's agent-framework PyPI meta-package compromised to push a credential stealer [1]. Malicious versions 1.26.1 and 1.26.2 were published 33 minutes apart on Nov 17, 2026 and were quarantined on PyPI at the time of writing; how publishing access was obtained is unclear [1].
Technique
Each version adds a .pth file (agent_framework_meta.pth / af_runtime_diag.pth) so the stealer runs on every interpreter start, even pip [1]. It harvests matching environment variables and credential files (Azure CLI, .npmrc, pip.conf, .netrc, .git-credentials, Docker, Hugging Face, Azure DevOps agents, .env), requests new Azure DevOps OIDC and managed identity tokens and instance metadata; 1.26.2 also collects GitHub Actions OIDC tokens [1]. Data is compressed, Base64-encoded and POSTed to a hard-coded webhook.site URL [1]. SafeDep notes rotating stored secrets alone does not cover newly issued tokens [1].
Impact
The package has about 190,000 monthly downloads; the number of affected environments is not public [1].
What to do now
Isolate affected hosts and runners, pin to 1.26.0 and restore from a clean environment, check exposure between 8:35 and about 9:20 p.m. UTC on Nov 17, search proxy and DNS logs for the webhook.site URL, rotate credentials from a clean system, and audit Azure identities, sign-in and activity logs and GitHub Actions workflows deploying to Azure .
References
Media1
- [1]
“The malicious versions, 1.26.1 and 1.26.2, were published 33 minutes apart on November 17, 2026, and are designed to run a credential stealer on every Python start. As of writing, both the release versions have been quarantined on the Python Package Index (PyPI) repository.”
Found this useful?
Pass it to whoever runs these systems so they can patch in time.
This site aggregates public information and is not security consulting advice. Test remediation steps before applying.