{
  "id": 20884152,
  "title": "Microsoft's agent-framework Package Was Hijacked on PyPI: What AI SaaS Teams Should Check",
  "url": "https://urgent.news/2026/11/20/microsofts-agent-framework-package-was-hijacked-on-pypi-what-ai-saas",
  "topic": "ai",
  "section": "AI",
  "published": "2026-11-20T10:22:24.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/somnath_khadanga_2e5c2364/microsofts-agent-framework-package-was-hijacked-on-pypi-what-ai-saas-teams-should-check-1b4e"
  },
  "original_language": "en",
  "account": "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.",
  "summary": "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,…",
  "key_points": [
    "Microsoft's agent-framework package released on PyPI with malicious versions.",
    "Malicious versions 1.26.1 and 1.26.2 contained credential stealer.",
    "Rotate credentials and rebuild environment with pinned agent-framework==1.26.0."
  ],
  "editors_take": "The compromise of a major AI framework package highlights the critical danger for developers who fail to pin specific dependency versions when building automated agentic services.",
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}