Vulnerabilities · 13 days ago
SecurityWeek reports that two poisoned Microsoft Agent Framework Python releases, versions 1.26.1 and 1.26.2, appeared on PyPI on November 17 and remained available for about 55 minutes before quarantine. Both carried credential-stealing code.
Each release added a .pth file to Python’s startup folder. Endor Labs says Python runs its instructions whenever the interpreter starts—including when pip launches—even if no program imports Agent Framework. Because the releases retained the working framework, ordinary functional checks could miss the compromise. SafeDep says the malware could also request fresh Azure identity tokens, not just collect credentials already stored on disk.
For a Python-based CI runner or Azure-connected build host, unrelated jobs may have exposed credentials and identities with access to cloud resources. Removing the package cannot establish that access ended: credentials may have been taken and fresh tokens issued before the hook was removed.
Because the stealer targeted identity tokens as well as secrets, rotating credentials alone may leave attacker-issued access valid; token revocation is also needed.
10 sources covering this story
Credential stealer slipped into Microsoft's official Python agent framework - Help Net Security
Microsoft's official Python agent framework hijacked to distribute malware
Microsoft’s Agent Framework PyPI package compromised to steal credentials
Attackers hijack Microsoft’s agent-framework package to steal Azure and CI credentials
Microsoft Agent Framework Releases Poisoned With Credential Stealer
Attackers Compromise Microsoft's Agent Framework PyPI Package to Steal Cloud Credentials
Microsoft’s agent-framework PyPI package Compromised with Credential Stealer
Microsoft agent-framework Compromised: Credential Stealer Targets Azure and CI Pipelines | Wiz Blog
Part of the PlainSec briefing for 2026-11-23