The Hacker News[email protected] (The Hacker News)Attackers Compromise Microsoft's Agent Framework PyPI Package to Steal Cloud Credentials
Publication date is supplied by the source. Prepared by Cybermonit · Content updated:
AI summary
Every Python start in an environment with version 1.26.1 or 1.26.2 of Microsoft's agent-framework package may run a credential stealer, even if the package is never imported. Installing it adds a .pth file that Python executes on every interpreter start, including pip, as Endor Labs and Socket report. The malicious versions, published on November 17, 2026, 33 minutes apart, were quarantined on PyPI as of writing, and it is unclear how the attacker obtained publishing access. SafeDep notes that rotating stored secrets does not cover the new tokens the program requests from the Azure platform.
CTI references
Identifiers and catalog names mentioned in the source. A product mention does not establish that an installation is vulnerable.