Skip to content

Commit 548dced

Browse files
Sergio SisternesCopilot
andcommitted
docs: add MCP token injection threat model (#816)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 93f9757 commit 548dced

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

docs/src/content/docs/enterprise/security.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,10 @@ When `ADO_APM_PAT` is unset, APM can authenticate to Azure DevOps with a Microso
301301

302302
See [Authentication: AAD bearer tokens](../../getting-started/authentication/#authenticating-with-microsoft-entra-id-aad-bearer-tokens) for the resolution precedence and CI patterns.
303303

304+
### MCP server token injection
305+
306+
When APM configures a GitHub MCP server for a client adapter, it automatically injects a GitHub authentication token into the request headers. To prevent token exfiltration via a poisoned registry entry (a server that uses a recognised GitHub name but points at a non-GitHub URL), APM requires **both** a name-allowlist match **and** a verified GitHub hostname before injecting a token. A name match alone is never sufficient. Recognised hostnames include `github.com`, `*.ghe.com` (GitHub Enterprise), and `*.githubcopilot.com` (Copilot API).
307+
304308
## Attack surface comparison
305309

306310
| Vector | Traditional package manager | APM |

0 commit comments

Comments
 (0)