Skip to content

Commit

Permalink
Add github regexs
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveYesland committed Jan 17, 2024
1 parent 551c109 commit 3f30131
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pacu/core/secretfinder/regexs.json
Original file line number Diff line number Diff line change
Expand Up @@ -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}",
Expand Down

0 comments on commit 3f30131

Please sign in to comment.