megachangelog
Feature

Local sandboxing in the GitHub Copilot app

Local sandboxing feature now available in the GitHub Copilot app to limit access to files, network resources, and credentials on your machine, reducing the potential impact of unintended commands.

Local sandboxing helps reduce the potential impact of unintended commands by limiting access to files, network resources, and credentials on your machine. In the GitHub Copilot app, you configure it per project for local repository and working tree sessions.

The project’s sandbox settings include:

  • Filesystem: Additional read/write, additional read-only, and denied folder lists.
  • Network: Outbound internet and local network settings.
  • Credentials: Git credentials for authenticated HTTPS git operations, and GitHub CLI credentials for GitHub CLI authentication.

These project settings describe the policy that the app requests when a sandboxed session starts. The effective policy can be more restrictive when enterprise-managed settings apply.

If your operating system cannot enforce the requested policy, the sandboxed shell fails with an error rather than running without a sandbox.

Get started

Local sandboxing is off by default. Open the app settings, select your project, and turn on Sandbox new sessions under “Sandbox”. This applies to new sessions in the project, not sessions already running. Changes to filesystem, network, and credential settings apply to new sessions or when an existing session restarts.

To enable sandboxing for an active local session, enter /sandbox on. This changes that session without changing the project default.

Local sandboxing does not apply to cloud sandbox sessions or sessions running on a remote host. GitHub Copilot app and Copilot CLI sandbox settings are configured separately.

Local sandboxing is in public preview and subject to change.

Learn more about configuring local sandboxing in the GitHub Copilot app.

The post Local sandboxing in the GitHub Copilot app appeared first on The GitHub Blog.

copilotsecuritysandboxingai

Source: original entry ↗

More from GitHub

Follow GitHub to get its new changes in your feed and email digest.

Feature

Copilot model policy API for enterprise, orgs, and teams

REST API endpoints now available to retrieve and update Copilot model policies for enterprises, teams, apps, and organizations, enabling centralized policy management at scale.

copilotapienterprisepolicymanagement
Announcement2026.10.19

GitHub Copilot models deprecated

GitHub has deprecated certain models across GitHub Copilot experiences including Chat, inline edits, and code completions, effective October 19, 2026. Users may need to migrate to supported models.

copilotmodelsdeprecationai
Announcement

Some Git over HTTPS may temporarily require authentication

GitHub may temporarily require authentication for clones and fetches of public repositories over HTTPS during periods of unusual traffic to protect service availability.

githttpsauthenticationavailabilitytraffic
See all GitHub changes →