Improvement

January 9, 20253 minutes read

Secret scanning expands default pattern support

GitHub continually updates the default pattern set for secret scanning with new patterns and upgrades of existing patterns, ensuring your repositories have comprehensive detection for different secret types.

The following new patterns were added over the last few months. Secret scanning automatically detects any secrets matching these patterns in your repositories. See the full list of supported secrets in the documentation.

ProviderTokenPartnerUserPush protection
Anthropicanthropic_admin_api_key✓✓✓
Asaasasaas_api_token✓✓
Asanaasana_legacy_format_personal_access_token ✓✓
Azureazure_openai_key✓✓✓
Azuremicrosoft_azure_common_annotated_security_key✓
Azuremicrosoft_azure_entra_id_token✓✓✓
Cfx.recfxre_server_key✓✓
Cockroach Labsccdb_api_key✓✓
Coveocoveo_access_token✓✓
Databentodatabento_api_key✓✓
Datastaxdatastax_astracs_token✓✓✓
Googlegoogle_cloud_service_account_credentials✓✓✓
Googlegoogle_gcp_api_key_bound_service_account✓✓
Hubspothubspot_private_apps_user_token✓✓
Hubspothubspot_smtp_credential✓✓
Hugging Facehf_user_access_token✓✓✓
Iterativeiterative_dvc_studio_access_token✓✓
Lichesslichess_personal_access_token✓✓
Lichesslichess_oauth_access_token✓✓
MongoDBmongodb_atlas_db_uri_with_credentials✓✓
Netflixnetflix_netkey✓✓
OpenRouteropenrouter_api_key✓✓
Oracleoracle_api_key✓
Polarpolar_access_token✓✓
Polarpolar_authorization_code✓✓
Polarpolar_client_registration_token✓✓
Polarpolar_client_secret✓✓
Polarpolar_personal_access_token✓✓
Polarpolar_refresh_token✓✓
Replicatereplicate_api_token✓✓✓
Scalrscalr_api_token✓✓✓
Sentrysentry_org_auth_token✓
Sentrysentry_user_auth_token✓
Sentrysentry_user_app_auth_token✓
Sentrysentry_integration_token✓
Shopeeshopee_open_platform_partner_key✓✓
Siemenssiemens_api_token✓✓✓
Sindrisindri_api_key✓✓
Tailscaletailscale_api_key✓✓

The following existing patterns were upgraded to be included in push protection. When push protection is enabled, secret scanning automatically blocks any pushes that contain a secret matching these patterns.

ProviderToken
Contentfulcontentful_personal_access_token
GitLabgitlab_access_token
Ionicionic_refresh_token
Orbitorbit_api_token
PyPIpypi_api_token
Thunderstorethunderstore_io_api_token
Yandexyandex_cloud_iam_access_secret

Learn more about securing your repositories with secret scanning.

Subscribe to our developer newsletter

Discover tips, technical guides, and best practices in our biweekly newsletter just for devs.

By submitting, I agree to let GitHub and its affiliates use my information for personalized communications, targeted advertising, and campaign effectiveness. See the GitHub Privacy Statement for more details.

Secret scanning expands default pattern support - GitHub Changelog