ghtier
← All keys & policies
Policy·organization

Copilot cloud agent firewall

Tier 2 · MediumData

Why Tier 2

Turning it off lets a prompt-injected agent send whatever it can read to any host. How bad that is depends on the secrets and code the agent can reach.

Limits the hosts the Copilot cloud agent can reach while it works. On by default. Organization owners set it to Enabled, Disabled or Let repositories decide; repository administrators manage custom allow lists.

Available on: Free (with a Copilot plan), Team (with a Copilot plan), Enterprise Cloud, EMU. Source

Attack path

The firewall is what stops an injected instruction from sending code or secrets out. It only covers processes the agent starts: MCP servers and the steps in copilot-setup-steps.yml run outside it, so an MCP server with all tools allowed, or a changed setup step, is a way around it.

Mitigations

Detect

Nothing in the organization or enterprise audit log shows this. Review it on a schedule instead.

Related permissions

GitHub Docs: Customizing or disabling the firewall for Copilot cloud agent