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
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 lessonAttackers 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- Secrets management
API keys, tokens and passwords stop leaking from code, chat and configuration files.
- Threat intelligence
Attack campaigns reach your sector, suppliers or software before your team hears about them.
- Software supply chain security
Malicious and vulnerable open-source packages are caught before they ship.
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