{
  "id": 20637034,
  "title": "Microsoft's official Python agent framework hijacked to distribute malware",
  "url": "https://urgent.news/2026/11/18/microsofts-official-python-agent-framework-hijacked-to-distribute-20637034",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-18T17:23:37.000Z",
  "source": {
    "name": "The Register Science",
    "slug": "the-register-science",
    "url": "https://www.theregister.com/security/2026/11/18/microsofts-official-python-agent-framework-hijacked-to-distribute-malware/5310858"
  },
  "original_language": "en",
  "account": "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.\n\nThe 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.\n\nThe 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.",
  "summary": "In today's how-could-things-get-worse-for-Microsoft news, it seems someone's GitHub org admin creds have been compromised",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}