Attackers Compromise Microsoft's Agent Framework PyPI Package to Steal Cloud Credentials
Nov 18, 2026
Supply Chain Security / Malware
Threat actors have compromised Microsoft's agent-framework package to push a credential stealer, according to reports from Aikido , Endor Labs , OX Security , SafeDep , Socket , StepSecurity , and Google-owned Wiz . The malicious versions, 1.26.1 and 1.26.2, were published 33 minutes apart on November 17, 2026, and are designed to run a credential stealer on every Python start. As of writing, both the release versions have been quarantined on the Python Package Index (PyPI) repository. It's unclear how the attacker managed to obtain publishing access. Agent-framework is the meta-package for Microsoft Agent Framework, an open-source framework for building and orchestrating artificial intelligence (AI) agents using Python. "Both versions install Python startup hooks that silently collect credentials, environment data, and cloud identity tokens, then exfiltrate them to a webhook[.]site endpoint," Socket said in a report. Once either of the versions is installe...