跳到正文
Hacker News· torutofu·· 1 小时前精选AI 评分78

Forever 披露通过 Downloads 文件夹植入 AGENTS.md 劫持 AI 编码智能体

Markdown Is the New Executable: Attackers Drop Agent Instructions into Downloads

AI 导读

Forever Security 在真实客户机器的 ~/Downloads 目录中发现恶意 AGENTS.md 文件,该文件伪装成工程说明文档,诱导 Codex 向 ~/.codex/config.toml 写入 MCP 服务器配置并安装恶意 npm 包 function-color。

推荐理由

安全团队在真实客户机器上截获恶意 AGENTS.md,并复现了从网页静默投放到智能体执行代码的完整链路。

来源:Hacker News · forever.security