Hot AI News

App sandboxing: How software is walled off from your files, and when the walls come down

A sandbox lets code run while keeping it away from your files and devices. How it works, where it came from, and what changes when an app gets full access.

App sandboxing: How software is walled off from your files, and when the walls come down
Photo illustration: Aiholics

An application sandbox is a set of walls that an operating system or a browser puts around a program. Code inside the walls can run normally, but it can only reach the files, devices and network connections it has been given. Anything else needs a permission that the user or the system grants.

Sandboxing is the reason a web page cannot quietly read your documents folder. It is also why one question matters more now that AI tools can build software for you: how much of the sandbox should an app built by AI be allowed to leave?

Why a weather site cannot open your tax spreadsheet

Picture a weather website open in a browser tab. It can draw maps, play animations and fetch forecasts from its own servers. If it wants your location, the browser shows a prompt and waits for you to click Allow. What it cannot do, with or without a prompt, is open the tax spreadsheet sitting in your documents folder.

That is a sandbox at work. A children’s sandbox in a park is a good picture: inside, children can dig and build whatever they like, and the low walls keep the sand out of the street. The software version works the same way. The program is free inside its box, and the walls decide what gets in or out.

Advertisements

Walls, a gatekeeper and a short list of allowed doors

A hand holds a smartphone showing six photo thumbnails, with a mountain lake selected in violet.
Photo illustration: Aiholics

Most sandboxes have three parts. First, the program runs with almost no rights of its own. Second, a more trusted gatekeeper process sits outside the walls. Third, there is a short list of doors, often called permissions or capabilities, that the gatekeeper will open on request.

Google’s Chromium project, the open-source base of Chrome, describes this split in its sandbox design document. It calls the privileged controller the broker and the sandboxed processes the targets. In Chromium, the broker is always the browser process, and the renderers that run web pages are targets unless the browser is started with --no-sandbox.

The same document lists the design rules behind it. One is “Assume sandboxed code is malicious code.” Another is the principle of least privilege, which it applies both to the sandboxed code and to the code controlling the sandbox. The document also says the Windows version is a user-mode sandbox that works without administrator rights.

Operating systems offer their own versions. Microsoft’s documentation for Windows AppContainer says “Isolation is the primary goal” and that even if a flaw in an app is exploited, “the app cannot access resources beyond what is granted to the AppContainer.” It describes separate isolation for credentials, devices, files, network, processes and windows. Devices are blocked by default and granted as needed.

From a 1975 security rule to a 1993 Berkeley technique

The idea behind sandboxes is older than the word. In 1975, Jerome Saltzer and Michael Schroeder of MIT published “The Protection of Information in Computer Systems,” a tutorial paper that set out eight design principles. One of them, least privilege, says: “Every program and every user of the system should operate using the least set of privileges necessary to complete the job.”

The term itself took hold in computing through a 1993 paper by Robert Wahbe, Steven Lucco, Thomas Anderson and Susan Graham at the University of California, Berkeley. “Efficient Software-Based Fault Isolation,” presented at the ACM Symposium on Operating Systems Principles, described a technique the authors called sandboxing. It rewrote the machine code of a “distrusted module” so it could not write to or jump to memory outside its own area.

The authors reported an average execution time overhead of 4% on a test suite that included the C SPEC92 benchmarks. Their point was a trade: slightly slower untrusted code in exchange for much faster communication between isolated parts. Later systems moved the walls to different layers, from browser processes to whole operating system app models, but the goal stayed the same.

Advertisements

Claude’s installed artifacts: Three levels of leaving the box

Anthropic’s new “Install as app” feature, which turns Claude artifacts into Mac and Windows desktop apps, is built around this kind of permission ladder. Artifacts are the small interactive tools Claude builds inside a chat. In its November 24, 2026 announcement, Anthropic lists three levels of permissions.

  • Default: according to Anthropic, installed apps “can only do what they’d be able to do in a browser.”
  • App permissions: features Anthropic says Claude “can tightly control,” such as always-on-top windows, global keyboard shortcuts, notifications and a menu bar or system tray icon.
  • Full computer access: the app can “run programs and read, change, or delete your files without asking each time.”

Anthropic’s help center adds the guard rails. An Allow covers one version of the app, so Claude asks again after any update, including the user’s own edits. A request shows a warning if the app comes from outside the user’s organization or Claude cannot tell who made it.

Full access is limited further. According to Anthropic, users can give it only to apps they made or, on Team and Enterprise plans, to apps made by people in their organization. On Team plans the feature is on by default with full access off. On Enterprise, it stays off until an owner turns it on. The help article also states: “Anthropic doesn’t review apps before you install them.”

What a sandbox cannot protect once the door is open

A sandbox protects only what stays inside it. Once an app has full access, it is no longer sandboxed in any meaningful sense. It can do what any program running under the user’s account can do. Anthropic’s help article notes that turning off full access stops programs the app started but “doesn’t undo changes the app already made.”

Permissions also attach to code, not to intent. Anthropic’s help article warns: “If an app loads code from another site, that code can change without a new request.” A user who approved one version may end up running behavior they never reviewed. This is a known weak point of any system that lets sandboxed code fetch more code later.

Prompts have limits too. Security researchers have long worried about “permission fatigue,” where people click Allow on every request without reading it. Asking again after every edit is safer, but frequent prompts can train people to approve faster. Finally, sandboxes themselves have bugs, which is why Chromium’s design assumes the code inside may be hostile rather than trusting the walls alone.

Advertisements

What to watch as AI writes more of the software people run

Until recently, most desktop software came from developers who packaged and signed it, often through app stores that review submissions. Anthropic says installed artifacts need no packaging or signing. That moves more of the safety burden onto the sandbox and the permission prompt, and onto the person who clicks Allow.

Three questions are worth following. Will vendors add finer permissions between “browser only” and “full access,” such as one approved folder? Will companies offering AI-built apps add automated code review before install? And will administrators keep full access switched off by default, as Anthropic’s Team plan defaults currently do? The answers will decide how much the old walls still protect.

Sign Up for the Daily AI Pulse

One email a day. All the stories that matter.

Daniel ReedAI Research, Safety & Ethics Analyst

Daniel Reed currently works as an AI Research, Safety & Ethics Analyst at Aiholics, writing about how changes in artificial intelligence are affecting and will affect scholarship,…

Leave a Reply

Your email address will not be published. Required fields are marked *

You may also like