From the source
GitHub is letting Copilot's security review specialist run GitHub secret scanning, so developers and agents can catch secrets in code changes before they are merged.
- Copilot security review already looked for exposed secrets through its LLM-based analysis; once a user opts in, GitHub's secret scanning detectors run alongside that analysis.
- The detectors cover more than 500 secret types from GitHub's catalog, built with 150+ industry partners through the secret scanning partner program.
- A fine-tuned model for secret detection reads surrounding code to identify likely secrets that lack a recognizable format, including passwords and credentials in connection strings.
- The public preview works in Copilot CLI and Copilot app sessions, through Copilot SDK integrations, and in Copilot code review, where it can flag secrets on added lines.
- Secret scanning is off by default, no additional plan is required, and scans consume AI credits under the Secret Protection AI Credit SKU.
- The review checks changes for secrets and does not search repository history.




