Researchers say attackers uploaded two malicious releases of Microsoft’s agent-framework package to PyPI on November 17, turning a dependency update into a credential-stealing foothold.
In Wiz’s analysis, the tainted builds were 1.26.1 and 1.26.2, published 33 minutes apart. PyPI quarantined both the same day, and 1.26.0 is the last known clean version.
The package reportedly abused .pth files in site-packages, letting its payload run whenever Python started in that environment, even if agent-framework was never imported. Wiz says the stealer collected environment secrets along with Azure, GitHub, and OIDC-related credentials, then sent the data to a webhook.site endpoint.
Researchers also say 1.26.2 was uploaded after 1.26.1 had already been quarantined, suggesting the publisher account still had release access during the response window. For teams that touched these versions, the immediate work is to rebuild affected environments, rotate reachable secrets, and check for unexpected .pth files or webhook.site egress.
