Fix ghs_ token regex for new stateless format (#1840)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Hannah Gould
2026-05-26 17:37:04 -07:00
committed by GitHub
parent 3d6b8edfae
commit b4948a9450
+1 -1
View File
@@ -30,7 +30,7 @@ PATTERNS=(
# GitHub tokens
"GITHUB_PAT|critical|ghp_[0-9A-Za-z]{36}"
"GITHUB_OAUTH|critical|gho_[0-9A-Za-z]{36}"
"GITHUB_APP_TOKEN|critical|ghs_[0-9A-Za-z]{36}"
"GITHUB_APP_TOKEN|critical|ghs_[0-9A-Za-z._-]{36,}"
"GITHUB_REFRESH_TOKEN|critical|ghr_[0-9A-Za-z]{36}"
"GITHUB_FINE_GRAINED_PAT|critical|github_pat_[0-9A-Za-z_]{82}"