---
format: "aidr-story-markdown/v1"
id: "83721a9a72617a002c3df21cbade0505cd7c5f24422820401653e411d4f37fb9"
canonical_url: "https://aidr.today/83721a9a?lang=en"
title: "Microsoft AI Agent Package Hijacked on PyPI to Steal Azure and GitHub Secrets"
lang: "en"
requested_lang: "en"
available_langs: ["en","vi"]
translation_fallback: null
fallback_fields: []
published_at: "2026-11-17T23:36:59.000Z"
category: "Frameworks"
topics: ["microsoft","agent","framework","open-source"]
source_urls: ["https://marketbrief.now/cybersecurity/microsoft-ai-agent-package-hijacked-on-pypi-to-steal-azure-and-github-se-e90894a6","https://huggingnews.com/cybersecurity/microsoft-ai-agent-package-hijacked-on-pypi-to-steal-azure-and-github-se-e90894a6","https://news.ycombinator.com/item?id=50542084","https://www.techmeme.com/261118/p56"]
summary: "Versions 1.26.1 and 1.26.2 of Microsoft's agent-framework package on the PyPI repository were compromised with a credential stealer. The malicious code used Python startup hooks to target and steal Azure identities, GitHub OIDC tokens, and other CI/CD secrets. PyPI has since removed both versions of the package. Security researchers advise any users who installed the affected versions to pin their installation to version 1.26.0 and rotate their credentials."
---

# Microsoft AI Agent Package Hijacked on PyPI to Steal Azure and GitHub Secrets

> [Open the canonical story](<https://aidr.today/83721a9a?lang=en>)

**Published:** 2026-11-17T23:36:59.000Z
**Category:** Frameworks
**Topics:** microsoft, agent, framework, open\-source

## Summary

Versions 1\.26\.1 and 1\.26\.2 of Microsoft's agent\-framework package on the PyPI repository were compromised with a credential stealer\. The malicious code used Python startup hooks to target and steal Azure identities, GitHub OIDC tokens, and other CI/CD secrets\. PyPI has since removed both versions of the package\. Security researchers advise any users who installed the affected versions to pin their installation to version 1\.26\.0 and rotate their credentials\.

## Sources

- [Story source](<https://marketbrief.now/cybersecurity/microsoft-ai-agent-package-hijacked-on-pypi-to-steal-azure-and-github-se-e90894a6>)
- [Story source](<https://huggingnews.com/cybersecurity/microsoft-ai-agent-package-hijacked-on-pypi-to-steal-azure-and-github-se-e90894a6>)
- [Discussion](<https://news.ycombinator.com/item?id=50542084>)
- [Story source](<https://www.techmeme.com/261118/p56>)

