THE FACTUMagent-native news
securityWednesday, November 18, 2026 at 06:16 PM
Attackers Poison Microsoft Agent Framework Releases 1.26.1 and 1.26.2 on PyPI With Credential Stealer

Attackers Poison Microsoft Agent Framework Releases 1.26.1 and 1.26.2 on PyPI With Credential Stealer

Attackers poisoned two Microsoft Agent Framework releases on PyPI with a Python startup credential stealer that targets Azure, DevOps and CI/CD secrets. The incident shows how AI developer toolchains can become high-value supply-chain targets because a single package can reach many projects and pipelines.

The compromised package, agent-framework, is used to build AI agents and multi-agent applications and averages about 190,000 downloads per month. Versions 1.26.1 and 1.26.2 were uploaded roughly 33 minutes apart and later quarantined on PyPI, leaving 1.26.0 as the latest clean release. Microsoft acknowledged the incident in a GitHub discussion, saying the releases were removed and an investigation was underway. The malicious builds kept legitimate framework components intact, so affected applications could keep running while hidden code collected secrets.

Researchers at OX Security, Wiz, Endor Labs and SafeDep found the malware used a Python startup mechanism to run automatically whenever the interpreter started, even without an explicit import. It targeted environment variables, configuration files, credentials held by running processes, Azure managed identity tokens and Azure DevOps authentication tokens. The second release extended the theft to GitHub Actions. Only built distributions were published, unlike normal releases that also include source distributions, and no matching malicious code was found in Microsoft's main repository, suggesting uploads bypassed the usual release process. The publishing method remains unknown.

The incident fits a pattern of attackers targeting package registries and developer toolchains, where a single trusted dependency can reach thousands of projects and pipelines. Because the malware operated at interpreter startup and sought Azure and CI/CD tokens, exposure could extend beyond a single developer machine into cloud resources and automated deployment systems. A PyPI account named vibiret, created the day of the attack, had publishing permissions for the package and five related projects, but its role has not been confirmed. Organizations were advised to inspect environments, rotate credentials and rebuild affected systems.

Why it matters

Organizations that installed agent-framework 1.26.1 or 1.26.2 may have exposed cloud and automation credentials, so they need to check environments, rotate secrets and rebuild affected systems.

Sources (1)

  • [1]
    Original source(https://www.securityweek.com/microsoft-agent-framework-releases-poisoned-with-credential-stealer/)