AGENTS.md prompt injection: I poisoned one file, and only the sandbox held
A poisoned AGENTS.md got Claude Code's auto mode to leak a canary token in 4 of 10 runs. The OS sandbox with reads denied stopped every run.
SESergei GordeichukSenior Software engineer · The curious software engineer

