Malicious Microsoft AI package steals developer credentials
This is a DailyCyber.News update, brought to you by BareMetalCyber.com, for Friday, November 20th, 2026.
Two releases of Microsoft’s official agent-framework package on the Python Package Index contained credential-stealing code. Versions 1.26.1 and 1.26.2 installed a startup hook that ran when Python launched, even if a developer never imported the framework. The code collected secrets, cloud and developer credentials, environment files and information from other processes. It then sent the collected material to an external endpoint. Both releases were quarantined, but the available reports don’t explain how the attacker obtained publishing access.
Developer machines and build runners may have exposed stored secrets and, in some cases, access to newly issued cloud tokens. The genuine framework continued working, making the malicious behavior less obvious. Leaders shouldn’t assume official package ownership eliminates supply-chain risk. Defenders should isolate affected hosts, rebuild them from clean bases and review cloud identities, federated credentials and managed-identity permissions.
A build environment can itself function like a credential when it can request fresh access. Treat systems that installed versions 1.26.1 or 1.26.2 as compromised and rebuild them from a clean base.
For the sources and the full Daily Cyber newsletter, visit DailyCyber.News.