---
title: "[AUTO] Microsoft's Agent Framework Compromised via Signing Keys"
pubDatetime: 2026-11-18T19:19:00.000Z
description: "Attackers used Microsoft's ESRP credentials to inject malware into the agent-framework PyPI package, exposing the supply chain at the signing layer."
tags: [supply-chain, vulnerability, security, microsoft, 2026, 2026-q4, 2026-11, AUTO]
---
Attackers with access to Microsoft's internal ESRP signing credentials [injected a credential stealer](https://www.wiz.io/blog/malicious-version-of-microsofts-agent-framework-published-to-pypi) into agent-framework versions 1.26.1 and 1.26.2 on PyPI. The .pth file hook technique exfiltrates environment variables, cloud provider tokens, SSH keys, Docker configs, and CI/CD tokens on every Python start. The package had 200,000 monthly downloads. Both versions were removed in roughly 55 minutes.

The signing layer was compromised. When an attacker controls the credentials that build and sign packages for a foundation-layer tool, faster response time just shrinks a bad window. The 55-minute removal period demonstrates good detection, but also reveals how thin the margin is. [The technical analysis](https://socket.dev/blog/agent-framework-pypi-package-compromised-with-credential-stealer) shows what happened: exfiltration sweeping for environment variables, cloud tokens, SSH keys, Docker config, and CI/CD secrets in one payload.

---

*Sources: [Microsoft agent-framework Compromised: Credential Stealer Targets Azure and CI Pipelines](https://www.wiz.io/blog/malicious-version-of-microsofts-agent-framework-published-to-pypi)  •  [Agent Framework PyPI Package Compromised with Credential Stealer](https://socket.dev/blog/agent-framework-pypi-package-compromised-with-credential-stealer)*

*Coverage: [Attackers Compromise Microsoft's Agent Framework PyPI Package to Steal Cloud Credentials](https://thehackernews.com/2026/11/attackers-compromise-microsofts-agent.html)*

*Related on this blog: [[AUTO] Open-Source AI as a Supply-Chain Attack Tool](/posts/auto-open-source-ai-supply-chain)  •  [[AUTO] When Patch Volume Becomes the Problem](/posts/auto-patch-tuesday-prioritization)  •  [[AUTO] Copilot's Explanations Mapped Its Own Architecture](/posts/auto-cosnitch-meta-hacking)*