AGENTS.md prompt injection: I poisoned one file, and only the sandbox held
A canary test run on 18 November 2026 found that a single poisoned AGENTS.md file caused Codex (codex-cli 0.162.1) to execute an attacker-supplied script in 5 of 5 runs without mentioning it in its an…