Answer: To enable local sandboxing for a repository, open Settings in the app sidebar, select the repository or folder under "Repositories," and under "Sandbox" turn on "Sandbox new sessions." The setting applies to new sessions in the repository or folder and does not change a session that is already running. Status: Confirmed Entry: tool/github-copilot/permissions-and-security/enable-local-sandboxing-repository Revision: 3 Digest: sha256:bad7ebfbe86bad61 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:23:29Z Last changed: 2026-11-18T12:55:31Z (Excluded repositories: — → remote-only repositories) Last verified: 2026-11-20T13:01:26Z Next check: 2026-11-21T13:01:26Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Setting to turn on | Sandbox new sessions | [1] | 2026-11-20 Default state | turned off by default | [1] | 2026-11-20 Where to open settings | Settings | [1] | 2026-11-20 Where to select repository | Repositories | [1] | 2026-11-20 Scope of setting | new sessions | [1] | 2026-11-20 Excluded repositories | remote-only repositories | [1] | 2026-11-20 Sources: [1] GitHub. "Configuring local sandbox settings - GitHub Docs". https://docs.github.com/en/copilot/how-tos/cloud-and-local-sandboxes/configuring-local-sandbox-settings Role: primary. Accessed: 2026-11-20T13:01:26Z Quote: "Under "Sandbox," turn on Sandbox new sessions ." (Supports: Setting to turn on) Quote: "Local sandboxing is turned off by default unless enterprise managed settings require it." (Supports: Default state) Quote: "In the app sidebar, open Settings ." (Supports: Where to open settings) Quote: "Under "Repositories," select the repository or folder that you want to configure." (Supports: Where to select repository) Quote: "The setting applies to new sessions in the repository or folder." (Supports: Scope of setting) Quote: "The sandbox settings are not available for remote-only repositories." (Supports: Excluded repositories) Snapshot SHA-256: 2b0411bf252ca93eb7f8047086eb10d63d8e4d0677fed1979924ffdc940c5303 (captured 2026-11-18T12:55:31Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-18T12:55:31Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:01:26Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:01:26Z Last attempt: 2026-11-20T13:01:26Z Notes and limitations: Extracted automatically from a single official source (section "Enabling local sandboxing for a repository"). Related: https://latestn.com/tool/github-copilot/permissions-and-security/enforce-policies-pretooluse How do I enforce policies on Copilot CLI tool use with a preToolUse hook? https://latestn.com/tool/github-copilot/permissions-and-security/environment-variables-auth How do I use environment variables for authentication in the GitHub Copilot SDK? https://latestn.com/tool/github-copilot/permissions-and-security/find-vulnerabilities-prompt How do I use GitHub Copilot to find existing vulnerabilities in my code? https://latestn.com/tool/github-copilot/permissions-and-security/enable-copilot-cli-actions-policy How do I enable the policy to use GitHub Copilot CLI in GitHub Actions with GITHUB_TOKEN? https://latestn.com/tool/github-copilot/permissions-and-security/enable-local-sandboxing How do I enable local sandboxing for GitHub Copilot? https://latestn.com/tool/github-copilot/permissions-and-security/enable-local-sandboxing-cli How do I enable local sandboxing in GitHub Copilot CLI? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-18T12:55:31Z | changed | Excluded repositories: — → remote-only repositories | [1] 2026-11-13T12:49:11Z | changed | Scope of setting: — → new sessions | [1] 2026-11-13T12:49:11Z | changed | Where to select repository: — → Repositories | [1] 2026-11-13T12:49:11Z | changed | Where to open settings: — → Settings | [1] 2026-11-13T12:49:11Z | changed | Default state: — → turned off by default | [1] 2026-11-13T12:49:11Z | changed | Setting to turn on: — → Sandbox new sessions | [1] 2026-11-13T12:49:11Z | changed | availability limitation: not available for remote-only repositories → — | [1] 2026-11-13T12:49:11Z | changed | scope of setting: The setting applies to new sessions in the repository or folder → — | [1] 2026-11-13T12:49:11Z | changed | where to select repository: Under "Repositories," select the repository or folder that you want to configure → — | [1] 2026-11-13T12:49:11Z | changed | where to open settings: In the app sidebar, open Settings → — | [1] 2026-11-13T12:49:11Z | changed | default state: turned off by default → — | [1] 2026-11-13T12:49:11Z | changed | setting to turn on: Sandbox new sessions → — | [1] 2026-11-13T03:23:29Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/permissions-and-security/enable-local-sandboxing-repository/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/github-copilot/permissions-and-security/enable-local-sandboxing-repository POST: https://latestn.com/dispute/tool/github-copilot/permissions-and-security/enable-local-sandboxing-repository with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/permissions-and-security/enable-local-sandboxing-repository?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I enable local sandboxing for a repository in the GitHub Copilot app? Revision 3, last verified 2026-11-20T13:01:26Z. https://latestn.com/tool/github-copilot/permissions-and-security/enable-local-sandboxing-repository (accessed 2026-11-21T10:02:57Z). @misc{LatestN_tool_github_copilot_permissions_and_security_enable_local_sandboxing_repository_r3, title = {How do I enable local sandboxing for a repository in the GitHub Copilot app?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/permissions-and-security/enable-local-sandboxing-repository}}, note = {Revision 3; digest sha256:bad7ebfbe86bad61; last verified 2026-11-20T13:01:26Z; accessed 2026-11-21T10:02:57Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/github-copilot/permissions-and-security/enable-local-sandboxing-repository