Back to archive
Development·Article

GitHub makes local Copilot sandboxing generally available across Windows, macOS and Linux

GitHub moved its local Copilot agent sandboxing into general availability on 7 October across Copilot CLI, the desktop app and VS Code Agent Host sessions. The shared MXC policy layer restricts filesystem, network and credential access with native controls; the September app-only opt-in preview is now part of a broader release.

Published 23 Sept 2026, 18:47 · Updated 11 Oct 2026, 07:21

Story history · 1 earlier version

23 Sept 2026, 18:47

GitHub Copilot app adds opt-in sandbox for local agent sessions

From an app preview to a shared local boundary

GitHub expanded local sandboxing to general availability on 7 October for Copilot CLI, the Copilot desktop app and Visual Studio Code sessions that use Agent Host. The 23 September preview had introduced an opt-in, project-level policy for the Copilot app; the new announcement extends the feature across more agent execution environments without requiring developers to depend only on model instructions for file and network boundaries.

GitHub says the implementation uses Microsoft eXecution Container (MXC) to translate a common sandbox policy into native Windows, macOS and Linux enforcement. Policies govern access to files and directories, public and local networks, Git credentials and GitHub CLI credentials. Enterprise administrators can require sandboxing and prevent a developer from weakening centrally imposed rules.

The model and its tools have separate privileges

GitHub says local MCP servers and language servers can also be covered where supported. That distinction matters because a prompt-level instruction to avoid a sensitive directory cannot constrain a shell command or tool service with broader operating-system permissions. Restricting execution paths independently of the chosen model limits what an agent can reach when a task or a generated command goes wrong.

Local sandboxing is included with Copilot at no additional cost, according to GitHub. General availability describes feature support, not a proof that every policy blocks every possible escape. Teams should test their permitted and denied paths, credential exposure and external-tool integrations on their actual platforms, particularly where agents can invoke local services.

Source trail

01
GitHub Changelog - Local sandboxing in the GitHub Copilot app
Primary · 23 Sept 2026, 17:00
https://github.blog/changelog/2026-09-23-local-sandboxing-in-the-github-copilot-app/
More Wire stories citing github.blog
02
GitHub Changelog - Local sandboxing for GitHub Copilot now generally available
Primary · 7 Oct 2026, 02:00
https://github.blog/changelog/2026-10-07-local-sandboxing-for-github-copilot-now-generally-available/