GitHub Can Now Block Secret Leaks Automatically

GitHub has expanded the secret scanning capabilities of its code hosting platform for GitHub Advanced Security customers.

The new feature, known as push protection, enables Advanced Security customers to automatically block secret leaks and is designed to prevent accidental disclosure of credentials before code is transferred to remote repositories.

“With push protection, GitHub will check for high-confidence secrets as developers push code and block the push if a secret is identified. To make this possible without disrupting development productivity, push protection only supports token types that can be detected accurately,” GitHub said.

Once GitHub Enterprise Cloud identifies a secret before pushing the code, the git is blocked. This allows developers to review and remove the secrets from the code they tried to push to remote repos.

GitHub Advanced Security customers can enable the feature at both the repository and organizational levels. They can do this through the API or with just one click from the user interface.

For more information, read the original story in BleepingComputer.

Top Stories

Related Articles

March 26, 2025 European nations and companies are actively pursuing alternatives to U.S.-based cloud service providers, driven by concerns over data more...

March 23, 2025 Google has admitted to a technical error that caused some users’ files to be accidentally and permanently deleted more...

September 18, 2024 In a surprising turn of events, cloud giant Amazon Web Services (AWS) is now claiming that it faces more...

June 20, 2024 Target is introducing a new generative artificial intelligence tool aimed at enhancing the efficiency of its store employees more...

Jim Love

Jim Is and author and pud cast host with over 40 years in technology.