Supply‑Chain Attack Targets Microsoft Agent‑Framework on PyPI, Harvests Cloud Keys
Security researchers have confirmed that a malicious update to Microsoft’s open‑source agent‑framework package on the Python Package Index (PyPI) was used to exfiltrate cloud credentials from developers and automated build systems.
The compromised releases, identified as versions 1.26.1 and 1.26.2, appeared on PyPI only minutes after the legitimate package was updated, giving the malicious code a brief window to be downloaded by unsuspecting users. The rapid publication—approximately half an hour after the official release—allowed the tainted packages to spread through continuous‑integration pipelines that automatically pull the latest version.
Analysis by multiple security firms, including Aikido, Endor Labs, OX Security, SafeDep, Socket, StepSecurity and Google‑owned Wiz, indicates that the injected payload functions as a credential stealer. Once executed, it scans the host environment for cloud service tokens, API keys and other authentication artifacts, then transmits them to command‑and‑control servers controlled by the threat actors. The stolen secrets can be leveraged to access cloud resources, modify infrastructure, or further propagate the attack within an organization’s supply chain.
Microsoft has issued a security advisory urging users to verify the integrity of their agent‑framework installations and to revert to the last known clean version. PyPI administrators have removed the malicious releases and are working with the affected maintainers to improve package‑verification processes. The coordinated response from the security community underscores the growing emphasis on rapid detection and remediation of supply‑chain compromises.
The incident adds to a series of recent attacks that target open‑source ecosystems, highlighting the need for stronger safeguards such as reproducible builds, signed packages and stricter CI/CD hygiene. Organizations are being reminded to adopt multi‑factor authentication for cloud services, rotate credentials regularly, and employ runtime monitoring that can detect abnormal token usage. As attackers continue to exploit the trust inherent in widely used development tools, vigilance across the software supply chain remains a critical line of defense.
Comments (0)
Be the first to comment.
Join the discussion