# Attackers Compromise Microsoft's Agent Framework PyPI Package to Steal Cloud Credentials

Source: [The Hacker News](https://thehackernews.com/2026/11/attackers-compromise-microsofts-agent.html) · 2026-11-18 · Security
Page: https://themorning.dev/story/attackers-compromise-microsoft-s-agent-framework-pypi-package-to-steal-cloud-cre-1df53018af16af50
Kind: security · Impact: high

## In brief

- Versions 1.26.1 and 1.26.2 of Microsoft's agent-framework PyPI package were published on 2026-11-17 with a credential stealer added.
- The malicious code installs Python startup hooks that run on every Python start and collect credentials, environment data and cloud identity tokens.
- Both releases send collected data to a webhook.site endpoint; the malicious versions have since been quarantined.

## Why it matters

Any developer or CI pipeline that installed agent-framework 1.26.1 or 1.26.2 may have exposed Azure, Azure DevOps and GitHub Actions secrets, so those credentials should be treated as compromised.

## What to do

- Check whether agent-framework 1.26.1 or 1.26.2 was installed in any environment or CI pipeline
- Pin agent-framework to a version other than 1.26.1 and 1.26.2
- Rotate Azure, Azure DevOps and GitHub Actions secrets available in affected environments

## Versions

- agent-framework 1.26.1
- agent-framework 1.26.2

## Timeline

- 2026-11-17: Malicious versions 1.26.1 and 1.26.2 published to PyPI at 20:35 UTC
- 2026-11-17: Malicious versions quarantined
- 2026-11-18: Security firms publish analyses of the compromise

## Coverage

- [Attackers Compromise Microsoft's Agent Framework PyPI Package to Steal Cloud Credentials](https://thehackernews.com/2026/11/attackers-compromise-microsofts-agent.html) — The Hacker News, 2026-11-18
- [Microsoft agent-framework PyPI Package Compromised](https://www.stepsecurity.io/blog/microsoft-agent-framework-pypi-package-compromised) — Step Security Blog, 2026-11-18
- [Microsoft’s agent-framework PyPI package Compromised with Credential Stealer](https://socket.dev/blog/agent-framework-pypi-package-compromised-with-credential-stealer?utm_medium=feed) — Socket, 2026-11-17
- [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) — Wiz Blog | RSS feed, 2026-11-17
- [Two malicious agent-framework releases hit PyPI in 33 minutes](https://www.aikido.dev/blog/two-malicious-agent-framework-releases-hit-pypi-in-33-minutes) — Aikido Security's Blog, 2026-11-17

Tags: python, pypi, supply-chain, credential-theft, microsoft, agent-framework

---

Brief generated by AI (claude-haiku-5-5) from the reporting listed under Coverage. Headlines belong to their publishers. The Morning Dev – https://themorning.dev
