BriefsNewsGitHubAvailable now

GitHub's AI classifier for secret scanning cuts false alerts and scan time

GitHub describes a fine-tuned ModernBERT model that sorts real credentials from lookalikes, replacing an LLM-based pipeline in secret scanning.

Announced by GitHubPublished Checked

Summary

GitHub trained a small ModernBERT classifier to work after regex matching in secret scanning. It reads each candidate with its file path and surrounding code to decide whether it is a real secret. GitHub reports higher precision and recall, faster scans and much lower serving cost than its earlier LLM-based pipeline.

What changed

  • Regex finds candidate secrets, then a fine-tuned ModernBERT model checks each one in context.
  • Median post-push scan time is 86% lower than the previous LLM-based pipeline.
  • Repository owner-weighted acceptance of alerts rose 11.5% in a customer A/B test.
  • The faster model made generic secret detection practical for push protection.
  • GitHub reports more than 98% lower serving cost than the LLM-based pipeline.

Availability

Available now

“That is why we shipped a new scanner using a two-stage pipeline:”

Founder takeaway

If your repositories use GitHub secret scanning, there is nothing to set up based on this post. You may see fewer false alerts and faster feedback. Keep treating any alert as worth a quick check, since the model is described as best effort.

Sources

  1. GitHub — GitHub’s model for secret detection: Finding more secrets with less noisePublished · Checked

Researched and drafted with AI from the official sources above, then checked automatically before publishing. Spotted a mistake? Tell us.

Recent

More briefs

All briefs
  1. Published Workflow

    Available now

    Zapier updates its guide to AI models you can automate with AI by Zapier

    Zapier's guide sorts the AI models usable in workflows by provider, shows their task costs, and explains when to bring your own API key.

    Zapier · Announced

  2. Published Tool

    Available now

    Google Research releases Deep Review, an agentic AI tool for checking documents

    Deep Review, an AI system that checks long technical documents, is now public, with two free reviews per week and an API for heavier use.

    Google Research · Announced

  3. Published Workflow

    Available now

    AWS adds SpaceXAI's Grok 4.7 AI model to Amazon Bedrock, with agent tests

    Grok 4.7 is on Amazon Bedrock, and AWS tested how its reasoning effort setting affects accuracy and token use in AI agents.

    AWS · Announced

One email, every Monday

Briefs are published here every weekday. Monday Heist is the weekly email: one useful AI workflow, the files to use it, and the catch. Free, and you can leave in one click.

One email. Every Monday.