Skip to content
Hacker News · AI·· 2 h agoPicksAI score83

Microsoft agent-framework PyPI package shipped a credential stealer in versions 1.26.1 and 1.26.2

Microsoft's agent-framework on PyPI shipped a credential stealer in two releases

AI summary

Two malicious releases of Microsoft Agent Framework's PyPI meta-package, agent-framework 1.26.1 and 1.26.2, were published 33 minutes apart on Nov 17, 2026 and ran a credential stealer on every Python start, targeting Azure, Azure DevOps and GitHub Actions secrets. Both versions were removed from PyPI by 21:20 UTC; Aikido Security advises pinning agent-framework==1.26.0, checking for agent_framework_meta.pth or af_runtime_diag.pth in site-packages, and rotating every secret reachable from machines that installed either version.

Why it matters

A detailed teardown of how two malicious agent-framework releases used a .pth startup hook to steal Azure and GitHub Actions credentials, with concrete detection and remediation steps.

Source:Hacker News · AI · aikido.dev