add update token from square (#1370)

This commit is contained in:
Baruch Odem (Rothkoff) authored and GitHub committed 2024-03-22 13:31:09 -05:00
1 parent 4b543280a1
commit db69e8266e
2 files changed
+7 -4

No files matched your search

+2 -2
View File
@@ -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]]