Skip to content
Changes

Reference

auth0oauth · Oct 1, 2026

What this change means

Regex changed. Changes keywords, regex patterns or pairing.

Field changes
FieldBeforeAfter
Regex patternsBefore: \b([a-zA-Z0-9_-]{32,60})\b, \b([a-zA-Z0-9_-]{64,})\b, \b([a-zA-Z0-9][a-zA-Z0-9._-]*auth0\.com)\bAfter: \b([a-zA-Z0-9_-]{32,60})\b, \b([a-zA-Z0-9_-]{64,})\b, \b([a-zA-Z0-9][a-zA-Z0-9._-]*auth0(?:app)?\.com)\b
pkg/detectors/auth0oauth/auth0oauth.go+5−1View file
@@ -27,7 +27,11 @@ var (
2727
2828 clientIdPat = regexp.MustCompile(detectors.PrefixRegex([]string{"auth0"}) + `\b([a-zA-Z0-9_-]{32,60})\b`)
2929 clientSecretPat = regexp.MustCompile(`\b([a-zA-Z0-9_-]{64,})\b`)
30removed: domainPat = regexp.MustCompile(`\b([a-zA-Z0-9][a-zA-Z0-9._-]*auth0\.com)\b`) // could be part of url
30added: // could be part of url; auth0app.com is Auth0's managed domain for Private Cloud tenants.
31added: // TODO: a bare domain with no leading character (e.g. "auth0.com" or "auth0app.com" with
32added: // no subdomain/prefix at all) never matches, since the leading character class must be
33added: // consumed before the literal "auth0" substring. Pre-existing, unrelated to this fix.
34added: domainPat = regexp.MustCompile(`\b([a-zA-Z0-9][a-zA-Z0-9._-]*auth0(?:app)?\.com)\b`)
3135)
3236
3337// Keywords are used for efficiently pre-filtering chunks.