Skip to contentistheinternetok
All incidents

Poisoned software·Major

Microsoft's AI agent toolkit shipped password-stealing code

MitigatedAffects developers
agent-framework (Microsoft Agent Framework, PyPI)

What it changes for you

Nothing visible for you; developers who installed it must change their keys.

Two booby-trapped versions, 1.26.1 and 1.26.2, of agent-framework, Microsoft's Python toolkit for building AI agents, were published on PyPI. They stole passwords, access keys and cloud tokens. Both were removed; it only matters to developers who installed them.

Started Nov 17, 2026Updated Nov 18, 2026

What should I do?

You
Nothing to do.
If you run a website or an app
If any machine or CI job installed agent-framework 1.26.1 or 1.26.2, treat it as compromised, even if the code never imported it: the code ran at every Python start. Remove it, go back to 1.26.0, and change every key and token it could reach, including CI and GitHub Actions secrets.

What is affected

Timeline

  1. Mitigated · Nov 18, 2026

    A GitHub advisory says both versions have been removed from PyPI. Version 1.26.0 and earlier are not affected.

    GitHub Advisory Database
  2. Identified · Nov 17, 2026

    Version 1.26.1 is published on PyPI at 20:35 UTC and 1.26.2 at 21:08 UTC. Both add code that collects credentials and sends them to an outside server.

    GitHub Advisory Database

Sources