Python

Malicious versions of Microsoft's agent-framework package on PyPI steal cloud and CI/CD credentials

Attackers published two malicious releases of Microsoft's official agent-framework Python package on PyPI, versions 1.26.1 and 1.26.2, on November 17, 2026. The versions appeared 33 minutes apart and run a credential stealer whenever Python starts, targeting Azure, Azure DevOps and GitHub Actions credentials. Agent Framework is Microsoft's open-source toolkit for building AI agents and running them in workflows. Supply chain security firms including StepSecurity, OX Security and Socket detected the compromise.

AI-written summary, checked against the cited sources. How summaries work

Image: The Hacker News

Why it matters

Developers who installed agent-framework versions 1.26.1 or 1.26.2 from PyPI should treat their Azure, Azure DevOps and GitHub Actions credentials as exposed, since the stealer runs on every Python start.

What we know

Confirmed by several sources

Reported by one source

  • The two malicious versions were published 33 minutes apart. — The Hacker News
  • Targeted credentials include Azure, Azure DevOps and GitHub Actions secrets. — SecurityWeek
  • Aikido, Chainguard, Endor Labs, SafeDep and Wiz also reported on the compromise. — The Hacker News
  • Agent Framework is Microsoft's open-source toolkit for building AI agents and running them in workflows. — Help Net Security

Open questions

Coverage 5 publishers

  1. The Hacker NewsFirst report

    Attackers Compromise Microsoft's Agent Framework PyPI Package to Steal Cloud Credentials

    Threat actors have compromised Microsoft's agent-framework package to push a credential stealer, according to reports from Aikido, Chainguard, Endor Labs, OX Security, SafeDep, Socket, StepSecurity, and Google-owned Wiz. The malicious…

  2. SecurityWeek

    Microsoft Agent Framework Releases Poisoned With Credential Stealer

    Versions 1.26.1 and 1.26.2 of agent-framework on PyPI steal Azure, Azure DevOps, and GitHub Actions credentials when Python starts.

  3. BleepingComputer

    Microsoft’s Agent Framework PyPI package compromised to steal credentials

    Hackers compromised Microsoft's official Agent Framework Python package on PyPI, publishing two malicious versions designed to steal cloud credentials and other sensitive information from developers' systems.

  4. Techmeme

    Microsoft’s Agent Framework PyPI package compromised to steal credentials

    Hackers compromised Microsoft's official Agent Framework Python package on PyPI, publishing two malicious versions designed to steal cloud credentials and other sensitive information from developers' systems.

  5. Help Net Security

    Credential stealer slipped into Microsoft’s official Python agent framework

    Two releases of Microsoft’s official agent-framework package on the Python Package Index (PyPI) carried code that steals cloud and CI/CD credentials from developers’ systems. Agent Framework is Microsoft’s open-source toolkit for building…

Earliest report first. Articles stay on their publishers’ sites; each link opens the original.