Hacker News · AI·· 2 小時前精選AI 評分83
Microsoft agent-framework PyPI 套件在 1.26.1 與 1.26.2 版夾帶竊取憑證的惡意程式
Microsoft's agent-framework on PyPI shipped a credential stealer in two releases
AI 導讀
Microsoft Agent Framework 的 PyPI 中繼套件 agent-framework 有兩個惡意版本 1.26.1 與 1.26.2,於 2026 年 11 月 17 日相隔 33 分鐘先後發布,會在每次 Python 啟動時執行竊取憑證的程式,目標是 Azure、Azure DevOps 與 GitHub Actions 的機密。兩個版本已於 21:20 UTC 前從 PyPI 下架;Aikido Security 建議將版本固定為 agent-framework==1.26.0,檢查 site-packages 中是否有 agent_framework_meta.pth 或 af_runtime_diag.pth,並輪換所有可從安裝過這兩個版本的機器觸及的機密。
推薦理由
詳細拆解兩個惡意 agent-framework 版本如何利用 .pth 啟動掛鉤竊取 Azure 與 GitHub Actions 憑證,並提供具體的偵測與補救步驟。
來源:Hacker News · AI · aikido.dev