GitHub AI Can Spot Passwords Hidden in Code Before Developers Push Them
GitHub is previewing a ModernBERT classifier that blocks hidden passwords during pushes, beyond pattern-based scanning.
GitHub and Microsoft Applied Sciences introduced a ModernBERT classifier that uses surrounding code to detect likely passwords before a push, extending protection beyond known token patterns. GitHub says candidate batches are checked in under two milliseconds and that the model could more than double secrets blocked. From Q2 2024 through Q2 2026, screened public pushes rose 2.84 times, the share containing secrets showed no clear trend, and push-protection overrides fell from 6.63% to 3.93%. The capability is in private preview for Secret Protection customers on Enterprise Cloud and GitHub Team and will consume AI credits.
- ModernBERT uses code context to spot generic passwords, not only token patterns.
- GitHub reports candidate-batch checks in under two milliseconds.
- Push protection stops about 30% of detected secret types before history.
- Private preview covers Enterprise Cloud and Team and consumes AI credits.
- Enterprise Server 3.23 and Copilot security-review checks are planned.
- AI models
- ModernBERT
From the original article
2 min read at cybersecuritynews.com
GitHub, with Microsoft Applied Sciences, introduced an AI-powered ModernBERT classifier that detects hidden passwords before code is pushed, expanding push protection beyond known token patterns. GitHub says it checks batches of possible secrets in under two milliseconds and could more than double the number of secrets prevented. Announced on October 7, the feature targets a […]
By Abinaya · cybersecuritynews.com
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.