# Microsoft agent-framework PyPI Package Compromised

Source: [Step Security Blog](https://www.stepsecurity.io/blog/microsoft-agent-framework-pypi-package-compromised) · 2026-11-18 · Security
Page: https://themorning.dev/story/microsoft-agent-framework-pypi-package-compromised-7f728080b0bae88c
Kind: security · Impact: high

## In brief

- Versions 1.26.1 and 1.26.2 of the Microsoft agent-framework PyPI package were published on November 17, 2026 with an added credential stealer.
- The malicious releases install Python startup hooks that run on every Python start and collect credentials, environment data and cloud identity tokens.
- Stolen data is sent to a webhook.site endpoint; the malicious versions have since been quarantined.

## Why it matters

Anyone who installed agent-framework 1.26.1 or 1.26.2 may have had Azure, Azure DevOps and GitHub Actions secrets exfiltrated, so those credentials should be treated as exposed.

## What to do

- Check whether agent-framework 1.26.1 or 1.26.2 was installed anywhere, including CI pipelines.
- Pin agent-framework to a safe version that is not 1.26.1 or 1.26.2.
- Rotate Azure, Azure DevOps and GitHub Actions credentials that were present on affected machines or runners.

## Versions

- agent-framework 1.26.1
- agent-framework 1.26.2

## Timeline

- 2026-11-17: Malicious agent-framework versions 1.26.1 and 1.26.2 published to PyPI (second release about 33 minutes after the first, per Aikido)
- 2026-11-17: Malicious versions quarantined

## Coverage

- [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, azure, malware

---

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
