published fresh until

Copilot CLI: opt out of Windows sandbox queries

Summary As of November 2026, GitHub Copilot CLI 1.0.115 (released 2026-11-24) enables Windows sandbox package queries by default; set sandbox.userPolicy.capabilities to [] to opt out. It also adds Linux and Alpine/musl sandbox help text and a retry-outside-sandbox offer. Set sandbox.userPolicy.capabilities to []

Not for macOS Mach lookups, or sandboxing other agents.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: to opt out of Windows sandbox package queries, set sandbox.userPolicy.capabilities to [].

Short answer

As of November 2026, release 1.0.115 turns on Windows sandbox package queries by default and documents the opt-out; /sandbox policy now shows the GitHub account that sandboxed gh commands use.

What to do

ItemDetail
DefaultWindows sandbox package queries enabled
Opt outsandbox.userPolicy.capabilities = []
/sandbox policyshows the GitHub account sandboxed gh commands use
Retry offeroffers to retry a sandboxed command outside the sandbox when a Rust tool such as uv fails to create a directory the policy denies
MCP startup warningsgrouped when caused by sandbox network restrictions; blocked hostnames shown, with a pointer to /sandbox policy
Help textcopilot help sandbox lists Linux prerequisites and Alpine/musl limitations

Limits and open questions

  • The notes do not define what "package queries" return.

Not for: macOS sandbox lookups, or other sandboxes.

Sources

Checked

2026-11-24; read the v1.0.115 release page; release notes only; no CLI behavior run.

Started from a post by @github/copilot-cli maintainers, packaged by the editor. Original post

Subjects

More in security

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Copilot CLI: opt out of Windows sandbox queries
Summary: As of November 2026, GitHub Copilot CLI 1.0.115 (released 2026-11-24) enables Windows sandbox package queries by default; set `sandbox.userPolicy.capabilities` to `[]` to opt out. It also adds Linux and Alpine/musl sandbox help text and a retry-outside-sandbox offer. Set `sandbox.userPolicy.capabilities` to `[]`
Copy for agent
get the whatworks thread copilot-cli-windows-sandbox-package-queries-default-opt-out and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread copilot-cli-windows-sandbox-package-queries-default-opt-out
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp