Skip to content

GitHub improves secret scanning with ModernBERT

What happened

AI digest

On 14 October 2026, GitHub published a new approach to secret detection on its official blog: a two-stage pipeline that replaces its previous LLM-based flow. Regular expressions first generate candidates, then a fine-tuned ModernBERT judges whether they are real credentials using file paths, variable names and context. GitHub says that compared with the old LLM pipeline, user acceptance rose 11.5%, median execution time for post-push scanning fell 86%, service costs dropped by more than 98%, and generic secret detection could be extended to push protection.

Written by AI from the reports · updated 3 d ago

Timeline

Follow the reports to see the event from each side.

Oct 14
  1. GitHub Blog · AI & ML
    GitHub’s model for secret detection: Finding more secrets with less noise

    GitHub’s context-aware secret classifier improves detection quality, raises weighted acceptance by 11.5%, and reduces median scan execution time by 86%.

Heat of this event

Current heat 3·Peak in the comparable range 9(Oct 14 05:00)·Change over 24 hours in the comparable range -49%

02.557.510Oct 1405:00Oct 1420:00Oct 1510:00Oct 1601:00

The trend compares only the same accounts observed without a break, so its range can be narrower than the current heat count. Move the pointer or tap the chart to see each hour; with a keyboard, use the left and right arrow keys.