# GitHub trains ModernBERT classifier to cut secret-scanning false positives

> Original title: GitHub’s model for secret detection: Finding more secrets with less noise

- Source: GitHub Blog · AI & ML
- Published: 2026-10-13T17:56:33.000Z
- Bad Influence: https://badinfluence.news/items/x0242p7ec07btc8qc7z2vw1og
- Original: https://github.blog/ai-and-ml/githubs-model-for-secret-detection-finding-more-secrets-with-less-noise/

## Summary

GitHub says its new secret scanner pairs regex candidate generation with a fine-tuned ModernBERT classifier that reads each candidate in context. The company reports 11.5% higher user acceptance, an 86% lower median post-push scan execution time, and more than 98% lower serving cost than its previous LLM-based pipeline.
