PyPI’s Microsoft Agent Framework Package Hijacked to Deliver Credential‑Harvesting Malware
Researchers in security have discovered that the official Microsoft Agent Framework package on the Python Package Index (PyPI) was modified to embed malicious code that can siphon user credentials and cloud service tokens.
The compromised package—frequently used by developers to embed Microsoft’s AI agents—was found to carry a payload that covertly collected authentication data for several developer‑focused services such as Azure, Amazon Web Services, GitHub, OpenAI and Docker.
Upon installation of the tainted version, the concealed component ran at runtime, pulling stored tokens and sending them to a server under the attacker’s control. This exfiltrated information could then be leveraged to obtain unauthorized entry to cloud resources, code repositories, and other services linked to the victim’s accounts.
Microsoft together with PyPI maintainers acted swiftly after the breach was reported, pulling the malicious releases and reinstating the clean package. Developers who downloaded the infected version are urged to rotate any compromised credentials and examine access logs for any anomalous activity.
The event joins an expanding tally of supply‑chain attacks aimed at open‑source ecosystems, where threat actors hijack popular libraries to reach many victims with little effort. PyPI, similar to other repositories, operates on a trust model that presumes published packages are genuine, rendering it a tempting conduit for attackers looking to infiltrate development pipelines.
Specialists advise developers to confirm package integrity via hash verification, use virtual environments, and keep a close eye on dependency updates. Continuous vigilance and swift incident response remain essential as the software supply chain stays a prime target for cyber threats.
Comments (0)
Be the first to comment.
Join the discussion