CaMeLs Can Use Computers Too: System-level Security for Computer Use Agents
Hanna Foerster, Tom Blanchard, Kristina Nikolić, I Shumailov, Cheng Zhang, Robert Mullins, Nicolas Papernot, Florian Tramer, Yiren Zhao
NeurIPS page · Open on the map
Category: AI Safety, Security & Alignment › Multi-Agent Security Evaluation · Type: new method · Keywords: computer use agents, prompt injection defense, architectural isolation, single-shot planning, perception model, control-flow integrity
Areas: AI Agents › Agent Robustness › Agent Security Vulnerabilities; Safety & Security › Language Model Security › LLM Agent Security
Summary
NOVA enables secure computer-use agents by using single-shot planning and a perception model to guarantee control-flow integrity against prompt injection attacks.
Explained to a 5-year-old
Some computer helpers can be tricked by bad words that make them do something they shouldn't. To keep them safe, we plan everything they need to do before they even start. We also give them a tiny picture-looking tool that can find where buttons are on the screen. This way the helpers stay safe while still being able to do many tasks. We test them on a special computer game that shows how well they work.
Explained to a 5-year-old, longer
AI agents are programs that help us do things on a computer by looking at the screen and clicking buttons. Sometimes someone can give them a secret message that makes them do something dangerous, like opening a bad website. To stop this, we make a plan that tells the agent everything it might need to do before it even starts. This plan is like a map that shows all the possible steps, so the agent cannot be tricked into going somewhere it shouldn't. We also give the agent a small helper that can look at the screen and find where the buttons are, even if they move. Because the plan is already made, the agent doesn't need to keep watching the screen while it works, which makes it safer. This way the agent can still do many tasks, like filling out forms or opening files, without being vulnerable. We test this idea on a special computer test called OSWorld, which has many different tasks for the agent to try. The results show that the safe agents still work almost as well as the fastest ones, keeping most of their speed. For smaller, less powerful agents, the safe version actually helps them do better than before. However, there is still another trick called branch steering where the helper can be fooled into choosing the wrong path. The paper suggests more work is needed to protect against this extra trick.
For a technical reader
The paper introduces NOVA, a system that secures computer-use agents by planning all possible actions upfront and using a perception model to resolve UI details at runtime. This single-shot planning eliminates the need for continuous observation, providing strong control-flow integrity against prompt injection attacks. Evaluations on OSWorld show that the approach retains up to 57% of frontier model performance and even improves smaller models by up to 19%. The authors also discuss residual risks from branch steering attacks and suggest further defenses.
Problem
Computer Use Agents (CUAs) need continuous observation of UI state to decide actions, but this conflicts with the architectural isolation required to protect against prompt injection attacks. This creates a security-utility trade-off where agents cannot both be secure and functional.
Method
The approach uses single-shot planning where a trusted planner generates a complete branching plan covering all anticipated UI states, and integrates a perception model to resolve runtime values such as coordinates. This plan is executed without further observation, providing control-flow integrity. Additional measures are proposed to mitigate branch steering attacks.
Results
On OSWorld, the approach retains up to 57% of the performance of frontier models and improves performance for smaller open-source models by up to 19%, showing that security and utility can coexist.
Contributions
It shows that UI workflows are structurally predictable, enabling single-shot planning for control-flow integrity. It integrates a perception model to resolve runtime UI values and provides empirical results on OSWorld demonstrating security and performance trade-offs.
Limitations and assumptions
The evaluation is limited to OSWorld, and the method assumes UI workflows are predictable, which may not hold for all applications.
Practical relevance
This work enables secure automation of computer tasks, allowing organizations to deploy computer-use agents without risking prompt injection attacks.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction