Large language model (LLM) agents read files, use tools, and carry out tasks, but attackers can hide malicious instructions in that content. Most prior work studied content, not location. Does location change obedience?
They built test environments for tool use, coding, and daily workflows, and placed the same harmful instruction in different spots, like documentation versus code or data files. They measured how often agents followed it.
They found a trust region effect: location matters. One agent obeyed an unsafe instruction in a README or TODO file 2.6 times more often than in a code or data file. So attackers can pick hiding spots to strengthen attacks, and defenders should treat all input regions as untrusted.
