← Back to KHAO

Microsoft · GitHub ·

Each candidate then goes to a fine-tuned ModernBERT classifier, which reads the value together with its file path

2 min read

Compiled by KHAO Editorial — aggregated from 1 source. See llms.txt for citation guidance.

★ Tier-1 Source

Secret scanning blocks a commit with push protection after the model detects a secret on line 5 of the file.

Repository content, commits, pull requests, and other scanned surfaces.

Key facts

Summary

Compact model vs. remote LLM calls. Secret scanning works best when developers are confident in the findings. To address this challenge, they trained a secret classifier specifically for GitHub’s product needs: distinguishing real credentials from lookalikes while meeting the speed and efficiency requirements of scanning at scale. In their companion post, Secret protection must scale with software, they explained why secret protection must keep pace with AI-accelerated development. Push protection helps prevent secrets from entering a repository by scanning changes before a push is accepted, giving developers an opportunity to address the finding.

Read full article at GitHub Blog →

#Microsoft #GitHub