AI Info Guide
AI news for everyone

GitHub previews opt-in secret scanning in Copilot reviews, with AI-credit billing

November 27, 2026 · Central Time

GitHub announced on-demand secret scanning for Copilot's security-review specialist on November 17, 2026, with a November 18 clarification of SDK authentication. The public preview covers Copilot CLI, Copilot app sessions, SDK integrations and Copilot code review. VS Code support is not part of this release.

After opt-in, the specialist adds GitHub's secret-scanning detectors to its existing language-model review. GitHub cites more than 500 secret types and over 150 industry partners, plus a fine-tuned model that examines surrounding code for less structured credentials such as passwords and connection strings.

The review checks code changes rather than repository history. Developers can request a review during development, while Copilot code review can flag secrets on added pull-request lines. This is not a claim that all old credentials in an entire repository have been found or that a clean review proves no secret remains.

Secret scanning is off by default and must be enabled for the relevant tool. Until opt-in, the specialist retains its existing language-model-based detection only. Code review has its own repository setting, and SDK sessions require the relevant feature flag and GitHub authentication.

For SDK integrations, a model-provider API key alone is insufficient. Tokens issued by the integration's own OAuth app are not currently supported for this feature. GitHub gives a token obtained through GitHub CLI sign-in as an example of supported authentication, rather than saying every token type will work.

GitHub says no additional plan is required for the listed Copilot experiences, but scans consume AI credits under the Secret Protection AI Credit SKU. The announcement does not quote a per-scan rate or independent accuracy benchmark. No-extra-plan therefore does not mean zero usage cost, and preview detection should not replace credential rotation when a real leak is found.

Original sources

↑ Back to top