AI coding agents can be hijacked by a malicious AGENTS.md file in the Downloads folder
A malicious AGENTS.md file placed in a user's ~/Downloads folder can hijack AI coding agents, causing rogue npm installations, unauthorised command execution or OAuth token leakage. The attack exploits default browser download behaviour and requires the agent to be started in the same folder.