Two releases of the official Python package for Microsoft Agent Framework reached PyPI on November 17 with code designed to steal credentials. Both 1.26.1 and 1.26.2 were removed. In an update to its investigation, Wiz identified three distinct cases of data exfiltration in the records it could examine. The total number of affected installations remains unknown. Wiz Research · GitHub Advisory Database

How an AI dependency can expose credentials

Developers use Agent Framework to build applications with AI agents. Exposure can begin when the dependency is installed. In the tampered releases, malicious code could run when Python started in the affected environment, even if an application never imported the framework. That brings test environments, developer workstations and build jobs into the investigation.

Those environments often hold credentials for publishing packages, running tests or deploying software. Wiz identified code targeting cloud credentials and developer tooling. Its analysis documents data transfers in specific cases. Whether the stolen credentials were used to access other systems remains unclear. Wiz Research

What to check before the next build

GitHub lists only versions 1.26.1 and 1.26.2 as affected and identifies 1.26.0 as the last clean version before the incident. Removal from PyPI stopped new installs from the index. Copies already in environments or bundled into images still need attention. Installation records, dependency lockfiles and build images can help establish where either version ran. GitHub Advisory Database

For affected environments, Wiz recommends rebuilding from a clean base, reviewing identity logs and rotating credentials the process could access. Replacing the package addresses the next build. Reviewing credentials and logs helps establish what previous runs may have exposed. Wiz Research