Back to Feed
Supply ChainNov 18, 2026

Microsoft’s Agent Framework PyPI package compromised to steal credentials

Microsoft's Agent Framework Python package on PyPI was compromised with credential-stealing malware.

Hackers compromised Microsoft's official Agent Framework Python package on PyPI, publishing two malicious versions (1.26.1 and 1.26.2) designed to steal cloud credentials and sensitive information. The malware executed automatically during Python startup, targeting services like Azure, AWS, and GitHub. PyPI quarantined the malicious releases, but the attacker managed to publish a second malicious version shortly after the first was removed.

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 Agent Framework PyPI package, injecting malware into versions 1.26.1 and 1.26.2 that automatically executed on Python startup to steal cloud credentials from Azure, AWS, and GitHub. This is a classic software supply chain attack: developers who installed or updated the package in good faith became unwitting victims without any vulnerability in their own code. The fact that a second malicious version was published shortly after the first was removed highlights the need for robust publisher account security and rapid, coordinated response between maintainers and package repositories. Organizations relying on third-party packages without integrity verification or dependency pinning are particularly exposed, as a single compromised update can silently exfiltrate sensitive credentials at scale.

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.

Indicators of Compromise

Addresses and file hashes are copied from the publisher's page by pattern matching. Names are picked by AI. On stories from before 17 November 2026, some addresses and hashes were picked by AI too. Not reviewed by an editor. How this works

  • url: https://webhook.site/d381fd80-ec62-42ad-8f5c-d1b15103c9bb

Entities

Agent Framework (product)Microsoft (vendor)PyPI (technology)Python (technology)