Microsoft's agent-framework Package Was Hijacked on PyPI: What AI SaaS Teams Should Check
On the evening of November 17, 2026 (UTC), two releases of Microsoft's official agent-framework package appeared on PyPI that did not come from the project's repository. Versions 1.26.1 and 1.26.2 carried a credential stealer that runs every time Python starts. Both are gone from PyPI, but anything that installed or cached them is still exposed. If you have a Python service that builds AI agents,…
On November 17, 2026, Microsoft's official agent-framework package was released with two malicious versions on PyPI. These versions, 1.26.1 and 1.26.2, contained a credential stealer that would activate every time Python started. The malicious versions were removed from PyPI, but any system that had installed or cached them remains at risk.
This issue affects any Python service building AI agents or CI that installs Python dependencies without pins. The stealer collected various credentials, including cloud identities, CI tokens, model provider keys, and more, and sent this information to a webhook.site URL. If you have been using agent-framework version 1.26.1 or 1.26.2, you should immediately rotate your credentials and rebuild your environment with a pinned version of agent-framework==1.26.0.
Make sure to remove any affected virtual environments and rebuild from a clean base. Additionally, review your cloud sign-ins, GitHub workflows, model provider dashboards, and rotate all exposed credentials to ensure the security of your AI SaaS applications.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.