Add GitHub App installation token detection

This commit is contained in:
edoardottt
2026-05-24 09:40:35 +02:00
parent d4e88a1f8b
commit b656d03d58
2 changed files with 7 additions and 1 deletions
-1
View File
@@ -229,7 +229,6 @@ func New(scan *Scan) *Results {
}
if path == "" || path == "/" {
visitURL("robots.txt")
visitURL("sitemap.xml")
}
}
+7
View File
@@ -449,6 +449,13 @@ func GetSecretRegexes() []Secret {
[]string{},
"?",
},
{
"Github App Installation Token",
"Github App Installation Token (https://github.blog/changelog/2026-05-15-github-app-installation-tokens-per-request-override-header/)",
*regexp.MustCompile(`ghs_[A-Za-z0-9\._]{36,}`),
[]string{},
"?",
},
{
"GitLab CI/CD Job Token",
"GitLab CI/CD Job Token",