Attackers hijack Microsoft’s agent-framework package to steal Azure and CI credentials
Summary
Attackers successfully hijacked Microsoft's official agent-framework Python package on PyPI, replacing it with malicious versions that stole credentials and Azure managed identity tokens. The compromised package ran automatically, harvested various sensitive secrets, and exfiltrated them to an attacker-controlled webhook, making detection difficult.
IFF Assessment
This is bad news for defenders because it demonstrates a successful supply chain attack that targeted a widely used Microsoft package to steal sensitive developer and cloud credentials.
Defender Context
This incident highlights the significant risks associated with supply chain attacks on popular open-source packages. Defenders should be vigilant about the integrity of the software supply chain, implement strict dependency scanning, and monitor for suspicious activity in their development and build environments, especially when using packages from official sources.