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
- 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.
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
| Yes | Hits tech teams | Judgment: Agent Framework is a developer library installed via pip by teams building AI agents. |
| No | Core infrastructure | Judgment: A single Microsoft framework package, not core infrastructure like OpenSSH, glibc or PyPI as a whole. |
| Yes | Popular tool | Judgment: Official Microsoft framework with roughly 200,000 monthly downloads, per DEV Community python source. |
| Yes | Exploited in the wild | DEV Community: two malicious versions shipped with credential-stealing code and were quarantined within an hour. |
| No | Public exploit | No source says exploit code or a proof-of-concept was published. |
| No | Remote, no login | Sources describe malicious package versions installed via PyPI; no unauthenticated network attack is described. |
| Yes | Full takeover | DEV Community: credential-stealing code executed during Python startup, before any explicit import, on installing machines. |
| No | Secrets exposed | Sources say the package shipped a credential stealer but do not confirm that credentials were actually stolen. |
| Yes | Supply chain | DEV Community: Microsoft's official agent-framework package on PyPI was compromised with malicious versions 1.26.1 and 1.26.2. |
| No | No fix yet | Sources report the malicious versions were quarantined; none says a fixed version is missing or unavailable. |
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
First seen · 3 sources · Full story page · How tiers are decided