Microsoft · agent-framework (Microsoft Agent Framework, PyPI package) · MAL-2026-20101
Hijacked releases of Microsoft's agent-framework Python package stole cloud and CI credentials
On 17 November someone published two malicious versions, 1.26.1 and 1.26.2, of agent-framework, Microsoft's official Python package for building AI agents, on the PyPI package index. Each installs a credential stealer that runs every time Python starts, whether or not the package is used, and sends environment secrets, credential files and Azure, Azure DevOps and GitHub Actions tokens to the attacker. Both were removed within about an hour, but anything that installed them should be treated as exposed. There is no CVE (the OSV database files it as MAL-2026-20101), it is not known how the attacker was able to publish, and we found no formal Microsoft advisory.
- Affected
- agent-framework 1.26.1 and 1.26.2 from PyPI, published at 20:35 and about 21:08 UTC on 17 November 2026 and gone from PyPI by about 21:30 UTC, according to Wiz. Developer machines, CI runners and container images that installed either version are affected. Version 1.26.0 and earlier are not.
- What to do
- Search lockfiles, CI logs, virtual environments and container images for agent-framework 1.26.1 or 1.26.2. If you find either, pin to 1.26.0 (the last safe version, according to Wiz and the OSV record) and rebuild from a clean environment. Then, from a clean machine, rotate every secret that environment could reach, including Azure CLI sessions, Azure DevOps and GitHub tokens, npm, pip, Docker and git credentials and CI secrets, and review Azure sign-in and activity logs. Wiz notes that stolen Azure tokens can stay valid for up to 24 hours, so audit the managed identities and federated credentials reachable from affected hosts as well.General information summarised from the vendor's advisory at the time of writing, not professional advice. Check the vendor's current advisory before acting.
- Why it’s here
- A supply-chain attack on an official Microsoft package downloaded close to 200,000 times a month, reported by several security firms; anyone building AI features in Python could have pulled it in.
