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 on PyPI has been compromised, installing malware that extracts sensitive information. CEO Satya Nadella, busy at the company's annual Ignite conference, may not be aware of the unauthorized access to an administrator account on Microsoft's GitHub organization. Versions 1.26.1 and 1.26.2 of the affected package have been identified.

OX Security reverted version 1.26.1, but the attacker uploaded version 1.26.2 through Microsoft's official PyPI publisher account. The compromised package, used to build and deploy AI agents, can stealthily gather environment variables, credential files, and other secrets from services like Azure, Git, Docker, and Hugging Face. The malware operates without needing to be imported, automatically pulling version 1.26.0 of the framework in the background while stealing credentials and sending them to a hardcoded webhook.site address.

It actively requests fresh identity tokens from GitHub Actions, Azure DevOps, and Azure, which are then exfiltrated to the same webhook site. This combination of passive theft and active token requests makes the malware particularly dangerous in cloud build environments. The GitHub repo for the agent-framework is currently offline, and Microsoft has not commented on the incident.

Written by urgent.news from The Register'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 →