Skip to content
securitytabs

Updated

Microsoft agent-framework PyPI package published with credential stealer

Two versions of a Microsoft software package for building AI agents, distributed through the Python package repository PyPI, were published with code that steals login credentials. Teams that installed the package on 17 November should check which version they got.

Credential stealer in Microsoft agent-framework PyPI package
Credential stealer in Microsoft agent-framework PyPI package

What's new

TimelineWhat should my organization do?

What happened

Wiz says versions 1.26.1 and 1.26.2 of Microsoft's agent-framework package on PyPI were published on 17 November 2026, starting at 20:35 UTC, with an added credential stealer. Wiz says the package gets almost 200k downloads a month and that the malicious versions have since been quarantined. [1]

The Hacker News reports the two versions were published 33 minutes apart and that the findings come from several security firms, including Aikido, Chainguard, Endor Labs, OX Security, SafeDep, Socket, StepSecurity and Wiz. [2]

What the malware does

Socket says both versions install Python startup hooks that quietly collect credentials, environment data and cloud identity tokens, then send them to a webhook.site endpoint. SecurityWeek reports the code steals Azure, Azure DevOps and GitHub Actions credentials when Python starts. [3][4]

BleepingComputer reports the aim is to take cloud credentials and other sensitive information from developers' systems. [5]

What is not yet known

The articles reviewed do not say how the attackers gained the ability to publish the package, who is responsible, or how many systems installed the malicious versions. No CVE has been assigned. [1][3][2]

Timeline

  1. Several security firms, including Aikido, Chainguard and StepSecurity, were reported to have analysed the malicious versions. [2]

  2. Wiz and Socket published analyses of the compromised package. [1][3]

  3. Versions 1.26.1 and 1.26.2 of agent-framework were published to PyPI, starting at 20:35 UTC. [1][2]

Explained

The technology and terms in this story. Learn more

Business ActionWhat this means inside your organization, and what to do about it, by company size.

Small business

No dedicated security staff; relies on providers

What to know

Small firms are affected mainly if a developer or provider building AI tools in Python installed agent-framework versions 1.26.1 or 1.26.2. [1][3]

What to do

  1. Ask whoever builds or hosts your Python tools whether agent-framework 1.26.1 or 1.26.2 was installed on 17 November. [1]
  2. If it was, ask them to review the cloud, Azure DevOps and GitHub credentials that were available on those systems. [4][3]

Mid-size company

A small IT or security team

What to know

The stealer runs every time Python starts and targets cloud and CI credentials, so developer machines and build pipelines are both exposed. [2][4]

What to do

  1. Search dependency lockfiles, build logs and environments for agent-framework 1.26.1 and 1.26.2. [1][2]
  2. Where either version ran, treat Azure, Azure DevOps and GitHub Actions credentials on that system as exposed and review them. [4][3]

Large enterprise

A security operations team

What to know

Exfiltration goes to a webhook.site endpoint, according to Socket, and the sources name Azure, Azure DevOps and GitHub Actions credentials as targets. [3][4]

What to do

  1. Hunt for the two versions across package mirrors, CI runners and developer endpoints, and for outbound connections to webhook.site from them. [3][2]
  2. Review activity on Azure and GitHub identities that were present where the malicious versions ran. [4][1]

Sources

  1. [1]Wiz Blog · Nov 17, 22:03 UTC
    Microsoft agent-framework Compromised: Credential Stealer Targets Azure and CI Pipelinescontext
  2. [2]The Hacker News · Nov 18, 06:45 UTC
    Attackers Compromise Microsoft's Agent Framework PyPI Package to Steal Cloud Credentialscontext
  3. [3]Socket Blog · Nov 17, 23:05 UTC
    Microsoft’s agent-framework PyPI package Compromised with Credential Stealercontext
  4. [4]SecurityWeek · Nov 18, 11:05 UTC
    Microsoft Agent Framework Releases Poisoned With Credential Stealercontext
  5. [5]BleepingComputer · Nov 18, 16:58 UTC
    Microsoft’s Agent Framework PyPI package compromised to steal credentialscontext