If anyone on your team installed Microsoft's agent-framework 1.26.1 or 1.26.2, assume every secret on that machine is gone. Someone published both versions to PyPI without authorization on November 17, and both carried a credential stealer.
The worst part is how it ran. Every time Python starts, it reads small .pth files from its package folder, and a single line in one of those files can execute code. So the malware fired whenever any Python process started in that environment, whether or not your code imported the framework. That includes pip. Run pip uninstall the normal way and you set it off once more on the way out. The real framework was still bundled inside, so your app worked and your tests passed.
I suspect we'll see more of this. Agent toolkits get installed fast, onto laptops and build servers that hold cloud logins and AI-provider keys.
Rotate before Thursday. Swapping cloud credentials from your in-laws' guest room with half the team offline is a shitty way to spend Thanksgiving.
- Find it: search laptops, build servers, container images and build logs for 1.26.1 or 1.26.2. 1.26.0 is clean.
- Look for the hook files in
site-packages:agent_framework_meta.pth,af_runtime_diag.pth, plusagent_framework_meta/_telemetry.pyandaf_runtime_diag.py. - Clean up without triggering it: delete those files with plain shell commands first, or set
_AF_TEL=1before running any Python. - Rebuild the machine: isolate it and restore from a known-clean image. Deleting files won't stop a stealer that's already running.
- Purge saved copies: package caches, build-system caches, internal mirrors.
- Rotate everything it could reach: cloud, AI-provider, code-repo and package-registry credentials, plus build-system identity tokens. On Linux, include secrets in other processes' environment variables.
- Read audit logs for any use of those credentials since November 17.
- Check outbound traffic for user agents
af-runtime-diagnostics/1orruntime-diagnostics/1, and connections towebhook[.]site.

