International
The Morning Dev

Only the news worth knowing

‹
 
A71/100

Supply-chain attack · high

Malicious Microsoft Agent Framework PyPI releases carry a credential stealer

Tier A · Patch today – Before you go home

Who’s exposed: Developers and CI pipelines installing agent-framework 1.26.1 or 1.26.2 with cloud secrets

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 1.26.1 or 1.26.2 was installed in any environment, including CI runners and developer machines.
  2. Remove those versions and reinstall a release other than 1.26.1 and 1.26.2.
  3. Rotate Azure, Azure DevOps, and GitHub Actions secrets and any cloud identity tokens available in affected environments.
  4. Review cloud and CI logs for suspicious activity from affected systems.

The Brief

  • Microsoft's official agent-framework PyPI package had two malicious releases, 1.26.1 and 1.26.2, published on November 17, 2026 at 20:35 UTC.
  • The versions install Python startup hooks that run a credential stealer on every Python start, targeting Azure, Azure DevOps, and GitHub Actions secrets.
  • The stolen data is sent to a webhook.site endpoint. The malicious versions have since been quarantined on PyPI.

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 just by starting Python, so affected secrets should be treated as compromised.

The checklist behind the tier

Checklist · 6 of 10 yes
YesHits tech teamsJudgment: agent-framework is a Python developer library on PyPI used to build and run agent applications.
NoCore infrastructureJudgment: a single framework package is compromised, not core infrastructure like OpenSSH, npm/PyPI as a whole, or GitHub.
YesPopular toolJudgment: Wiz says the package gets almost 200k downloads a month, a widely used Microsoft framework.
YesExploited in the wildWiz Blog: malicious versions 1.26.1 and 1.26.2 were published with an added credential stealer, a real compromise.
NoPublic exploitNo source says exploit code or a step-by-step proof-of-concept was published; the malicious versions were quarantined.
NoRemote, no loginSources describe a malicious package that runs when Python starts; none describe unauthenticated network exploitation.
YesFull takeoverSocket: both versions install Python startup hooks that silently collect credentials and exfiltrate them, meaning code execution on installing machines.
YesSecrets exposedSecurityWeek: versions steal Azure, Azure DevOps, and GitHub Actions credentials; Step Security: data sent to a webhook.site endpoint.
YesSupply chainBleepingComputer: hackers compromised Microsoft's official Agent Framework Python package on PyPI and published two malicious versions.
NoNo fix yetWiz Blog: the malicious versions have since been quarantined; no source says an unpatched state persists or a fix is missing.

Timeline

  1. Malicious agent-framework versions 1.26.1 and 1.26.2 published to PyPI at 20:35 UTC

  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. Step Security Blog

    Microsoft agent-framework PyPI Package Compromised

  6. The Hacker News

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

  7. SecurityWeek

    Microsoft Agent Framework Releases Poisoned With Credential Stealer

  8. DEV Community: python

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

  9. BleepingComputer

    Microsoft’s Agent Framework PyPI package compromised to steal credentials

  10. www.theregister.com - Articles

    Microsoft's official Python agent framework hijacked to distribute malware

  11. 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)

Full coverage · 10 sources

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