Urgent.News

What's breaking now, across thousands of outlets.

Tech

Microsoft's official Python agent framework hijacked to distribute malware

In today's how-could-things-get-worse-for-Microsoft news, it seems someone's GitHub org admin creds have been compromised

Microsoft's official Python agent framework hijacked to distribute malware

Microsoft's official Python agent-framework package, hosted on PyPI, has been compromised, installing malware that steals sensitive information. The affected versions are 1.26.1 and 1.26.2, discovered by security researchers at firms OX Security and OpenSourceMalware. CEO Satya Nadella, attending Microsoft's annual Ignite conference, may be unaware of the unauthorized access to an administrator account on Microsoft's Github organization.

The compromised package, named Microsoft's agent-framework, is used to build and deploy AI agents and is downloaded nearly 200,000 times per month. Once installed, the malware gathers environment variables, credential files, and secrets from various sensitive developer services, including Azure, Git, Docker, and Hugging Face. It manages to do this without the need to be imported, as the infected package continues to run the legitimate 1.26.0 version of the agent-framework, all while pulling credentials and encrypting them as base64-encoded JSON to a hardcoded webhook.site address.

The malware is particularly dangerous for cloud build environments, as it not only searches for credentials in the environment but also requests new identity tokens from GitHub Actions, Azure DevOps, and Azure itself. These tokens are then exfiltrated to the same webhook site. This rapid, passive theft and active token requests make it especially dangerous.

The GitHub repository for the compromised package is currently offline, while Microsoft's repository for ONNX Runtime, an AI accelerator, has also gone offline as of the writing of this report. Microsoft reports that some of its other repositories remain available and is working to address the security issue, prioritizing customer protection and broader ecosystem safety.

Written by urgent.news from The Register Science's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at theregister.com →

More in Tech

More from Wednesday 18 November →