A markdown file planted in a Downloads folder told a coding agent to rewrite its own configuration and install malware. At every step, a normal security stack would have just seen something ordinary, and nothing malicious.
▶ Watch the episodeA markdown file planted in a Downloads folder told a coding agent to rewrite its own configuration and install malware. At every step, a normal security stack would have just seen something ordinary, and nothing malicious.
We covered this one on This Week in AI Security. On October 22, Forever Security reported that it had caught a malicious AGENTS.md file in a customer's Downloads folder. The file told a coding agent to edit its own configuration and install a known piece of malware. No traditional exploit was involved. The agent read a text file and did what the text file said.
Here is the path the file took, along with what a typical security stack would have seen at each stop. Spoiler: nothing looks wrong at any of these steps.
Stop 1: A web page saves a file. It was never disclosed how the original file arrived, but it showed that a malicious site can drop a file into Downloads with no approval prompt. Your security stack sees an ordinary download.
Stop 2: The file sits in Downloads. It was a 13 KB markdown document dressed up as engineering guidelines. Your scanner finds no code to flag.
Stop 3: An agent starts, and scans that folder as part of its normal work. Codex reads AGENTS.md at startup and follows the instructions in any folder it trusts and has write access to. Your security stack sees a developer using a coding agent.
Stop 4: The agent edits its own configuration. The malicious instructions told Codex to add a server to its config and install function-color, a known malware package. Codex complied in more than 90% of the tests, mostly with a harmless stand-in for the malware, and a Claude Code version worked about half the time. Your security stack sees an agent editing a config file.
Stop 5: Every session after that. The config is machine-wide, so the change loads in every folder from then on. Your security stack sees the same agent behaving the way it always does.

The numbers come from Forever's own testing, and nobody has reported the attack being used widely. An IDC analyst called it a credible early warning. Nothing in those five stops was broken, because the agent followed an instructions file in its own folder exactly as designed.
Once an agent follows the attacker's instructions, it does so with the user's own access. The size of the problem depends on who that user is.
Multiply that by every developer and every desktop assistant user in your company, and you get a blast radius nobody has measured.
This takes five minutes and needs no tools. It is Forever's own advice, with the file paths filled in.
That covers your own machine. Your company is the harder part.
Answer these without asking anyone. Give yourself a point for each one you can answer with a name or a number.
If you scored under three, you are in good company, and the missing piece is an inventory. That is the piece we build.
Here are the same five questions with an inventory behind them.

If you scored under three, the quickest way up is to see what is already running. In a 15-minute technical deep dive, FireTail scans your own codebase and gives you a complete AI model inventory, and the same inventory extends to the AI tools on your users' devices. That is the AI inventory of who's deployed what agents, and who's using what desktop tools to do what.
Schedule a demo and bring your scorecard. We'll show you your number.
A walkthrough of AI security and governance across your organization.
Schedule a Demo