Skip to content

GitHub Copilot's code review can now catch leaked secrets

Copilot code review adds secret detection and an adaptive effort level in public preview, and reaches general availability for Azure DevOps.

GitHub shipped a batch of Copilot code review updates on 17 November. The two headline features, adaptive effort and secret detection, are both in public preview.

Adaptive effort has Copilot pick Lite, Balanced or Max review depth itself, based on a pull request’s size and risk, instead of you setting one effort level for every PR. You can still set a fixed default at the personal, repository, organisation or enterprise level. Secret detection flags exposed credentials inside a pull request using two methods: deterministic matching against more than 500 known secret formats, built with over 150 partner vendors, and an AI/ML pass that catches secrets with no fixed format, such as a plain password. Both features are available on Copilot Pro, Pro+, Max, Business and Enterprise plans. In the same release, Copilot code review reaches general availability for Azure DevOps.

Why it matters: catching a hardcoded API key in review, before it merges, is a meaningfully better outcome than catching it after it is already sitting in your git history. If you’ve been relying on secret scanning alone, this closes that gap for anyone already on a Copilot Pro plan or above.

Share

Related reading

More from The Wire

All briefs