01
Instruction files planted in the Downloads folder can make AI coding agents run malicious code
Forever Security says it found a malicious AGENTS.md file, disguised as engineering notes, in the Downloads folder of a customer's computer, where it had prompted a coding agent to try to install a harmful npm package called function-color. Coding agents automatically follow instruction files in the folder they are started in, and browsers such as Chrome, Edge and Firefox save downloads there without asking. In the researchers' tests, OpenAI Codex ran a harmless test payload in about 90% of attempts, and a planted CLAUDE.md file made Claude Code send its traffic to a server they controlled, exposing its login token, in about half of attempts. The researchers describe this as a design gap rather than a bug that can be patched, BleepingComputer reported on 25 October.
What it means for you
Do not start coding agents in your Downloads or home folder; open them only in the project they are meant to work on. Read any AGENTS.md or CLAUDE.md you did not write, keep approval prompts and sandboxing switched on, and if you find an unexpected server or proxy in an agent's settings, change the related passwords and tokens.