Create

Sign in to ReadmeX

or

How we handle your data: Privacy Policy

ReadmeX

Your AI reading companion

What would you like to catch up on?

Pick a briefing, or ask your own question.

Your community and people briefings stay personal to you.

Story

GitHub adds AI secret detection to push protection, blocking leaks in under 2ms

AI summary

GitHub says one in three pull requests now involves an AI agent, up from fewer than one in ten a year ago, and that between Q2 2024 and Q2 2026 screened pushes grew 2.84x while pushes carrying credentials grew 2.59x — with no statistically detectable trend in per-push prevalence, and the share of push blocks overridden by developers falling from 6.63% to 3.93%. Working with Microsoft Applied Sciences, GitHub built a fine-tuned ModernBERT classifier that judges candidate secrets from surrounding code context in under two milliseconds, which it says could more than double the number of secrets it prevents. The feature is in private preview and arrives later this month for organizations with GitHub Secret Protection on Enterprise Cloud and GitHub Teams, consuming AI credits; it is also coming to GitHub Enterprise Server 3.23 in public preview and to the /security-review command in Copilot CLI and Copilot App.

In-depth insight

As agents write more code, secret protection depends less on manual cleanup and more on fast models that can block leaks before they are pushed.

Today, one in three pull requests on GitHub involves an AI agent. A year ago, that number was fewer than one in 10. If that pace holds, within the next two years, most of the code pushed to GitHub could be written by an agent. Much of it may never be fully read by a human.

If developers and agents move faster, we have a responsibility to ensure protection keeps up with the accelerated rate of code creation. That means preventing more leaks before they happen and making the response to exposures that remain less dependent on manual human effort.

This is a pivotal point for leaked secrets. Developers aren’t becoming more careless; they’re being outpaced. The tools that let developers create more software should also take on more of the work of protecting it.

In this essay, I share the nine quarters of data behind that claim. I also introduce the fine-tuned classifier we built with Microsoft Applied Sciences to extend push protection to unstructured secrets. The model assesses a whole set of candidate secrets in less than two milliseconds and could more than double the number of secrets that we can prevent.

#GitHub#Microsoft#ModernBERT#GitHub Copilot

Original · 6 min readRead the original
Group chat

No comments yet. Start the conversation.