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 的机密。两个版本已于 UTC 21:20 前从 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