Skip to content
NewA calmer, faster ZeroHour
Toolsinfo

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

GitHub Blog · Securityby Batu Ozturkler ()9 min read6 · 3 reads
AI summary · grok-4.7-buildSummaries by Vani AI

GitHub's ModernBERT secret classifier raised alert acceptance 11.5% and cut median scan time by 86%.

GitHub described a two-stage secret scanner that uses regex candidate generation and a fine-tuned ModernBERT classifier to separate real credentials from lookalikes. Compared with its previous LLM pipeline, GitHub reports an 11.5% rise in owner-weighted alert acceptance, an 86% reduction in median post-push scan time, and more than 98% lower serving cost. The efficiency gain let GitHub extend generic secret detection to push protection so findings can be returned before a push is accepted.

Key facts
  • Regexes generate candidates, then a fine-tuned ModernBERT classifier scores each with context.
  • Owner-weighted alert acceptance rose 11.5% and median post-push scan time fell 86%.
  • Serving cost dropped more than 98% versus the previous remote LLM pipeline.
  • The faster classifier made generic secret detection practical in push protection.
Analyze this story with Vani AIImpact, who is affected and what defenders should do, in a new chat

From the original article

9 min read at github.blog

GitHub’s context-aware secret classifier improves detection quality, raises weighted acceptance by 11. 5%, and reduces median scan execution time by 86%. The post GitHub’s model for secret detection: Finding more secrets with less noise appeared first on The GitHub Blog.

GitHub Blog · Security

By Batu Ozturkler · github.blog

Read the full article at GitHub Blog · Security

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.