@runsec/mcp 1.0.71 → 1.0.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/data/trufflehog-config.yaml +27 -27
- package/package.json +1 -1
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
# Дополнительно в этом файле (расширения репозитория):
|
|
13
13
|
# - ITS-002 Keycloak Client Secret Policy Violation
|
|
14
14
|
# - ITS-002 Vault Token Policy Violation
|
|
15
|
-
# Для assignment-детекторов (key:=value) —
|
|
15
|
+
# Для assignment-детекторов (key:=value) — exclude_regexes отсекает ${VAR}, $VAR, getenv и т.п.
|
|
16
16
|
# PCI-DSS / SOC2: криптография, object storage, telemetry — см. секцию COMPLIANCE в конце файла.
|
|
17
17
|
# OAuth Client ID удалён (публичный идентификатор, не секрет).
|
|
18
18
|
|
|
@@ -47,7 +47,7 @@ detectors:
|
|
|
47
47
|
- yandex-service-token
|
|
48
48
|
regex:
|
|
49
49
|
pattern: '(?i)(yandex[_-]?cloud[_-]?token|yc[_-]?iam[_-]?token|yandex[_-]?service[_-]?token)\s*[:=]\s*[''"]?[A-Za-z0-9_\-]{40,}[''"]?'
|
|
50
|
-
|
|
50
|
+
exclude_regexes:
|
|
51
51
|
- '\$\{[^}]+\}'
|
|
52
52
|
- '\$[A-Z_][A-Z0-9_]*'
|
|
53
53
|
- '%\([^)]+\)s'
|
|
@@ -62,7 +62,7 @@ detectors:
|
|
|
62
62
|
- y360-api-token
|
|
63
63
|
regex:
|
|
64
64
|
pattern: '(?i)(yandex[_-]?360[_-]?token|y360[_-]?api[_-]?token)\s*[:=]\s*[''"]?[A-Za-z0-9_\-]{32,}[''"]?'
|
|
65
|
-
|
|
65
|
+
exclude_regexes:
|
|
66
66
|
- '\$\{[^}]+\}'
|
|
67
67
|
- '\$[A-Z_][A-Z0-9_]*'
|
|
68
68
|
- '%\([^)]+\)s'
|
|
@@ -77,7 +77,7 @@ detectors:
|
|
|
77
77
|
- vcloud-api-token
|
|
78
78
|
regex:
|
|
79
79
|
pattern: '(?i)(vk[_-]?cloud[_-]?token|vcloud[_-]?api[_-]?token)\s*[:=]\s*[''"]?[A-Za-z0-9_\-]{40,}[''"]?'
|
|
80
|
-
|
|
80
|
+
exclude_regexes:
|
|
81
81
|
- '\$\{[^}]+\}'
|
|
82
82
|
- '\$[A-Z_][A-Z0-9_]*'
|
|
83
83
|
- '%\([^)]+\)s'
|
|
@@ -92,7 +92,7 @@ detectors:
|
|
|
92
92
|
- vk-access-token
|
|
93
93
|
regex:
|
|
94
94
|
pattern: '(?i)(vk[_-]?oauth[_-]?token|vk[_-]?access[_-]?token)\s*[:=]\s*[''"]?[A-Za-z0-9_\-]{20,}[''"]?'
|
|
95
|
-
|
|
95
|
+
exclude_regexes:
|
|
96
96
|
- '\$\{[^}]+\}'
|
|
97
97
|
- '\$[A-Z_][A-Z0-9_]*'
|
|
98
98
|
- '%\([^)]+\)s'
|
|
@@ -107,7 +107,7 @@ detectors:
|
|
|
107
107
|
- sber-cloud-api-token
|
|
108
108
|
regex:
|
|
109
109
|
pattern: '(?i)(sbercloud[_-]?token|sber[_-]?cloud[_-]?api[_-]?token)\s*[:=]\s*[''"]?[A-Za-z0-9_\-]{40,}[''"]?'
|
|
110
|
-
|
|
110
|
+
exclude_regexes:
|
|
111
111
|
- '\$\{[^}]+\}'
|
|
112
112
|
- '\$[A-Z_][A-Z0-9_]*'
|
|
113
113
|
- '%\([^)]+\)s'
|
|
@@ -123,7 +123,7 @@ detectors:
|
|
|
123
123
|
- 1c-basic-auth
|
|
124
124
|
regex:
|
|
125
125
|
pattern: '(?i)(1c[_-]?api[_-]?token|1c[_-]?http[_-]?auth|1c[_-]?basic[_-]?auth)\s*[:=]\s*[''"]?[A-Za-z0-9_\-+/=]{20,}[''"]?'
|
|
126
|
-
|
|
126
|
+
exclude_regexes:
|
|
127
127
|
- '\$\{[^}]+\}'
|
|
128
128
|
- '\$[A-Z_][A-Z0-9_]*'
|
|
129
129
|
- '%\([^)]+\)s'
|
|
@@ -139,7 +139,7 @@ detectors:
|
|
|
139
139
|
- bx24-token
|
|
140
140
|
regex:
|
|
141
141
|
pattern: '(?i)(bitrix24[_-]?token|bitrix[_-]?rest[_-]?token|bx24[_-]?token)\s*[:=]\s*[''"]?[A-Za-z0-9]{32,}[''"]?'
|
|
142
|
-
|
|
142
|
+
exclude_regexes:
|
|
143
143
|
- '\$\{[^}]+\}'
|
|
144
144
|
- '\$[A-Z_][A-Z0-9_]*'
|
|
145
145
|
- '%\([^)]+\)s'
|
|
@@ -187,7 +187,7 @@ detectors:
|
|
|
187
187
|
- client_secret
|
|
188
188
|
regex:
|
|
189
189
|
pattern: '(?i)(client_secret)\s*[:=]\s*[''"]?[0-9A-Za-z\-._~]{16,}[''"]?'
|
|
190
|
-
|
|
190
|
+
exclude_regexes:
|
|
191
191
|
- '\$\{[^}]+\}'
|
|
192
192
|
- '\$[A-Z_][A-Z0-9_]*'
|
|
193
193
|
- '%\([^)]+\)s'
|
|
@@ -205,7 +205,7 @@ detectors:
|
|
|
205
205
|
- KEYCLOAK_CLIENT_SECRET
|
|
206
206
|
regex:
|
|
207
207
|
pattern: '(?i)(oidc|oauth2|keycloak).*client[_-]?secret.*[:=]\s*[''"]?[0-9A-Za-z\-._~]{16,}[''"]?'
|
|
208
|
-
|
|
208
|
+
exclude_regexes:
|
|
209
209
|
- '\$\{[^}]+\}'
|
|
210
210
|
- '\$[A-Z_][A-Z0-9_]*'
|
|
211
211
|
- '%\([^)]+\)s'
|
|
@@ -221,7 +221,7 @@ detectors:
|
|
|
221
221
|
- keycloak_client_secret
|
|
222
222
|
regex:
|
|
223
223
|
pattern: '(?i)(keycloak[_\.-]?client[_-]?secret|KEYCLOAK_CLIENT_SECRET)\s*[:=]\s*[''"]?[0-9A-Za-z\-._~]{12,}[''"]?'
|
|
224
|
-
|
|
224
|
+
exclude_regexes:
|
|
225
225
|
- '\$\{[^}]+\}'
|
|
226
226
|
- '\$[A-Z_][A-Z0-9_]*'
|
|
227
227
|
- '%\([^)]+\)s'
|
|
@@ -236,7 +236,7 @@ detectors:
|
|
|
236
236
|
- client-secret
|
|
237
237
|
regex:
|
|
238
238
|
pattern: '(?i)spring\.security\.oauth2\.client\.registration\.[^.\s]+\.client-secret\s*=\s*[''"]?[0-9A-Za-z\-._~]{16,}[''"]?'
|
|
239
|
-
|
|
239
|
+
exclude_regexes:
|
|
240
240
|
- '\$\{[^}]+\}'
|
|
241
241
|
- '\$[A-Z_][A-Z0-9_]*'
|
|
242
242
|
- '%\([^)]+\)s'
|
|
@@ -285,7 +285,7 @@ detectors:
|
|
|
285
285
|
- openvpn-key
|
|
286
286
|
regex:
|
|
287
287
|
pattern: '(?i)(vpn[_-]?user|vpn[_-]?login|vpn[_-]?password|vpn[_-]?cert|openvpn[_-]?key)\s*[:=]\s*[''"]?[A-Za-z0-9_\-+/=]{16,}[''"]?'
|
|
288
|
-
|
|
288
|
+
exclude_regexes:
|
|
289
289
|
- '\$\{[^}]+\}'
|
|
290
290
|
- '\$[A-Z_][A-Z0-9_]*'
|
|
291
291
|
- '%\([^)]+\)s'
|
|
@@ -302,7 +302,7 @@ detectors:
|
|
|
302
302
|
- proxy-auth
|
|
303
303
|
regex:
|
|
304
304
|
pattern: '(?i)(proxy[_-]?user|proxy[_-]?login|proxy[_-]?password|proxy[_-]?auth)\s*[:=]\s*[''"]?[A-Za-z0-9_\-]{8,}[''"]?'
|
|
305
|
-
|
|
305
|
+
exclude_regexes:
|
|
306
306
|
- '\$\{[^}]+\}'
|
|
307
307
|
- '\$[A-Z_][A-Z0-9_]*'
|
|
308
308
|
- '%\([^)]+\)s'
|
|
@@ -318,7 +318,7 @@ detectors:
|
|
|
318
318
|
- runner-registration-token
|
|
319
319
|
regex:
|
|
320
320
|
pattern: '(?i)(gitlab[_-]?runner[_-]?token|ci[_-]?cd[_-]?token|runner[_-]?registration[_-]?token)\s*[:=]\s*[''"]?[A-Za-z0-9_\-]{20,}[''"]?'
|
|
321
|
-
|
|
321
|
+
exclude_regexes:
|
|
322
322
|
- '\$\{[^}]+\}'
|
|
323
323
|
- '\$[A-Z_][A-Z0-9_]*'
|
|
324
324
|
- '%\([^)]+\)s'
|
|
@@ -335,7 +335,7 @@ detectors:
|
|
|
335
335
|
- self-hosted-ci-token
|
|
336
336
|
regex:
|
|
337
337
|
pattern: '(?i)(jenkins[_-]?token|teamcity[_-]?token|bamboo[_-]?token|self[_-]?hosted[_-]?ci[_-]?token)\s*[:=]\s*[''"]?[A-Za-z0-9_\-]{20,}[''"]?'
|
|
338
|
-
|
|
338
|
+
exclude_regexes:
|
|
339
339
|
- '\$\{[^}]+\}'
|
|
340
340
|
- '\$[A-Z_][A-Z0-9_]*'
|
|
341
341
|
- '%\([^)]+\)s'
|
|
@@ -363,7 +363,7 @@ detectors:
|
|
|
363
363
|
- vault-token
|
|
364
364
|
regex:
|
|
365
365
|
pattern: '(?i)(vault[_-]?token|VAULT_TOKEN)\s*[:=]\s*[''"]?(hvs\.CAES[A-Za-z0-9_\-]+|hvc\.CAES[A-Za-z0-9_\-]+|s\.[A-Za-z0-9_\-]{8,})[''"]?'
|
|
366
|
-
|
|
366
|
+
exclude_regexes:
|
|
367
367
|
- '\$\{[^}]+\}'
|
|
368
368
|
- '\$[A-Z_][A-Z0-9_]*'
|
|
369
369
|
- '%\([^)]+\)s'
|
|
@@ -397,7 +397,7 @@ detectors:
|
|
|
397
397
|
- registry.npmjs.org_auth
|
|
398
398
|
regex:
|
|
399
399
|
pattern: '(?i)(_authToken|_auth|registry\.npmjs\.org[_-]?auth)\s*=\s*[A-Za-z0-9_\-=]{20,}'
|
|
400
|
-
|
|
400
|
+
exclude_regexes:
|
|
401
401
|
- '\$\{[^}]+\}'
|
|
402
402
|
- '\$[A-Z_][A-Z0-9_]*'
|
|
403
403
|
- '%\([^)]+\)s'
|
|
@@ -414,7 +414,7 @@ detectors:
|
|
|
414
414
|
- elasticsearch.password
|
|
415
415
|
regex:
|
|
416
416
|
pattern: '(?i)(xpack\.security\.(user|password)|cloud\.auth|api_key|elasticsearch\.password)\s*[:=]\s*[''"]?[A-Za-z0-9_\-=]{16,}[''"]?'
|
|
417
|
-
|
|
417
|
+
exclude_regexes:
|
|
418
418
|
- '\$\{[^}]+\}'
|
|
419
419
|
- '\$[A-Z_][A-Z0-9_]*'
|
|
420
420
|
- '%\([^)]+\)s'
|
|
@@ -438,7 +438,7 @@ detectors:
|
|
|
438
438
|
- sasl.password
|
|
439
439
|
regex:
|
|
440
440
|
pattern: '(?i)(sasl\.(jaas\.config|username|password)|org\.apache\.kafka\.common\.security\.plain\.(username|password))\s*[:=]\s*[''"]?[^''"\s]{8,}[''"]?'
|
|
441
|
-
|
|
441
|
+
exclude_regexes:
|
|
442
442
|
- '\$\{[^}]+\}'
|
|
443
443
|
- '\$[A-Z_][A-Z0-9_]*'
|
|
444
444
|
- '%\([^)]+\)s'
|
|
@@ -454,7 +454,7 @@ detectors:
|
|
|
454
454
|
- x-api-token
|
|
455
455
|
regex:
|
|
456
456
|
pattern: '(?i)(x-api-key|x-auth-token|x-api-token)\s*[:=]\s*[''"]?[0-9A-Za-z\-._~]{24,}[''"]?'
|
|
457
|
-
|
|
457
|
+
exclude_regexes:
|
|
458
458
|
- '\$\{[^}]+\}'
|
|
459
459
|
- '\$[A-Z_][A-Z0-9_]*'
|
|
460
460
|
- '%\([^)]+\)s'
|
|
@@ -487,7 +487,7 @@ detectors:
|
|
|
487
487
|
- apikey
|
|
488
488
|
regex:
|
|
489
489
|
pattern: '(?i)(password|passwd|pwd|secret|key|token|salt|api_key|apikey)\s*[:=]\s*[''"][^''"]{8,}[''"]'
|
|
490
|
-
|
|
490
|
+
exclude_regexes:
|
|
491
491
|
- '\$\{[^}]+\}'
|
|
492
492
|
- '\$[A-Z_][A-Z0-9_]*'
|
|
493
493
|
- '%\([^)]+\)s'
|
|
@@ -503,7 +503,7 @@ detectors:
|
|
|
503
503
|
- apikey
|
|
504
504
|
regex:
|
|
505
505
|
pattern: '(?i)(api[_-]?key|apikey)\s*[:=]\s*[''"]?[0-9A-Za-z_\-]{32,}[''"]?'
|
|
506
|
-
|
|
506
|
+
exclude_regexes:
|
|
507
507
|
- '\$\{[^}]+\}'
|
|
508
508
|
- '\$[A-Z_][A-Z0-9_]*'
|
|
509
509
|
- '%\([^)]+\)s'
|
|
@@ -519,7 +519,7 @@ detectors:
|
|
|
519
519
|
- password
|
|
520
520
|
regex:
|
|
521
521
|
pattern: '(?i)(secret|token|password|passwd)\s*[:=]\s*[''"]?[0-9A-Za-z_\-]{40,}[''"]?'
|
|
522
|
-
|
|
522
|
+
exclude_regexes:
|
|
523
523
|
- '\$\{[^}]+\}'
|
|
524
524
|
- '\$[A-Z_][A-Z0-9_]*'
|
|
525
525
|
- '%\([^)]+\)s'
|
|
@@ -538,7 +538,7 @@ detectors:
|
|
|
538
538
|
- e-mail
|
|
539
539
|
regex:
|
|
540
540
|
pattern: '(?i)(?:email|e-mail)\s*[:=]\s*[\x27"]?(?!.*@(example\.(com|org|net)|test\.|mock\.|localhost|invalid|\.test|\.example|noreply\.|no-reply\.|fixture\.|sample\.|dummy\.|placeholder\.))[a-z0-9._%+-]+@[a-z0-9][a-z0-9.-]*\.[a-z]{2,}[\x27"]?'
|
|
541
|
-
|
|
541
|
+
exclude_regexes:
|
|
542
542
|
- '@example\.(com|org|net)'
|
|
543
543
|
- '@test\.'
|
|
544
544
|
- '@mock\.'
|
|
@@ -622,7 +622,7 @@ detectors:
|
|
|
622
622
|
- secret_salt
|
|
623
623
|
regex:
|
|
624
624
|
pattern: '(?i)(aes[_-]?key|encryption[_-]?key|secret[_-]?salt)\s*[:=]\s*[''"][A-Za-z0-9+/=]{32,}[''"]'
|
|
625
|
-
|
|
625
|
+
exclude_regexes:
|
|
626
626
|
- '\$\{[^}]+\}'
|
|
627
627
|
- '\$[A-Z_][A-Z0-9_]*'
|
|
628
628
|
- '%\([^)]+\)s'
|
|
@@ -657,7 +657,7 @@ detectors:
|
|
|
657
657
|
- redis_pass
|
|
658
658
|
regex:
|
|
659
659
|
pattern: '(?i)(redis[_-]?(password|pass|pwd))\s*[:=]\s*[\x27"][^\x27"\s]{8,}[\x27"]'
|
|
660
|
-
|
|
660
|
+
exclude_regexes:
|
|
661
661
|
- '\$\{[^}]+\}'
|
|
662
662
|
- '\$[A-Z_][A-Z0-9_]*'
|
|
663
663
|
- '%\([^)]+\)s'
|