International
The Morning Dev

Only the news worth knowing

‹
 

Security · High impactFan score 50 · Tier B11 sources

Credential stealer slipped into Microsoft’s official Python agent framework

Help Net Security · By Sinisa Markovic ·

The Brief · written from 11 sources

  • Versions 1.26.1 and 1.26.2 of Microsoft's agent-framework on PyPI were published on November 17, 2026 with an added credential stealer.
  • The malicious code runs as Python startup hooks on every Python start and targets Azure, Azure DevOps, and GitHub Actions credentials.
  • The package gets almost 200k downloads a month; the malicious versions have since been quarantined.

Why it matters

Any developer or CI pipeline that installed agent-framework 1.26.1 or 1.26.2 may have had cloud and CI/CD credentials stolen, so exposure should be assumed for those environments until checked.

Who’s affected

  • Anyone who installed agent-framework 1.26.1 or 1.26.2 from PyPI
  • Teams running agent-framework in Azure or CI/CD pipelines

What to do

  1. Check whether agent-framework 1.26.1 or 1.26.2 is installed in any environment or lockfile
  2. Rotate Azure, Azure DevOps, and GitHub Actions credentials in systems that ran those versions
  3. Pin agent-framework to a version other than 1.26.1 and 1.26.2

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 AI agents and running them in workflows…

Timeline

  1. Versions 1.26.1 and 1.26.2 published on PyPI with a credential stealer (20:35 UTC)

  2. Malicious versions quarantined

  3. Aikido Security's Blog

    Two malicious agent-framework releases hit PyPI in 33 minutes

  4. Wiz Blog | RSS feed

    Microsoft agent-framework Compromised: Credential Stealer Targets Azure and CI Pipelines

  5. Socket

    Microsoft’s agent-framework PyPI package Compromised with Credential Stealer

  6. Step Security Blog

    Microsoft agent-framework PyPI Package Compromised

  7. The Hacker News

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

  8. SecurityWeek

    Microsoft Agent Framework Releases Poisoned With Credential Stealer

  9. DEV Community: python

    MAI Code 2 on Stage, .pth Credential Theft on PyPI: The Microsoft Agent Framework Breach

  10. BleepingComputer

    Microsoft’s Agent Framework PyPI package compromised to steal credentials

  11. www.theregister.com - Articles

    Microsoft's official Python agent framework hijacked to distribute malware

  12. Techmeme

    Hackers compromised Microsoft's Agent Framework Python package on PyPI, publishing two versions designed to steal cloud credentials and other information (Bill Toulas/BleepingComputer)

  13. Help Net Security

    Credential stealer slipped into Microsoft’s official Python agent framework

Full coverage · 11 sources

How do you feel about this?

0 Comments