Forever Security says it caught malware that planted agent instructions in a customer's Downloads folder
Forever Security · Company report
Read the source (opens in a new tab)- What happened
- Forever Security said on October 22, 2026, that it found a malicious AGENTS.md file in the Downloads folder of a real customer machine and stopped the coding agent that was following it.
- Key points
- Its tool stopped a coding agent mid-session from installing a known malicious npm package; the order came from a planted file whose origin nobody knew.
- It reproduced the attack on OpenAI Codex, using the attacker's own file in an isolated VM, and on Claude Code; it says a website visit can drop such a file.
- It says "There is nothing here for OpenAI or Anthropic to patch" because the agents follow folder instructions as designed, so "the vector stays open."
- In its telemetry, about half of customers run a coding agent inside their Downloads folder and roughly a quarter of agent sessions open a real browser.
- Evidence
- A security vendor's report on one detection at a customer, plus its own reproductions. It says the malware was stopped "before any code ran."
- Uncertain
- The case rests on one customer machine and the vendor's own account. The report does not say how the file reached that machine or who planted it.