Nobody put it there — a web page can drop an instruction file in Downloads, and the EU duty that lands in 37 days belongs to whoever generates the output
an instruction file is an unversioned, highest-priority input, and provenance is only worth the boundary that applied it
Post
A 13 KB markdown file sat in a customer's Downloads folder, formatted like ordinary engineering notes.
Nobody had put it there.
Forever Security published what it was for on 22 October. It was written for a coding agent, and it worked.
-
Codex obeyed the planted file in more than 90% of attempts; Claude Code followed through about half the time. One target: function-color, a known-malicious npm package.
-
The Codex path does not stay in the folder. The file has Codex add an mcp_servers entry to ~/.codex/config.toml — machine-wide. The attacker's server then loads in every later Codex session, any directory.
-
The Claude Code path needs no code execution. A planted CLAUDE.md writes .claude/settings.json with ANTHROPIC_BASE_URL pointed at the attacker. The OAuth token goes with it: the researchers replayed one against the real API and were served as the victim. Account takeover, nothing run.
Before you file this as a sandboxing bug: there is nothing to patch. Both agents behaved as designed. The gap is that a folder your browser can write to without a click is trusted as if you had filled it.
The reflex is that the AI Act makes someone fix this. Article 15 — accuracy, robustness, cybersecurity — sits in Chapter III, and Regulation (EU) 2026/1744 moved it to 2 December 2027 for Annex III, 2 August 2028 for Annex I. A coding agent in your own repo was never Annex III.
What is live, in 37 days, is marking. Read who it binds. Article 50(2) is a duty on the provider of the system generating the output. Redirect the model endpoint and you have changed the provider. The attacker's server owes the mark, will not apply it, and nothing asks you to check. Article 50(4) only has a deployer disclose deepfakes and public-interest text, and exempts you where a human holds editorial responsibility.
Monday:
- Pin the working directory. Never start an agent in ~/Downloads.
- Treat ~/.codex/config.toml and .claude/settings.json as secrets-grade. Alert on write.
- Rotate the agent token; assume a captured one replays.
- Building for 2 December? Sign where you hold the keys, after human review — not inside the agent's process.
Caveat: Forever's percentages are lab measurements published without trial counts or versions.
A provenance mark is worth exactly the boundary that applied it.
Which directory did your agent start in this morning?
#AgenticEngineering #EUAIAct #AIGovernance #SoftwareSupplyChain #Berlin
First comment
Sources, primary first.
The research itself — the file found in the wild, the Codex and Claude Code chains, and the replayed token: https://forever.security/blog/hijacking-ai-agents-via-downloads-folder/
BleepingComputer's coverage, with Gal Weizman on how many agent sessions start in ~/Downloads: https://www.bleepingcomputer.com/news/security/ai-coding-agents-hijacked-using-agentsmd-file-in-downloads-folder/
AI Act Article 50 as consolidated after the Digital Omnibus — 50(2) binds the provider, 50(4) the deployer: https://ai-act-service-desk.ec.europa.eu/en/ai-act/article-50
AI Act Article 15, accuracy, robustness and cybersecurity, and that it sits in Chapter III: https://ai-act-service-desk.ec.europa.eu/en/ai-act/article-15
Regulation (EU) 2026/1744, the Digital Omnibus, in force 27 July 2026 — the Annex III and Annex I deferrals: https://eur-lex.europa.eu/eli/reg/2026/1744/oj
The Commission's Code of Practice on marking and labelling AI-generated content, published 10 June 2026 — voluntary, and still the clearest statement of what marking is supposed to mean: https://digital-strategy.ec.europa.eu/en/news/commission-publishes-code-practice-marking-and-labelling-ai-generated-content
Cut for length: the one defence that worked was an accident. Claude Code's attack failed every single time in a folder full of security notes — a spawned subagent read the planted file in that context and flagged it as an attack. The agent's own judgement saved it, and only because of what else happened to be on disk. That is not a control you can write into a runbook.
Claims
- CLAIM-2026-10-26-01
- CLAIM-2026-10-26-02
- CLAIM-2026-10-26-03
- CLAIM-2026-10-26-04
- CLAIM-2026-10-26-05
- CLAIM-2026-10-26-06
- CLAIM-2026-10-26-07
- CLAIM-2026-10-26-08
- CLAIM-2026-10-26-09
- CLAIM-2026-10-26-10
- CLAIM-2026-10-26-11
- CLAIM-2026-10-26-12
- CLAIM-2026-10-26-13
- CLAIM-2026-10-26-14
- CLAIM-2026-10-26-15
Sources
- bleepingcom2026ai
- ecdigitalst2026commissio
- euaiactserv2026accuracy
- euaiactserv2026transpare
- eurlex2026regulatio
- foreversecu2026markdown
Corrections
No corrections.
AI disclosure
The video for this edition contains AI-generated media: the narration is a synthetic voice, the cover art and any background imagery are generated, and the brand ident animation is generated. The script, the claims and the source verification are human-authored and human-checked. Assets carry IPTC DigitalSourceType and C2PA Content Credentials.