---
title: "Markdown Is the New Executable: Attackers Are Dropping Agent Instructions Into Your Downloads Folder From the Web · Forever Security"
url: "https://xlrocket.men/markdown-is-the-new-executable-attackers-are-dropping-agent-instructions-into-your-downloads-folder-from-the-web-forever-security"
markdown_url: "https://xlrocket.men/markdown-is-the-new-executable-attackers-are-dropping-agent-instructions-into-your-downloads-folder-from-the-web-forever-security.md"
format: "link"
published: "2026-10-26T12:21:05.000Z"
link_url: "https://forever.security/blog/hijacking-ai-agents-via-downloads-folder/"
site: "火箭君 MEN"
---

# [Markdown Is the New Executable: Attackers Are Dropping Agent Instructions Into Your Downloads Folder From the Web · Forever Security](https://forever.security/blog/hijacking-ai-agents-via-downloads-folder/)

译：别在 \~/Downloads 里开编码 Agent：被投放的 AGENTS.md 让 Codex 改配置、装恶意 npm 包

- 真实样本；网页可不经点击把文件存进 Downloads，Codex 测试中 90%+ 照做，改的是全局 `~/.codex/config.toml`（[The Hacker News](https://thehackernews.com/2026/10/malicious-file-in-downloads-folder.html)）
- 今天动作：Agent 只在项目目录启动；审批和沙箱别关
- 查一遍 `~/.codex/config.toml` 和 `.claude/settings.json` 有无你没加的 server / base URL
