cd /news/developer-tools/secret-scanning-blocks-anthropic-key… · home › topics › developer-tools › article
[ARTICLE · art-150283] src=github.blog ↗ pub= topic=developer-tools verified=true sentiment=↑ positive

Secret scanning blocks Anthropic keys by default, adds Salesforce

GitHub added Anthropic and Cloudsmith secret detectors to secret scanning and now blocks Anthropic API keys with push protection by default, while Salesforce became a secret scanning partner. The new detectors cover Anthropic's anthropic_service_api_key and anthropic_user_api_key plus Cloudsmith's cloudsmith_api_key, and the two Anthropic types are blocked by default in repositories with secret scanning enabled, including free public repositories. Salesforce's salesforce_marketing_cloud_api_oauth2_token is reported to the issuer when found in public repositories through the secret scanning partnership program.

by read1 min views2 publishedOct 13, 2026
Secret scanning blocks Anthropic keys by default, adds Salesforce
Image: GitHub Changelog

Secret scanning now detects new secret types from Salesforce, Anthropic, and Cloudsmith, with the new Anthropic secret types blocked with push protection by default.

New secret scanning partner #

Salesforce is now a secret scanning partner.

When a provider’s secret is found in a public repository, GitHub forwards it to the relevant partner so they can revoke or rotate the credential before it can be abused.

Provider Secret type
Salesforce salesforce_marketing_cloud_api_oauth2_token

Detectors added #

Secret scanning now automatically detects the following new secret types in your repositories.

Provider Secret type
Anthropic anthropic_service_api_key
Anthropic anthropic_user_api_key
Cloudsmith cloudsmith_api_key

Partner secrets are automatically reported to the secret issuer when found in public repositories through the secret scanning partnership program. User secrets generate secret scanning alerts when found in public or private repositories.

Push protection defaults expanded #

The following detectors are now included in push protection by default. Repositories with secret scanning enabled, including free public repositories, will have commits containing these secrets automatically blocked.

Provider Secret type
Anthropic anthropic_service_api_key
Anthropic anthropic_user_api_key

Learn more #

Learn more about secret scanning and see the full list of supported secrets in our documentation. Let us know what you think in the community discussion.

── more in #developer-tools 4 stories · sorted by recency
── more on @github 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/secret-scanning-bloc…] indexed:0 read:1min 2026-10-13 · —