Token for the built-in GitHub MCP server
Why Tier 3
By default a specially scoped token that can only read the current repository. A repository administrator can replace it with a personal access token or GitHub App with wider access, and then it carries whatever that token can do.
The credential the default GitHub MCP server uses when Copilot cloud agent or code review calls it. Read-only and limited to the current repository unless the MCP configuration supplies another token.
Available on: Free (with a Copilot plan), Team (with a Copilot plan), Enterprise Cloud, EMU. Source
Attack path
A broader token here gives a prompt-injected agent reach into other repositories, which is how private code ends up in public issues. The default read-only token cannot do that.
Mitigations
- Decide which AI coding agents and MCP servers may work on the organization's repositories
- Keep the default token unless a task needs more
- If you widen it, use a GitHub App or fine-grained token limited to the repositories and read-only toolsets the task needs
Detect
Nothing in the organization or enterprise audit log shows this. Review it on a schedule instead.