Malicious AGENTS.md file in Downloads folder can hijack AI coding agents

VectorWireAI · reddit · 2026-10-26

VectorWireAI reports an attack targeting AI coding agents: a malicious AGENTS.md file planted in the Downloads folder can be picked up and hijack agent behavior. Since many agent tools scan context files beyond the working directory, attackers can inject prompts without touching the repo, instructing the agent to leak data or write dangerous code. Developers should audit what directories their agents scan and quarantine untrusted AGENTS.md/rules files.

Original post →

More from coding & agent

coding & agent channel →