GitHub Copilot Harness Security: Patch, Pin and Govern Your Coding Agents

GitHub Copilot Harness Security: Patch, Pin and Govern Your Coding Agents

Update (2026-11-23): Claude and Codex can now be explicitly allowed

VS Code 1.147 (18 November 2026) lets admins allow the Claude and Codex harnesses by listing them in vscode.allowedHarnesses, set through file-based or MDM managed settings. Server-managed settings don't support it yet.

Sessions in those harnesses run without Copilot's managed permission, sandbox, MCP and plugin controls. They should be treated as a separate risk boundary, not as Copilot sessions with a different provider model.

TL;DR

In one week VS Code fixed ten security advisories, eight of them involving MCP servers, agent tools or the agent host, and froze the Local harness for removal in February 2027. Visual Studio moved Copilot Chat onto the Copilot harness, Copilot CLI tied its built-in MCP server to policy, and Git fixed a clone bug that an agent can trigger just by following Git’s own advice.

Treat the editor fleet like any other agent runtime. Patch to a version floor, use the Copilot harness by default because it enforces managed sandbox and permission policy, police MCP, permissions and customisations through Copilot’s managed settings, and prove it with diagnostics, telemetry and a test you expect to fail. If you allow Claude or Codex, manage their separate controls explicitly.

In a hurry? Jump to the version floor, the managed baseline or how to prove it, then come back for the why.

Read more
GitHub Copilot CLI vs Local vs Cloud: Agents Explained (2026)

GitHub Copilot CLI vs Local vs Cloud: Agents Explained (2026)

Update (2026-11-23): Claude and Codex can now be explicitly allowed

VS Code 1.147 (18 November 2026) lets admins allow the Claude and Codex harnesses by listing them in vscode.allowedHarnesses, set through file-based or MDM managed settings. Server-managed settings don't support it yet.

Sessions in those harnesses run without Copilot's managed permission, sandbox, MCP and plugin controls. See the VS Code 1.147 release notes before enabling them.

TL;DR

The four agent types I described in January are no longer the right map for VS Code. Choose a harness, where the session runs and a model, then set the role and permissions.

The Copilot harness is now the default. It shares a runtime with other Copilot products and runs through the Agent Host, so a session can outlive its editor window, but not a stopped host.

Cloud sandboxes let work continue without your laptop. Under GitHub AI Credit billing, sub-agents consume tokens at their own models’ rates, so context isolation is still useful, but it isn’t free.

Comparing GitHub Copilot CLI vs Local vs cloud? They aren’t three equivalent agent types. Copilot CLI is a terminal interface, Local is a VS Code harness, and cloud describes where the agent’s tools run. The Copilot SDK is the programmable way to embed the Copilot runtime in your own application, not another execution location.

This is Part 2 of my GitHub Copilot agents guide: the current comparison, including what changed since the original four types.

In a hurry? Jump to the updated decision guide, then come back for the architecture and the money bit.

Ten months is a long time in agent land

When Part 1 went out on 10 January, I split GitHub Copilot agents into Local, Background, Cloud and Sub-agents. It was a useful way to explain the workflows, but it mixed together where an agent ran, how you interacted with it and how it delegated.

Since then, VS Code has moved to weekly releases, GitHub has rebuilt Copilot billing, and the old boxes have stopped lining up with the controls in front of us.

The better mental model is one Copilot engine with many cockpits, alongside other providers’ harnesses. This post is a November 2026 snapshot, checked against the primary sources on 3 November, covering VS Code 1.144 and GitHub’s 28 October cloud rollout.

Read more

Choose your design

Only the look changes. Your posts, ads, comments and other integrations stay in place, with the same light/dark and cookie preferences.

Choose the look you prefer