GitHub adds AI to catch passwords before a code push
GitHub is adding a ModernBERT classifier to push protection to block unstructured passwords before they enter repositories.
GitHub and Microsoft Applied Sciences built a ModernBERT classifier that expands push protection beyond recognizable credential formats to unstructured secrets such as database passwords. GitHub says the model scores batches in under two milliseconds and could more than double the secrets push protection blocks. From Q2 2024 to Q2 2026, screened public pushes rose 2.84 times and credential-bearing pushes rose 2.59 times, while about 30 percent of newly detected secrets are blocked before they enter history. The capability is in private preview, with a later-October rollout for GitHub Secret Protection on Enterprise Cloud and Team plans, and it will ship in GitHub Enterprise Server 3.23.
- ModernBERT spots unstructured secrets that format-based checks miss.
- Classifier evaluates secret batches in under two milliseconds.
- Push protection blocks about 30 percent of newly detected secrets.
- Private preview now; Enterprise Cloud and Team rollout later in October.
- Screened public pushes grew 2.84 times from Q2 2024 to Q2 2026.
- Organizations
- GitHubMicrosoft Applied Sciences
- AI models
- ModernBERT
From the original article
2 min read at helpnetsecurity.com
GitHub has announced an AI detector, developed with Microsoft Applied Sciences, to help prevent developers from uploading passwords and other credentials to code repositories. The ModernBERT-based classifier will expand GitHub’s push protection, which checks code for secrets and can block a push before a credential enters repository history.
By Anamarija Pogorelec · helpnetsecurity.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.