TSR Desk · science · 17 September 2026, 01:00 UTC
DualView: Preventing Indirect Prompt Injection in Personal AI Agents
- What
- DualView: Preventing Indirect Prompt Injection in Personal AI Agents
- Who
- arxiv.org
- When
- 16 September 2026, 04:00 UTC
- Category
- Science
- Primary source
- https://arxiv.org/abs/2607.03821
- What is not known
- This brief does not claim independent replication. Claims that appear only on X and not in the primary source stay unknown.
In our evaluation on an IPI benchmark and PinchBench, DualView blocked every tested IPI attack, including stored IPI. It comes from a paper posted to arXiv on 16 September 2026. Personal AI agents that run on the user's local machine automate daily tasks including web search, email, and file management. Their access to computer resources, including the network, file system, and shell, exposes them to indirect prompt injection (IPI) attacks. Prior Dual LLM defenses block IPI by replacing untrusted data with symbols that the agent can reference but not read. However, they track untrusted data only inside the agent's context, so when the agent saves and later rereads untrusted data, that data, possibly an attacker's prompt, can return as trusted data rather than as a symbol, which we call stored IPI. Operating on the user's real environment is what makes agents like OpenClaw practical, and is exactly why a defense that ignores it is incomplete. Preserving symbols in such an environment is hard, because humans and programs need original data. We present DualView, which extends untrusted data tracking from the agent's context to the user's environment, including the file system, shell, network, and other agents, by giving each channel two views. In AgentView, the agent sees untrusted data as symbols even after writing it out and reading it back, blocking stored IPI, while HumanView preserves original data for humans and tools. DualView routes each tool call to the right view and synchronizes data across the two views. DualView deploys as an OpenClaw plugin using only tool hooks, without changing the agent's tool-call logic or tool implementations. DualView deterministically prevents instructions in untrusted data from directly steering the agent's tool calls; this guarantee does not depend on recognizing the evaluated attack templates. On PinchBench, its utility drop was within 1.8 to 6.4 points.
Why it counts
In our evaluation on an IPI benchmark and PinchBench, DualView blocked every tested IPI attack, including stored IPI.
Sources
Primary source: primary source
What is not known
This brief does not claim independent replication. Claims that appear only on X and not in the primary source stay unknown.
No clip. The article still stands.