GitHub says a new AI-based secret detector is making it faster and cheaper to identify passwords and other credentials accidentally committed to code. In an October 13 engineering report, the company described a compact ModernBERT classifier that examines suspicious strings alongside their surrounding code.
The company reports an 11.5% improvement in repository owner-weighted alert acceptance, an 86% reduction in median post-push scanning time, and more than 98% lower serving costs compared with its previous LLM-based pipeline. These are GitHub’s internal measurements, not independent benchmarks.
The system combines conventional pattern matching with machine learning. First, regular expressions flag strings that resemble credentials. ModernBERT then considers nearby variable names, file paths and code to help distinguish real secrets from placeholders or test data. That distinction matters because false alarms can slow down security reviews.
GitHub is also testing this approach in push protection, which can stop sensitive credentials before they enter repository history. That is different from discovering a leak afterward. A Reddit discussion among security practitioners illustrates why teams also need credential rotation and central secret management.
The change builds on the site’s earlier coverage of GitHub blocking newly supported API keys. Readers unfamiliar with the underlying tools can review Git and GitHub and how APIs work.
GitHub says the new model is already being used for certain post-push alerts, while AI-based push protection remains in preview. An independent technical summary also describes the two-stage design. The practical question is whether improved detection can reduce credential exposure without overwhelming developers with false positives.
BitcoinVersus.Tech Editor’s Note:
We volunteer daily to ensure the credibility of the information on this platform is Verifiably True. If you would like to support to help further secure the integrity of our research initiatives, please donate using the QR code provided

For best QR-code scanning results, please scan this donation code from a desktop or larger screen. Mobile screens may prevent camera recognition.

Leave a Reply