mirror of
https://github.com/edoardottt/cariddi.git
synced 2026-08-17 21:25:48 +02:00
Add GitHub App installation token detection
This commit is contained in:
@@ -229,7 +229,6 @@ func New(scan *Scan) *Results {
|
||||
}
|
||||
|
||||
if path == "" || path == "/" {
|
||||
visitURL("robots.txt")
|
||||
visitURL("sitemap.xml")
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user