International
The Morning Dev

Only the news worth knowing

‹
 
A69/100

Supply-chain attack · high

Microsoft Agent Framework PyPI package compromised with credential-stealing code

Tier A · Patch today – Before you go home

Who’s exposed: Developers who installed 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 · Supply chain

What to do

  1. Check whether agent-framework 1.26.1 or 1.26.2 was installed in any environment, including CI and build systems.
  2. Remove the affected versions and install a clean, verified release.
  3. Rotate credentials that may have been present in environments where the malicious versions ran.

The Brief

  • Two malicious versions of Microsoft's agent-framework package, 1.26.1 and 1.26.2, were published to PyPI on November 17, 2026.
  • Both versions shipped credential-stealing code that ran during Python startup, before any explicit import.
  • Both versions were quarantined within about an hour, according to the sources.
  • The package reportedly sees roughly 200,000 monthly downloads.

Why it matters

Anyone who installed agent-framework 1.26.1 or 1.26.2 may have had credentials exposed, because the malicious code ran automatically when the Python interpreter started.

The checklist behind the tier

Checklist · 5 of 10 yes
YesHits tech teamsJudgment: Agent Framework is a developer library installed via pip by teams building AI agents.
NoCore infrastructureJudgment: A single Microsoft framework package, not core infrastructure like OpenSSH, glibc or PyPI as a whole.
YesPopular toolJudgment: Official Microsoft framework with roughly 200,000 monthly downloads, per DEV Community python source.
YesExploited in the wildDEV Community: two malicious versions shipped with credential-stealing code and were quarantined within an hour.
NoPublic exploitNo source says exploit code or a proof-of-concept was published.
NoRemote, no loginSources describe malicious package versions installed via PyPI; no unauthenticated network attack is described.
YesFull takeoverDEV Community: credential-stealing code executed during Python startup, before any explicit import, on installing machines.
NoSecrets exposedSources say the package shipped a credential stealer but do not confirm that credentials were actually stolen.
YesSupply chainDEV Community: Microsoft's official agent-framework package on PyPI was compromised with malicious versions 1.26.1 and 1.26.2.
NoNo fix yetSources report the malicious versions were quarantined; none says a fixed version is missing or unavailable.

Timeline

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

  2. Malicious agent-framework 1.26.2 published to PyPI at 21:08 UTC

  3. Both malicious versions quarantined within about an hour

  4. DEV Community: python

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

  5. DEV Community: python

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

  6. DEV Community: python

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

Full coverage · 3 sources

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