International
The Morning Dev

Only the news worth knowing

‹
 

Security · High impactFan score 69 · Tier A3 sources

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

DEV · By Rohan Tech official ·

The Brief · written from 3 sources

  • 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.

Who’s affected

  • Teams and developers who installed agent-framework 1.26.1 or 1.26.2 from PyPI
  • Anyone using Python environments that pulled the agent-framework package in November 2026

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.

On November 17, two malicious versions of Microsoft's official agent-framework package were published to PyPI — 1.26.1 at 20:35 UTC and 1.26.2 about 33 minutes later. Both shipped a credential stealer, and both were quarantined within about an hour. If you installed either…

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

How do you feel about this?

0 Comments

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