mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 05:04:22 +01:00
add update token from square (#1370)
This commit is contained in:
1 parent
4b543280a1
commit
db69e8266e
2 files changed
+7
-4
No files matched your search
@@ -2685,9 +2685,9 @@ keywords = [
|
||||
[[rules]]
|
||||
id = "square-access-token"
|
||||
description = "Detected a Square Access Token, risking unauthorized payment processing and financial transaction exposure."
|
||||
regex = '''(?i)\b(sq0atp-[0-9A-Za-z\-_]{22})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
|
||||
regex = '''(?i)\b((EAAA|sq0atp-)[0-9A-Za-z\-_]{22,60})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
|
||||
keywords = [
|
||||
"sq0atp-",
|
||||
"sq0atp-","eaaa",
|
||||
]
|
||||
|
||||
[[rules]]
|
||||
|
||||
Reference in new issue
Block a user