GitHub continually updates its detectors for secret scanning with new patterns and upgrades of existing patterns, ensuring your repositories have comprehensive detection for different secret types.
GitHub now automatically detects Base64-encoded secrets for the following token types:
- GitHub personal access tokens
- GitHub OAuth access tokens
- GitHub user to server tokens
- GitHub server to server tokens.
GitHub secret scanning protects users by searching repositories for known types of secrets such as tokens and private keys. By identifying and flagging these secrets, our scans help prevent data leaks and fraud. See the full list of supported secrets in the documentation.
Learn more about secret scanning or join the discussion on our dedicated GitHub community.