Work apps · 5 min read · Updated November 30, 2026
How to find AI apps, tokens and AI keys in GitHub
The short answer
In GitHub, AI access shows up as installed GitHub Apps (like AI code reviewers), personal access tokens approved for your organization, and AI model keys stored as Actions secrets. Review all three in your organization settings and in each repository’s secrets.
Where AI access lives in GitHub
- GitHub Apps installed on the organization, often with write access to code and pull requests
- Fine-grained personal access tokens people created and the organization approved
- Actions secrets holding keys for OpenAI, Anthropic or other model providers, used by workflows
How to review it by hand
- In your organization’s Settings → GitHub Apps, review installed apps, their permissions and which repositories they reach.
- Under Personal access tokens, review active fine-grained tokens and pending requests, and require approval for new ones.
- In each repository’s Settings → Secrets and variables → Actions, look for AI provider keys.
gh secret listlists secret names from the command line.
What to fix first
- Apps or tokens that can change code in every repository
- Tokens that can read or change secrets
- Tokens that never expire
Replace long-lived tokens with ones that expire in 90 days or less, or with a GitHub App.
Doing it automatically
Phantm’s read-only GitHub App lists installed apps, organization tokens and repositories holding AI keys, without reading code or secret values. See the GitHub integration.
Questions
Can GitHub Apps read secret values?
No. GitHub only exposes secret names through its API. Values are only available to workflows at run time.
Keep reading
See every AI agent with access, in minutes.
Connect one tool for free. Read-only, no agents to install, and nothing to change in your environment.