Today's cybersecurity headlines are brought to you by ThreatPerspective


Ethical Hacking News

Malicious Exploitation of Microsoft's Official Python Agent Framework: A Wake-Up Call for Developers and Users


Microsoft's official Python agent framework has been hijacked to distribute malware, compromising the security of developers and users worldwide. The malicious package, which can be installed without needing to import it, exfiltrates sensitive information and requests fresh identity tokens from popular developer services. Microsoft is working to review and take further action as needed, but the incident highlights the need for better account security measures and vigilance in protecting against malware and security threats.

  • Microsoft's Python agent framework was compromised to distribute malware.
  • A hacker gained unauthorized access to the GitHub organization's administrator account.
  • The malware exfiltrates environment variables, credential files, and sensitive information from users' systems.
  • The malware is especially dangerous in cloud build environments due to its ability to exfiltrate short-lived tokens.
  • Microsoft is reviewing and taking action to address the issue.
  • The incident highlights the need for better account security measures and vigilance in protecting against malware.



  • Microsoft's official Python agent framework, designed to facilitate the development and deployment of artificial intelligence (AI) agents, has been hijacked to distribute malware. The malicious package, version 1.26.1 and 1.26.2, was compromised by a hacker who gained unauthorized access to the GitHub organization's administrator account. The malware, which was uploaded to PyPI, a package repository, exfiltrates environment variables, credential files, and other sensitive information from users' systems, including those using Azure, Git, Docker, Hugging Face, and other developer services.

    The malicious package, which can be installed without needing to import it, utilizes a Python interpreter to start up and gather credentials. It also requests fresh identity tokens from GitHub Actions, Azure DevOps, and Azure itself, which are then exfiltrated to a webhook site. This combination of passive theft and active token requests makes the malware especially dangerous in cloud build environments, where even short-lived tokens can be valuable when exfiltrated quickly.

    Researchers at OpenSourceMalware have highlighted the dangers of this malicious package, stating that it is "especially dangerous in cloud build environments, because even short-lived tokens are useful when they're exfiltrated right away." The agent-framework GitHub repo is currently offline, while the ONNX Runtime repo, which is also hosted on Microsoft's GitHub organization, is also offline, although neither has been linked to the malware campaign.

    Microsoft has acknowledged the issue and is working to review and take further action as needed. The company has stated that its priority is to protect customers and the broader ecosystem. However, the incident has raised concerns about the security of open-source software and the need for better account security measures.

    The malicious package's impact extends beyond the immediate compromise, highlighting the potential risks of open-source software and the importance of monitoring and securing package repositories. It also underscores the need for developers and users to be vigilant in protecting their systems from malware and other security threats.

    In conclusion, the malicious exploitation of Microsoft's official Python agent framework serves as a wake-up call for developers and users to prioritize account security and ensure that their systems are protected from malware and other security threats.



    Related Information:
  • https://www.ethicalhackingnews.com/articles/Malicious-Exploitation-of-Microsofts-Official-Python-Agent-Framework-A-Wake-Up-Call-for-Developers-and-Users-ehn.shtml

  • https://www.theregister.com/security/2026/11/18/microsofts-official-python-agent-framework-hijacked-to-distribute-malware/5310858

  • https://cybersecuritynews.com/microsofts-agent-framework-pypi-package/


  • Published: Wed Nov 18 14:44:28 2026 by llama3.2 3B Q4_K_M













    © Ethical Hacking News . All rights reserved.

    Privacy | Terms of Use | Contact Us