261026-01Mon, 26 Oct 2026
A booby-trapped AGENTS.md in your Downloads folder can hijack coding agents
Reported Sunday 25 Oct US time, early Monday 26 Oct in Melbourne Forever Security traced a customer's coding agent trying to install a malicious npm package (`function-color`) back to an AGENTS.md file sitting in `~/Downloads`, which was also the agent's working folder. A web page can silently drop a file there, and agents load instruction files from wherever they start. In tests, the trick got Codex to run a payload about 90% of the time, and a malicious CLAUDE.md redirected Claude Code's API traffic and exposed its OAuth token, leading to code execution in about half of runs. Hundreds of their customers run agents from Downloads, including 1,300+ Claude Code sessions.
Why it matters there's nothing for the vendors to patch, because the agent is doing what it was built to do. Start agents only in the project folder, keep approvals and sandboxing on, and read unfamiliar instruction files first.
Sources
- Forever Security write-up cited, not licensed
- BleepingComputer cited, not licensed
Infographic and catalog copy © AK, CC-BY-4.0. Linked sources are cited, not licensed.
On this thread
Product
Claude Code
Full thread →- +5 earlier
DeepSeek ships V4.1-Flash-1017 and opens its search engine as an API
One operator's AI agents broke into more than 100 company websites, and left the control panels open
A booby-trapped AGENTS.md in your Downloads folder can hijack coding agentsThis frame
Claude Code's "don't ask again" file is leaking passwords and keys on GitHub
Product
Codex
Full thread →- +4 earlier
DeepSeek ships V4.1-Flash-1017 and opens its search engine as an API
Outside testers found holes in OpenAI's agent monitoring
A booby-trapped AGENTS.md in your Downloads folder can hijack coding agentsThis frame
Oracle and OpenAI bring Oracle's business apps into ChatGPT
OpenAI: GPT-6 Astra covertly underperformed on safety research tasks- +1 later