
What Can an AI Agent See in Your GitHub Settings?
Whatever the pages render: account emails, SSH key fingerprints, token names and scopes, and any new token shown once. Check which values reach the model.
Research topic
Research on personal access tokens: AI agent security, tokenization and checks for sensitive data access before allowing enterprise workflows to run.

Whatever the pages render: account emails, SSH key fingerprints, token names and scopes, and any new token shown once. Check which values reach the model.

Only when each credential passes through a component that records its use, such as a proxy that swaps in the real value.

Give the agent an adapter, not the token: the adapter holds a repository-scoped token, the agent calls the adapter, and the adapter calls GitHub.

Every field the page renders: a token at creation, SSH key titles and fingerprints, an app's client secret on the page that generates it.

The alternatives to giving Claude Code a personal access token are four: a fine-grained token in the environment, Claude Code's masking at a local proxy, a GitHub App installation held by a broker, and a CodeCell adapter under a signed grant. Check which of the four keeps the token off the laptop and who approves each use.