Answer: To disable local sandboxing, enter /sandbox disable in an interactive Copilot CLI session. Unless enterprise managed settings require sandboxing, this turns it off in the current session and in new and restarted sessions. Status: Confirmed Entry: tool/github-copilot/permissions-and-security/disable-local-sandboxing-cli Revision: 3 Digest: sha256:de408f0be840447d (changes whenever the content changes) Timeline: Created: 2026-11-13T03:23:33Z Last changed: 2026-11-18T12:55:39Z (restore command: — → /sandbox enable) Last verified: 2026-11-20T13:01:32Z Next check: 2026-11-21T13:01:32Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of command | /sandbox disable | [1] | 2026-11-20 scope without managed policy | current session and in new and restarted sessions | [1] | 2026-11-20 scope under managed bypass policy | only for the current session | [1] | 2026-11-20 settings key | sandbox.enabled | [1] | 2026-11-20 default settings file | ~/.copilot/settings.json | [1] | 2026-11-20 restore command | /sandbox enable | [1] | 2026-11-20 Sources: [1] GitHub. "Using local sandboxing - GitHub Docs". https://docs.github.com/en/copilot/how-tos/cloud-and-local-sandboxes/using-local-sandboxing Role: primary. Accessed: 2026-11-20T13:01:32Z Quote: "enter the following command in an interactive Copilot CLI session: Shell /sandbox disable" (Supports: command) Quote: "Unless enterprise managed settings require sandboxing, this turns it off in the current session and in new and restarted sessions." (Supports: scope without managed policy) Quote: "Under a managed policy that permits bypass, it turns sandboxing off only for the current session." (Supports: scope under managed bypass policy) Quote: "An ordinary enable or disable command saves your choice as sandbox.enabled in your personal settings file" (Supports: settings key) Quote: "( ~/.copilot/settings.json by default)" (Supports: default settings file) Quote: "Run /sandbox enable to restore sandboxing in that session." (Supports: restore command) Snapshot SHA-256: 736255f931a103331949c7e3210922670f15f591fc4337648a9597df07498485 (captured 2026-11-18T12:55:40Z) 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:39Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:01:32Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:01:32Z Last attempt: 2026-11-20T13:01:32Z Notes and limitations: Extracted automatically from a single official source (section "Disabling local sandboxing"). Related: https://latestn.com/tool/github-copilot/permissions-and-security/disable-mcp-tools-code-review How do I disable MCP tools for GitHub Copilot code review? https://latestn.com/tool/github-copilot/permissions-and-security/dismiss-security-alerts How do I dismiss a security alert in the GitHub Copilot app? https://latestn.com/tool/github-copilot/permissions-and-security/dynamic-workflow-permissions What permissions does GitHub Copilot need for dynamic workflows? https://latestn.com/tool/github-copilot/permissions-and-security/copilot-autofix-code-scanning How do I use GitHub Copilot Autofix for code scanning alerts? https://latestn.com/tool/github-copilot/permissions-and-security/create-security-policy-with-copilot How do I use GitHub Copilot to create a security policy for my repository? https://latestn.com/tool/github-copilot/permissions-and-security/custom-agents-access-requirements Who can use custom agents for GitHub Copilot cloud agent? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-18T12:55:39Z | changed | restore command: — → /sandbox enable | [1] 2026-11-18T12:55:39Z | changed | default settings file: — → ~/.copilot/settings.json | [1] 2026-11-18T12:55:39Z | changed | settings key: — → sandbox.enabled | [1] 2026-11-18T12:55:39Z | changed | scope under managed bypass policy: — → only for the current session | [1] 2026-11-18T12:55:39Z | changed | scope without managed policy: — → current session and in new and restarted sessions | [1] 2026-11-18T12:55:39Z | changed | command: — → /sandbox disable | [1] 2026-11-18T12:55:39Z | changed | Re-enable command: /sandbox enable → — | [1] 2026-11-18T12:55:39Z | changed | Settings file: ~/.copilot/settings.json → — | [1] 2026-11-18T12:55:39Z | changed | Effect under managed policy permitting bypass: it turns sandboxing off only for the current session → — | [1] 2026-11-18T12:55:39Z | changed | Effect without managed policy: this turns it off in the current session and in new and restarted sessions → — | [1] 2026-11-18T12:55:39Z | changed | Command: /sandbox disable → — | [1] 2026-11-16T12:44:55Z | changed | Re-enable command: — → /sandbox enable | [1] 2026-11-16T12:44:55Z | changed | Settings file: — → ~/.copilot/settings.json | [1] 2026-11-16T12:44:55Z | changed | Effect under managed policy permitting bypass: — → it turns sandboxing off only for the current session | [1] 2026-11-16T12:44:55Z | changed | Effect without managed policy: — → this turns it off in the current session and in new and restarted sessions | [1] 2026-11-16T12:44:55Z | changed | Command: — → /sandbox disable | [1] 2026-11-16T12:44:55Z | changed | restore command: /sandbox enable → — | [1] 2026-11-16T12:44:55Z | changed | default settings file: ~/.copilot/settings.json → — | [1] 2026-11-16T12:44:55Z | changed | settings key: sandbox.enabled → — | [1] 2026-11-16T12:44:55Z | changed | scope under managed bypass policy: only for the current session → — | [1] 2026-11-16T12:44:55Z | changed | scope without managed policy: current session and in new and restarted sessions → — | [1] 2026-11-16T12:44:55Z | changed | command: /sandbox disable → — | [1] 2026-11-13T03:23:33Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/permissions-and-security/disable-local-sandboxing-cli/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/disable-local-sandboxing-cli POST: https://latestn.com/dispute/tool/github-copilot/permissions-and-security/disable-local-sandboxing-cli with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/permissions-and-security/disable-local-sandboxing-cli?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I disable local sandboxing in GitHub Copilot CLI? Revision 3, last verified 2026-11-20T13:01:32Z. https://latestn.com/tool/github-copilot/permissions-and-security/disable-local-sandboxing-cli (accessed 2026-11-21T09:56:38Z). @misc{LatestN_tool_github_copilot_permissions_and_security_disable_local_sandboxing_cli_r3, title = {How do I disable local sandboxing in GitHub Copilot CLI?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/permissions-and-security/disable-local-sandboxing-cli}}, note = {Revision 3; digest sha256:de408f0be840447d; last verified 2026-11-20T13:01:32Z; accessed 2026-11-21T09:56:38Z} } 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/disable-local-sandboxing-cli