← All news
Original editorial illustration with circuits and a document: GitHub expands secret protection before code is pushed
Ilustración editorial original / Original editorial artwork · Radical IT Solutions

Published: · Original announcement:

GitHub expands secret protection before code is pushed

GitHub announced a public preview that expands push protection to detect potential secrets even when they lack a known format. Its classifier evaluates surrounding code and can block a change before it enters repository history. The feature is off by default, requires prerequisite security settings, and detection in the push path may consume AI credits.

Our perspective for teams that ship software

A pre-push barrier can complement review, but it does not remove the need to manage credentials correctly. We suggest inventorying where secrets are stored, limiting permissions and rehearsing the block procedure with fictional data before enabling it on critical projects. Teams should also define who may authorize an exception and how it is documented. This is Radical IT Solutions editorial guidance; it does not claim that we deployed the preview or imply a GitHub partnership.

Does your team need to review how credentials are protected when code is published? Tell us about your workflow to assess the scope.