Back to Feed
Supply ChainNov 18, 2026

Microsoft's official Python agent framework hijacked to distribute malware

Microsoft's Python agent framework hijacked to distribute info-stealing malware.

Microsoft's official agent-framework Python package hosted on PyPI was compromised, with versions 1.26.1 and 1.26.2 distributing info-stealing malware. The malicious package exfiltrates environment variables, credentials, and sensitive developer secrets from services like Azure, Git, and Docker. It also actively requests new identity tokens from GitHub Actions, Azure DevOps, and Azure.

AI summary of the linked source. Not reviewed by an editor. How this works

Vendor Watch

Run Microsoft?

Get an email when a new story names Microsoft, usually within the hour.

Free. Your list stays private and never appears in a subject line. One click stops it. How Vendor Watch worksPrivacy

The lesson from this incident

Full lesson

Attackers compromised Microsoft's official Python agent-framework package on PyPI, injecting info-stealing malware into versions 1.26.1 and 1.26.2 that silently exfiltrated environment variables, credentials, and secrets from developer toolchains including Azure, Git, and Docker. This is a classic software supply chain attack: developers trusted an official package source and were unknowingly betrayed at the distribution layer. The malware also actively harvested CI/CD identity tokens from GitHub Actions and Azure DevOps, dramatically expanding the blast radius beyond individual machines to entire pipelines. This incident illustrates why dependency integrity verification and least-privilege secrets management are non-negotiable in modern development environments.

What helps against this

How we list vendors
Get Microsoft news in your morning briefingA few minutes of audio on the vendors you pick, every morning. Free to try.

Entities

Microsoft (vendor)agent-framework (product)Python (technology)AI (technology)GitHub Actions (technology)Azure DevOps (technology)