System statusby Solari Status ↗

How to Secure Computer-Use Agents: Isolation Beyond Input Blocking

·

6 min read

·

Summarize with AI
ON THIS PAGE

In 2026, agents that see a screen and drive a mouse and keyboard have moved from research demos into everyday developer tools, and the safety question has moved with them. Anthropic's latest Claude Code release updates computer use on macOS to newer safety rules, so some actions are refused and some apps get less access. Rules about what an agent may press are getting stricter, one key combination at a time.

Input rules help, but they are not the boundary. The safest way to run a computer-use agent is to give it a machine of its own: an isolated virtual machine with minimal privileges, no secrets on its screen and a record of what it did, with input blocking as a second layer on top. This guide covers why input rules alone fall short, what to do instead, and how Solari gives each agent its own desktop.

Why Is Input Blocking Getting Stricter?

Computer use on a personal machine means the agent works where you work. Claude Code's computer use runs on your actual desktop with access to the apps you approve, so its guardrails live at the input layer: per-app approval, warnings for terminals, Finder and System Settings, and a global Esc key that is consumed so on-screen text cannot use it to dismiss a dialog.

Those rules exist because of prompt injection. A computer-use agent reads everything on its screen, and instructions hidden in a web page or an image can steer it away from the task it was given. Researchers have shown visual prompt injection attacks working against computer-use agents, so every vendor is tightening what its agent may do.

Blocking a keyboard shortcut closes one path to a bad outcome. On a machine that holds your files, signed-in sessions and saved passwords, many other paths stay open.

Isolation or Input Blocking: Which One Protects You?

Isolation does; input blocking narrows what gets through. An input rule lists actions to refuse, and the list is never finished: deleting a file, sending a message or approving a payment can each be done with a plain click. Isolation limits what any action can reach, whichever key or click produced it.

Input blocking and isolation compared

Anthropic's own guidance for its computer use tool starts in the same place: run the agent in a dedicated virtual machine or container with minimal privileges, keep sensitive data such as login details away from the model, limit internet access to an allowlist of domains, and ask a person to confirm decisions with real-world consequences. That is the principle of least privilege applied to an agent with a screen.

The two layers work together. Input rules catch the obvious mistakes early, and the VM decides how far the rest can travel.

What Can You Do to Run Computer-Use Agents Safely?

Most of the work is deciding where the agent runs and what it can see. These are the steps teams take first:

  • Give every task its own machine. Start a fresh desktop for each job and destroy it when the job ends. A bad click or an injected instruction then affects one disposable VM, not the laptop with your email and source code.

  • Keep secrets off the screen. Anything the agent can see, it can be tricked into typing somewhere else. Sign in through stored sessions rather than passwords in the prompt, and keep production credentials on machines the agent never touches.

  • Close the network where the job allows it. An agent that only processes local files has no reason to reach the internet. Where it must browse, an allowlist of domains keeps it away from pages written to hijack it.

  • Put a person on consequential steps. Payments, sent messages, deleted records and accepted terms deserve a human approval. The agent prepares the action, and a person confirms it before anything leaves the machine.

  • Keep a record of what the agent did. A recording turns "what happened?" into something you can replay and check. It also shows a reviewer exactly what the agent read before it acted.

  • Keep input rules as the second layer. Blocked key combinations and per-app approvals still catch mistakes early. Treat them as a filter in front of the boundary, not as the boundary itself.

What Role Does Solari Play?

Solari is the infrastructure a computer-use agent runs on: cloud browsers, sandboxes and desktops from one API. Your agent brings the model and the logic; Solari gives it an isolated machine to work in.

  • A desktop per agent in about a second. A Solari VM is a full Linux computer with a graphical screen, and it starts in about a second. You can give every task a clean machine instead of sharing one desktop across runs.

  • Sized to the job, and only to the job. Solari VMs run with 1 to 8 vCPUs and up to 16 GB of memory, and a larger request is rejected rather than quietly reduced. Your agent gets the resources you chose and nothing more.

  • Mouse, keyboard and screenshots over an API. A Solari VM responds to real mouse and keyboard input, including key chords, and returns screenshots, so a model such as Claude can drive it through its computer use loop. Your own code sits between the model and the machine, which is where you add your input rules.

  • Pause, resume or throw it away. Pausing a VM saves its state, and a same-host resume took about 1.3 seconds on staging, five trials. When a run goes wrong, destroy the VM: a destroyed VM cannot be recovered, so nothing from that run carries into the next.

  • Watch live and take over. Every Solari VM comes with a live view you can watch and control, so a person can step in before a consequential click. The stream URL grants control of the machine, so keep it out of chats, tickets and logs.

  • A sandbox with no network for agent code. Code your agent writes runs in a Solari sandbox, a microVM of its own by default, and the hardened tier blocks all outbound network. A script that only needs local files runs where it cannot reach the internet.

For web tasks, record any browser session and replay it later as a line-by-line log of what happened on the page. Recording captures input values by default, so leave it off for sessions that type a password. Browsers, sandboxes and desktops share one account and one bill, and the introduction to Solari covers the three together.

What Comes Next for Computer-Use Agent Safety?

Computer-use agents are early, and the way teams secure them will change over the next year in four ways:

  • Rules move from the keyboard to the machine. Lists of refused actions will keep growing, and teams will rely on the VM boundary as the control that sets limits. Input rules will tune behaviour inside it.

  • Disposable desktops become the default. Agents will start each task on a fresh machine from a known image and discard it afterwards, the way continuous integration jobs already run.

  • Recordings become audit evidence. Compliance teams will ask for a replay of what an agent did, the same way they ask for access logs today.

  • Approvals get finer. Instead of approving whole apps, people will approve single actions, with the agent pausing at the step that matters.

What stays human is the decision about what an agent may touch: which systems it reaches, which secrets it never sees and which actions wait for a person. Those choices set the risk; the agent only operates inside them.

Get Started With Solari

Start with one GUI-only job your team does by hand today, run it on a fresh Solari desktop with a person watching the live view, then scale out once it runs cleanly. Solari is the fastest and cheapest way to run cloud browsers and VMs for computer-use agents. Get started with a free account and start running your agents today.

Share this article

Give every agent
a place to work

Browsers, sandboxes and desktops from one API. Start free and scale when you need to.

Planet horizon at sunrise
opsra logo

The Fastest AI Infrastructure

Unsubscribe anytime. See our Privacy Policy.

Copyright © 2026 Solari

Engineered by Pinetree

opsra logo

The Fastest AI Infrastructure

Unsubscribe anytime. See our Privacy Policy.

Copyright © 2026 Solari

Engineered by Pinetree

opsra logo

The Fastest AI Infrastructure

Unsubscribe anytime. See our Privacy Policy.

Copyright © 2026 Solari

Engineered by Pinetree