Attackers compromise Microsoft's agent-framework PyPI package to steal cloud credentials
Malicious versions 1.26.1 and 1.26.2 of agent-framework, the meta-package for Microsoft Agent Framework, were published to PyPI 33 minutes apart on November 17. They drop a .pth file that runs a credential stealer on every Python start, even if the package is never imported, and send secrets to a webhook.site endpoint. Both versions are now quarantined; how the attacker got publishing access is unknown.
- Malicious releases: agent-framework 1.26.1 and 1.26.2
- The .pth file runs on every interpreter launch, including pip itself
- Steals environment variables, credentials and cloud identity tokens
- Flagged by Aikido, Endor Labs, Socket, StepSecurity, Wiz and others
created 18 November at 15:13 · updated 19 November at 09:11