← Back to the feed
Build2 min readSource-linked

GitHub’s new AI detector looks for the secrets patterns miss

Context-aware credential detection is expanding, but several new checks remain preview features.

An unmarked metal key resting across a circuit board beside an unplugged network connector.
AI-generated editorial illustration · Conceptual artwork, not a product photograph.

Check what is actually available

GitHub’s October 7 announcement introduces a specialized model that reads surrounding code to identify likely credentials, including passwords without a recognizable token format. Existing AI-detected password-alert customers were upgraded automatically.

AI secret checks in push protection are in private preview. Additional secret checks for Copilot security review are coming to private preview. GitHub says existing AI-detected alerts remain included with Secret Protection or Advanced Security; the new opt-in checks will consume AI Credits. Running security review does not automatically enable those additional checks.

Source: GitHub: Purpose-built model for leaked secret detection ↗

Make the review useful

Our practical suggestion for a first AI-assisted app: inspect configuration before admiring the finished interface. A working demo can still contain a credential pasted into source, a sample file, or a prompt transcript you later publish.

Do a local review of the files you plan to commit. Look for places where code expects access to a service, then check how the credential gets supplied. The goal is to understand the boundary between project code and private configuration. Use fictional placeholders in examples, and keep actual credentials out of public demonstrations.

If a detector flags something, investigate rather than treating its label as a verdict. A dummy value and a live credential require different responses. If you discover a live secret was exposed, follow that provider’s revocation or rotation procedure; deleting one visible copy does not settle whether it was already used.

Before opting into a new AI check, confirm your account’s availability and billing controls. A launch headline, an enabled existing alert feature, and a newly billable preview are three different states. Knowing which one applies prevents both false confidence and surprise spending.

YOUR NEXT MOVE

Try this, then make it yours.

Review one project’s sample configuration and replace any real credential in its examples with a clearly fictional placeholder.

Follow the signal.

Our reporting starts here. Practical suggestions are our analysis, and vendor performance statements are claims unless independently verified. We haven’t hands-on tested this release.

  1. GitHub: Purpose-built model for leaked secret detection ↗ · 2026-10-07