跳到正文
原文
行业量子位转述· 听雨·· 4 小时前

恶意 AGENTS.md 文件如何劫持编程智能体

AGENTS.MD,危险危险危险!!!

谁
Forever Security
引文
一家名为 Forever Security 的安全机构,在用户电脑上截获了这个闻所未闻的攻击手段,并发布了YouTube视频。

发生了什么

QbitAI 报道了编程智能体将恶意 AGENTS.md 或 CLAUDE.md 文件当作项目指令而遭受攻击的案例。文章援引 Forever Security 和一位 X 用户的测试称,Codex 的攻击成功率超过 90%,Claude Code 则约为 50%;相关案例涉及 Codex 全局配置以及被更改的 Anthropic Base URL。文章还列出了四项检查,以查找可能留下的痕迹,并建议不要在 Downloads 或 Desktop 目录中启动智能体。

接下来读什么

查看这件事的完整进展Forever Security Reports Coding Agent Hijacking Through Malicious Project Files

这件事到目前为止

Forever Security reported and demonstrated an attack in which malicious AGENTS.md files in download folders hijacked coding agents. QbitAI cited Forever Security and an X user's test, reporting success rates above 90% for Codex and around 50% for Claude Code. The attacks use project instruction files to influence agent behavior. QbitAI described examples involving changes to Codex's global configuration and a modified Anthropic Base URL, and listed checks for possible traces of an attack.

每天一封,跟上 AI 的重要变化

模型发布、价格变化、算力进展,附原始来源。免费,确认后开始发送,随时一键退订。 看一份往期日报 · 2026-11-07