Microsoft agent-framework Compromised Twice on PyPI
Comments
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Summary
SafeDep reports that agent-framework 1.26.1 and 1.26.2, Microsoft's Python metapackage on PyPI, carried a credential stealer. A .pth file runs it at every Python start, so installing is enough. It takes environment variables and credential files, requests fresh Azure DevOps, managed identity and, in 1.26.2, GitHub Actions tokens, and posts them to webhook.site. PyPI removed both; 1.26.0 is the last clean release. A maintainer account created that day may be the uploader, which is unconfirmed. Treat reachable secrets as exposed and hash-lock the dependency tree.