diff --git a/pacu/core/secretfinder/regexs.json b/pacu/core/secretfinder/regexs.json index 5b85f759..7ab461f0 100644 --- a/pacu/core/secretfinder/regexs.json +++ b/pacu/core/secretfinder/regexs.json @@ -5,7 +5,10 @@ "Bearer_Auth": "bearer [a-zA-Z0-9_\\-\\.=]+", "AWS_Client": "(?:A3T[A-Z0-9]|AKIA|AGPA|AIDA|AROA|AIPA|ANPA|ANVA|ASIA)[A-Z0-9]{16}", "AWS_MWS": "amzn\\.mws\\.[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", - "GitHub": "[g|G][i|I][t|T][h|H][u|U][b|B].*['|\"][0-9a-zA-Z]{35,40}['|\"]", + "GitHub Generic": "[g|G][i|I][t|T][h|H][u|U][b|B].*['|\"][0-9a-zA-Z]{35,40}['|\"]", + "GitHub Personal Token": "ghp_[a-zA-Z0-9]{36}", + "GitHub Actions Token": "ghs_[a-zA-Z0-9]{36}", + "GitHub Fine-grained Token": "github_pat_[a-zA-Z0-9]{22}_[a-zA-Z0-9]{59}", "Generic API Key": "[a|A][p|P][i|I][_]?[k|K][e|E][y|Y].*['|\"][0-9a-zA-Z]{32,45}['|\"]", "Generic Secret": "[s|S][e|E][c|C][r|R][e|E][t|T].*['|\"][0-9a-zA-Z]{32,45}['|\"]", "Google API Key": "AIza[0-9A-Za-z\\-_]{35}",