|
@@ -2426,6 +2426,17 @@ description = "Identified a Private Key, which may compromise cryptographic secu
|
|
|
regex = '''(?i)-----BEGIN[ A-Z0-9_-]{0,100}PRIVATE KEY(?: BLOCK)?-----[\s\S-]*?KEY(?: BLOCK)?-----'''
|
|
regex = '''(?i)-----BEGIN[ A-Z0-9_-]{0,100}PRIVATE KEY(?: BLOCK)?-----[\s\S-]*?KEY(?: BLOCK)?-----'''
|
|
|
keywords = ["-----begin"]
|
|
keywords = ["-----begin"]
|
|
|
|
|
|
|
|
|
|
+[[rules]]
|
|
|
|
|
+id = "privateai-api-token"
|
|
|
|
|
+description = "Identified a PrivateAI Token, posing a risk of unauthorized access to AI services and data manipulation."
|
|
|
|
|
+regex = '''(?i:(?:private[_-]?ai)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3})(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{32})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
|
|
|
|
|
+entropy = 3
|
|
|
|
|
+keywords = [
|
|
|
|
|
+ "privateai",
|
|
|
|
|
+ "private_ai",
|
|
|
|
|
+ "private-ai",
|
|
|
|
|
+]
|
|
|
|
|
+
|
|
|
[[rules]]
|
|
[[rules]]
|
|
|
id = "pulumi-api-token"
|
|
id = "pulumi-api-token"
|
|
|
description = "Found a Pulumi API token, posing a risk to infrastructure as code services and cloud resource management."
|
|
description = "Found a Pulumi API token, posing a risk to infrastructure as code services and cloud resource management."
|