Cloudflare Access token detection

GitHub Secret Scanning Adds a Cloudflare Access Service Token Detector

A new secret pattern improves visibility into one machine credential type, while exposure response and rotation remain operational tasks.

A conceptual response sequence shows a repository token pattern detected, its usage assessed and a credential manually rotated and checked.

Machine-to-machine credentials can be exposed in source repositories as readily as user keys. GitHub’s November 12 announcement adds detection for a specific Cloudflare secret type, cloudflare_access_service_token, in GitHub Secret Scanning. It is a new detector, not a statement that every Cloudflare credential format is covered.

GitHub says partner secret types found in public repositories are automatically reported to the issuer through its partnership program. User secret types generate alerts in public or private repositories where the applicable scanning is available. The short announcement gives these general behaviors but does not explicitly classify the new Cloudflare type in its table as partner or user, nor does it promise a specific notification or automatic revocation for every detection. Teams should verify their repository’s actual alerting and issuer-response path.

Detection is the start of incident response

A Cloudflare Access service token represents a machine identity used to reach protected resources. An exposed value raises two separate questions: is the string a valid credential, and what can it reach? A pattern match alone does not answer either question. Security owners should examine the location and history of the exposure, the token’s permissions and usage, and whether it appeared in public clones, build artifacts or logs.

If exposure is confirmed or cannot be ruled out, the operational response is to replace the credential, update every legitimate consumer, revoke the old value through the issuer’s controls and check access logs. Rotation must be coordinated so a service does not keep using a stale token. These steps are a recommended incident workflow, not an automatic action performed by the newly announced detector.

What the release does and does not establish

The published change names one supported type but offers no independent measurement of false positives, missed secrets, scan latency or real-world exposure reduction. Repository scanning also cannot guarantee detection of secrets stored outside the repositories it covers. Inventorying machine identities, restricting their scope and reducing their lifetime remain important even when scanning is enabled.

This small release is useful precisely because it makes one class of accidental disclosure more visible. Its security value depends on the coverage and response process around the alert, including the ability to invalidate a compromised token.

Source: GitHub Changelog, November 12, 2026.