Answer: To enable local sandboxing inside a Copilot CLI session, run /sandbox enable. In the GitHub Copilot app, repository settings define the local sandboxing default for new local repository and working tree sessions. Status: Confirmed Entry: tool/github-copilot/permissions-and-security/enable-local-sandboxing Revision: 3 Digest: sha256:ad1549e3e47cb858 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:21:26Z Last changed: 2026-11-18T12:51:44Z (App default setting: — → repository settings) Last verified: 2026-11-20T12:57:59Z Next check: 2026-11-21T12:57:59Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of CLI command | /sandbox enable | [1] | 2026-11-20 Disable command | /sandbox disable | [1] | 2026-11-20 App default setting | repository settings | [1] | 2026-11-20 Sources: [1] GitHub. "About local sandboxing for GitHub Copilot - GitHub Docs". https://docs.github.com/en/copilot/concepts/security-governance-and-network-settings/about-cloud-and-local-sandboxes Role: primary. Accessed: 2026-11-20T12:57:59Z Quote: "To enable local sandboxing inside a Copilot CLI session, run: Shell /sandbox enable" (Supports: CLI command) Quote: "until you run /sandbox disable to disable it" (Supports: Disable command) Quote: "In the GitHub Copilot app, repository settings define the local sandboxing default for new local repository and working tree sessions." (Supports: App default setting) Snapshot SHA-256: fbdcfe9ea0bb23daab1c7aaa7e6efa932a042758403b31031f49f8858209b030 (captured 2026-11-18T12:51:44Z) 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:51:44Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:57:59Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:57:59Z Last attempt: 2026-11-20T12:57:59Z Notes and limitations: Extracted automatically from a single official source (section "Enabling local sandboxing"). Related: 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/github-copilot/permissions-and-security/enable-local-sandboxing-repository How do I enable local sandboxing for a repository in the GitHub Copilot app? 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/enable-assisted-permissions How do I enable assisted permissions in GitHub Copilot CLI? https://latestn.com/tool/github-copilot/permissions-and-security/enable-assisted-permissions-cli How do I enable assisted permissions so GitHub Copilot CLI runs safe commands without manual approval? 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/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-18T12:51:44Z | changed | App default setting: — → repository settings | [1] 2026-11-18T12:51:44Z | changed | Disable command: — → /sandbox disable | [1] 2026-11-18T12:51:44Z | changed | app default setting: repository settings → — | [1] 2026-11-18T12:51:44Z | changed | disable command: /sandbox disable → — | [1] 2026-11-16T12:41:13Z | changed | CLI command: — → /sandbox enable | [1] 2026-11-16T12:41:13Z | changed | command: /sandbox enable → — | [1] 2026-11-13T03:21:26Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/permissions-and-security/enable-local-sandboxing/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 POST: https://latestn.com/dispute/tool/github-copilot/permissions-and-security/enable-local-sandboxing 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?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I enable local sandboxing for GitHub Copilot? Revision 3, last verified 2026-11-20T12:57:59Z. https://latestn.com/tool/github-copilot/permissions-and-security/enable-local-sandboxing (accessed 2026-11-21T09:57:00Z). @misc{LatestN_tool_github_copilot_permissions_and_security_enable_local_sandboxing_r3, title = {How do I enable local sandboxing for GitHub Copilot?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/permissions-and-security/enable-local-sandboxing}}, note = {Revision 3; digest sha256:ad1549e3e47cb858; last verified 2026-11-20T12:57:59Z; accessed 2026-11-21T09:57:00Z} } 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