GitHub strengthens protection against exposed Anthropic keys
· KGAM.Blog
GitHub updated secret scanning on October 13, 2026. New detectors cover Anthropic service and user API keys and Cloudsmith keys. Push protection blocks recognized Anthropic keys by default in repositories with secret scanning enabled.
A handy generator of ready-to-use prompts
The change includes free public repositories. Salesforce Marketing Cloud OAuth2 tokens also join the partner programme, allowing supported secrets discovered in public code to reach their issuer for revocation or rotation.

Detection is useful, but configuration still needs proper storage. If a real key entered git history, deleting the latest line is insufficient. Revoke or replace the secret itself and check where it may have been used.