International
The Morning Dev

Only the news worth knowing

‹
 
A71/100

Supply-chain attack · high

Microsoft agent-framework PyPI releases compromised with credential-stealing code

Tier A · Patch today – Before you go home

Who’s exposed: Developers and CI/CD pipelines installing agent-framework 1.26.1 or 1.26.2 from PyPI

Tier A because: Core infrastructure or popular tool AND exploited in the wild

Reach

Attack

Damage

Fix

Popular tool · Exploited in the wild · Full takeover · Secrets exposed · Supply chain

What to do

  1. Check whether agent-framework versions 1.26.1 or 1.26.2 are installed or pinned in any environment or pipeline
  2. Uninstall or pin to a known-good version of agent-framework
  3. Rotate Azure, Azure DevOps, GitHub Actions and other cloud or CI/CD credentials on systems that installed the affected versions

The Brief

  • Versions 1.26.1 and 1.26.2 of Microsoft's agent-framework package on PyPI were published on November 17 and contain malicious Python startup hooks.
  • The hooks harvest credentials, environment data and cloud identity tokens (Azure, Azure DevOps, GitHub Actions) and send them to a webhook.site endpoint.
  • Multiple security firms including Socket, StepSecurity, SafeDep, Wiz and others reported the compromise.

Why it matters

Any developer or CI/CD pipeline that installed agent-framework 1.26.1 or 1.26.2 may have had cloud and CI/CD credentials exfiltrated when Python starts, so those secrets should be treated as exposed.

The checklist behind the tier

Checklist · 6 of 10 yes
YesHits tech teamsAgent Framework is a developer toolkit for building AI agents, installed by developers via PyPI.
NoCore infrastructureA single Microsoft agent framework package, not software nearly every team runs.
YesPopular toolOfficial Microsoft package with roughly 190,000 monthly downloads, per DEV Community python.
YesExploited in the wildHelp Net Security and BleepingComputer: malicious versions 1.26.1 and 1.26.2 were published and carried a credential stealer.
NoPublic exploitNo source says exploit code or a step-by-step proof-of-concept was published.
NoRemote, no loginSources describe a package compromise via unauthorized admin account access, not unauthenticated network attacks.
YesFull takeoverSocket: startup hooks silently run on Python start and collect credentials, which amounts to code execution on victim machines.
YesSecrets exposedStep Security Blog: releases harvest cloud and CI/CD credentials and send collected data to a webhook.site endpoint.
YesSupply chainThe Hacker News: attackers compromised Microsoft's official agent-framework package on PyPI to push a credential stealer.
NoNo fix yetNo source states that a fixed version is unavailable or that the vendor has not shipped a fix.

Timeline

  1. Versions 1.26.1 and 1.26.2 of agent-framework published on PyPI with malicious code

  2. Aikido Security's Blog

    Two malicious agent-framework releases hit PyPI in 33 minutes

  3. Wiz Blog | RSS feed

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

  4. Socket

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

  5. Security firms publicly report the compromised package

  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

  14. DEV Community: python

    Microsoft's Python Agent Framework Hijack: What Package Compromise Teaches About Agent Supply Chain Security

  15. DEV Community: python

    Microsoft's Open Source Tools Hacked to Steal AI Developers' Passwords

  16. DEV Community: python

    Microsoft's Agent Framework PyPI Compromise: What Supply-Chain Attacks Teach About Agent Dependency Security

  17. DEV Community: python

    Your Python Interpreter Was the Attack Surface: What the agent-framework PyPI Poisoning Means for Your Next pip install

  18. DEV Community: python

    Microsoft's Agent Framework Package Was Poisoned on PyPI — What to Check Right Now

Full coverage · 16 sources

First seen · 16 sources · Full story page · How tiers are decided