An attacker hijacked Microsoft’s agent-framework package on PyPI by compromising credentials for the company’s ESRP release pipeline, according to security researchers. The attacker used these credentials to bypass IP allowlisting and release malicious versions of the package using Cairn, Pi (harness), and GLM 5.3.
The breach affected versions 1.26.1 and 1.26.2, which contained a credential stealer targeting Azure and GitHub secrets. While PyPI has since removed the compromised versions, researchers advise users who installed them to pin their installation to version 1.26.0 and rotate their secrets.
