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
- Check whether agent-framework 1.26.1 or 1.26.2 was installed in any environment, including CI and build systems.
- Remove the affected versions and install a clean, verified release.
- Rotate credentials that may have been present in environments where the malicious versions ran.
- agent-framework 1.26.1
- agent-framework 1.26.2
- #supply-chain
- #pypi
- #python
- #credential-theft
- #agent-framework
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
Full coverage · 3 sources
- 2h ago ↗
DEV Community: python
Microsoft's Agent Framework Package Was Poisoned on PyPI — What to Check Right Now
- 2h ago ↗
DEV Community: python
Your Python Interpreter Was the Attack Surface: What the agent-framework PyPI Poisoning Means for Your Next pip install - 11h ago ↗
DEV Community: python
Microsoft's Agent Framework PyPI Compromise: What Supply-Chain Attacks Teach About Agent Dependency Security