AGENTS.md is the new executable: sites can drop agent instruction files into your Downloads folder

alvelda · x · 2026-11-19

Forever Security documented a new attack against AI coding agents, caught live on a real customer's machine. Claude Code and Codex automatically read and follow instruction files like AGENTS.md in whatever folder they open — so a website can silently drop such a file into Downloads just by being visited, tricking the agent into handing over credentials or running attacker code. No click or user mistake is needed, and it can't simply be patched since it exploits intended behavior. Roughly half of measured companies had employees running these agents, and every browser user among them is exposed. Advice: instruction files are executable context — never start an agent in a folder you didn't curate.

Original post →

More from coding & agent

coding & agent channel →