Aikido Security said two malicious releases of agent-framework, 1.26.1 and 1.26.2, appeared on PyPI, Python's public package index, on Nov 17, 2026. The package is the main one for Microsoft Agent Framework, a toolkit for building AI agents. Version 1.26.1 went up at 20:35 UTC, and 1.26.2 followed 33 minutes later. Aikido says both were gone by about 21:20 UTC.
Aikido says the code ran on every Python start, because Python executes import lines in .pth files at launch. Nothing had to import the package. It copied environment variables with names such as TOKEN or SECRET, including those of other running processes, and asked for Azure access tokens. Version 1.26.2 also went after GitHub Actions identity tokens, which let an attacker act as a workflow. Aikido says it is not yet known how the attacker got publishing access. It gives no count of installs.
Aikido says the attacker replaced the first release within 33 minutes, so blocking one filename or hash was not enough. The update also kept the same dependency pin, which makes it look routine. Leaders should ask which builds installed fresh copies in that window, and whether loose rules such as agent-framework>=1.26 are allowed in CI. For affected machines, Aikido says to replace every secret and use 1.26.0.