GitHub added Cloudflare Access service tokens to its secret scanning detectors on November 12, 2026, under the new secret type cloudflare_access_service_token.

    Detection is automatic in repositories where secret scanning runs. A token found in a public repository is reported to Cloudflare through GitHub’s partner program, and repository owners get an alert whether the repository is public or private.

    Service tokens are a Client ID and Client Secret pair that automated systems send in the CF-Access-Client-Id and CF-Access-Client-Secret headers to pass Access policies set to Service Auth. Client Secrets created on or after August 26, 2026 use a scannable cfast_ format: the prefix, 40 alphanumeric characters and an 8-character checksum. Older 64-character hex secrets still authenticate and don’t have to be rotated.

    GitHub Secret Scanning Adds Detector For Cloudflare Access Service Tokens

    A reported token is disabled and can’t be switched back on until its secret is rotated, and rotation alone doesn’t re-enable it. Cloudflare also emails a leaked-token alert to the account’s Super Administrators and the token’s creator by default, according to its service token documentation.

    Scanning is free on public repositories. Organization-owned private and internal repositories need GitHub Secret Protection on GitHub Team or Enterprise Cloud. No push protection default was listed for the new type. The detector shipped the same day as the Node.js security releases that patched 16 CVEs.

    Format First, Detection Second

    Cloudflare has now run the same sequence twice. GitHub added detectors for its prefixed, checksummed API tokens on April 14, 2026, when Cloudflare joined the partner program, and made them push protection defaults in June 2026. Service tokens got the new format in August and a detector 11 weeks later. On GitHub, coverage for each Cloudflare machine credential has come after that credential gained a prefix and checksum a scanner can match with confidence.

    Sarah is a front-end developer who builds websites and web applications. At Webcode Tools, she develops the site’s CSS and HTML generators and writes the tutorials that accompany them. Her work centers on clean, accessible markup and modern CSS that behaves consistently across browsers.