AEGLIX News
Threat actors compromised Microsoft's agent-framework PyPI package and pushed malicious versions 1.26.1 and 1.26.2, published 33 minutes apart on November 17, 2026, according to security researchers. The package attracts about 190,000 downloads a month, amplifying the potential impact of the supply chain attack. It is unclear how the attacker obtained publishing access to the agent-framework package, a detail that remains under investigation.
This incident marks the second Microsoft-related PyPI package compromised in 2026. In May 2026, threat actors pushed three malicious versions of the durabletask package to distribute the Mini Shai-Hulud worm, indicating a pattern of targeting Microsoft's Python ecosystem. The agent-framework compromise follows a similar supply chain tactic where attackers gain publishing privileges to inject malicious code into legitimate, widely used libraries.
Analysis of version 1.26.2 reveals the malware drops af_runtime_diag.pth and imports af_runtime_diag.py to collect GitHub Actions OIDC tokens. The stealer expands search patterns to harvest credential-related environment variables via substring matching. It targets credential files for Azure CLI, .npmrc, pip.conf, .netrc, .git-credentials, .docker/config.json, Hugging Face, Microsoft Azure DevOps agents, .env and JSON files, Azure DevOps OIDC tokens, Azure managed-identity tokens, and Azure instance metadata, retaining up to 8,000 characters of the metadata response.
Both malicious release versions have been quarantined on the Python Package Index repository. Users are advised to isolate affected hosts and runners, pin the package to safe version 1.26.0, and restore from a clean environment. Organizations should check for exposure between 8:35 and roughly 9:20 p.m. UTC on November 17, 2026, search proxy and DNS logs for requests to the webhook.site URL, and rotate exposed credentials from a clean system. Additional recommendations include auditing Azure identities and sign-in logs, as well as auditing GitHub Actions workflows deploying to Azure.
Report prepared 2026-11-18 · Based on reporting from The Hacker News. Source publication date above; subsequent developments may not be reflected.