-
Notifications
You must be signed in to change notification settings - Fork 12
/
regex.toml
823 lines (715 loc) · 17.7 KB
/
regex.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
title = "n0s1 config 20220830 v001"
[[rules]]
id = "gitlab_personal_access_token"
description = "GitLab Personal Access Token"
regex = '''glpat-[0-9a-zA-Z_\-]{20}'''
tags = ["gitlab", "revocation_type"]
keywords = [
"glpat",
]
[[rules]]
id = "gitlab_pipeline_trigger_token"
description = "GitLab Pipeline Trigger Token"
regex = '''glptt-[0-9a-zA-Z_\-]{20}'''
tags = ["gitlab"]
keywords = [
"glptt",
]
[[rules]]
id = "gitlab_runner_registration_token"
description = "GitLab Runner Registration Token"
regex = '''GR1348941[0-9a-zA-Z_\-]{20}'''
tags = ["gitlab"]
keywords = [
"gr1348941",
]
[[rules]]
id = "AWS"
description = "AWS Access Token"
regex = '''AKIA[0-9A-Z]{16}'''
tags = ["aws", "revocation_type"]
keywords = [
"akia",
]
# Cryptographic keys
[[rules]]
id = "PKCS8 private key"
description = "PKCS8 private key"
regex = '''-----BEGIN PRIVATE KEY-----'''
keywords = [
"begin private key",
]
[[rules]]
id = "RSA private key"
description = "RSA private key"
regex = '''-----BEGIN RSA PRIVATE KEY-----'''
keywords = [
"begin rsa private key",
]
[[rules]]
id = "SSH private key"
description = "SSH private key"
regex = '''-----BEGIN OPENSSH PRIVATE KEY-----'''
keywords = [
"begin openssh private key",
]
[[rules]]
id = "PGP private key"
description = "PGP private key"
regex = '''-----BEGIN PGP PRIVATE KEY BLOCK-----'''
keywords = [
"begin pgp private key block",
]
[[rules]]
id = "Github Personal Access Token"
description = "Github Personal Access Token"
regex = '''ghp_[0-9a-zA-Z]{36}'''
keywords = [
"ghp_",
]
[[rules]]
id = "Github OAuth Access Token"
description = "Github OAuth Access Token"
regex = '''gho_[0-9a-zA-Z]{36}'''
keywords = [
"gho_",
]
[[rules]]
id = "SSH (DSA) private key"
description = "SSH (DSA) private key"
regex = '''-----BEGIN DSA PRIVATE KEY-----'''
keywords = [
"begin dsa private key",
]
[[rules]]
id = "SSH (EC) private key"
description = "SSH (EC) private key"
regex = '''-----BEGIN EC PRIVATE KEY-----'''
keywords = [
"begin ec private key",
]
[[rules]]
id = "Github App Token"
description = "Github App Token"
regex = '''(ghu|ghs)_[0-9a-zA-Z]{36}'''
keywords = [
"ghu_",
"ghs_"
]
[[rules]]
id = "Github Refresh Token"
description = "Github Refresh Token"
regex = '''ghr_[0-9a-zA-Z]{76}'''
keywords = [
"ghr_"
]
[[rules]]
id = "Shopify shared secret"
description = "Shopify shared secret"
regex = '''shpss_[a-fA-F0-9]{32}'''
keywords = [
"shpss_"
]
[[rules]]
id = "Shopify access token"
description = "Shopify access token"
regex = '''shpat_[a-fA-F0-9]{32}'''
keywords = [
"shpat_"
]
[[rules]]
id = "Shopify custom app access token"
description = "Shopify custom app access token"
regex = '''shpca_[a-fA-F0-9]{32}'''
keywords = [
"shpca_"
]
[[rules]]
id = "Shopify private app access token"
description = "Shopify private app access token"
regex = '''shppa_[a-fA-F0-9]{32}'''
keywords = [
"shppa_"
]
[[rules]]
id = "Slack token"
description = "Slack token"
regex = '''xox[baprs]-([0-9a-zA-Z]{10,48})?'''
keywords = [
"xoxb","xoxa","xoxp","xoxr","xoxs",
]
[[rules]]
id = "Stripe"
description = "Stripe"
regex = '''(?i)(sk|pk)_(test|live)_[0-9a-z]{10,32}'''
keywords = [
"sk_test","pk_test","sk_live","pk_live",
]
[[rules]]
id = "PyPI upload token"
description = "PyPI upload token"
regex = '''pypi-AgEIcHlwaS5vcmc[A-Za-z0-9-_]{50,1000}'''
tags = ["pypi", "revocation_type"]
keywords = [
"pypi-ageichlwas5vcmc",
]
[[rules]]
id = "Google (GCP) Service-account"
description = "Google (GCP) Service-account"
regex = '''\"type\": \"service_account\"'''
[[rules]]
# demo of this regex not matching passwords in urls that contain env vars:
# https://regex101.com/r/rT9Lv9/6
id = "Password in URL"
description = "Password in URL"
regex = '''[a-zA-Z]{3,10}:\/\/[^$][^:@\/\n]{3,20}:[^${][^:@\n\/]{3,40}@.{1,100}'''
[rules.allowlist]
regexes = [
'''({*root}*|{*admin}*|{*postgres}*|{*guest}*|{*user(name)*}*|\*\*\*\*\*):({*root}*|{*admin}*|{*postgres}*|{*guest}*|{*user(name)*}*|{*pass(word)*}*|\*\*\*\*\*)''',
]
[[rules]]
id = "Slack Webhook"
description = "Slack Webhook"
regex = '''https://hooks.slack.com/services/T[a-zA-Z0-9_]{8}/B[a-zA-Z0-9_]{8}/[a-zA-Z0-9_]{24}'''
keywords = [
"https://hooks.slack.com/services",
]
[[rules]]
id = "Twilio API Key"
description = "Twilio API Key"
regex = '''SK[0-9a-fA-F]{32}'''
keywords = [
"sk",
"twilio"
]
[[rules]]
id = "Age secret key"
description = "Age secret key"
regex = '''AGE-SECRET-KEY-1[QPZRY9X8GF2TVDW0S3JN54KHCE6MUA7L]{58}'''
keywords = [
"age-secret-key-1",
]
[[rules]]
id = "Facebook token"
description = "Facebook token"
regex = '''(?i)(facebook[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([a-f0-9]{32})['\"]'''
secretGroup = 3
keywords = [
"facebook",
]
[[rules]]
id = "Twitter token"
description = "Twitter token"
regex = '''(?i)(twitter[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([a-f0-9]{35,44})['\"]'''
secretGroup = 3
keywords = [
"twitter",
]
[[rules]]
id = "Adobe Client ID (Oauth Web)"
description = "Adobe Client ID (Oauth Web)"
regex = '''(?i)(adobe[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([a-f0-9]{32})['\"]'''
secretGroup = 3
keywords = [
"adobe",
]
[[rules]]
id = "Adobe Client Secret"
description = "Adobe Client Secret"
regex = '''(p8e-)(?i)[a-z0-9]{32}'''
keywords = [
"adobe",
"p8e-,"
]
[[rules]]
id = "Alibaba AccessKey ID"
description = "Alibaba AccessKey ID"
regex = '''(LTAI)(?i)[a-z0-9]{20}'''
keywords = [
"ltai",
]
[[rules]]
id = "Alibaba Secret Key"
description = "Alibaba Secret Key"
regex = '''(?i)(alibaba[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([a-z0-9]{30})['\"]'''
secretGroup = 3
keywords = [
"alibaba",
]
[[rules]]
id = "Asana Client ID"
description = "Asana Client ID"
regex = '''(?i)(asana[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([0-9]{16})['\"]'''
secretGroup = 3
keywords = [
"asana",
]
[[rules]]
id = "Asana Client Secret"
description = "Asana Client Secret"
regex = '''(?i)(asana[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([a-z0-9]{32})['\"]'''
secretGroup = 3
keywords = [
"asana",
]
[[rules]]
id = "Atlassian API token"
description = "Atlassian API token"
regex = '''(?i)(atlassian[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([a-z0-9]{24})['\"]'''
secretGroup = 3
keywords = [
"atlassian",
]
[[rules]]
id = "Bitbucket client ID"
description = "Bitbucket client ID"
regex = '''(?i)(bitbucket[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([a-z0-9]{32})['\"]'''
secretGroup = 3
keywords = [
"bitbucket",
]
[[rules]]
id = "Bitbucket client secret"
description = "Bitbucket client secret"
regex = '''(?i)(bitbucket[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([a-z0-9_\-]{64})['\"]'''
secretGroup = 3
keywords = [
"bitbucket",
]
[[rules]]
id = "Beamer API token"
description = "Beamer API token"
regex = '''(?i)(beamer[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"](b_[a-z0-9=_\-]{44})['\"]'''
secretGroup = 3
keywords = [
"beamer",
]
[[rules]]
id = "Clojars API token"
description = "Clojars API token"
regex = '''(CLOJARS_)(?i)[a-z0-9]{60}'''
keywords = [
"clojars",
]
[[rules]]
id = "Contentful delivery API token"
description = "Contentful delivery API token"
regex = '''(?i)(contentful[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([a-z0-9\-=_]{43})['\"]'''
secretGroup = 3
keywords = [
"contentful",
]
[[rules]]
id = "Contentful preview API token"
description = "Contentful preview API token"
regex = '''(?i)(contentful[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([a-z0-9\-=_]{43})['\"]'''
secretGroup = 3
keywords = [
"contentful",
]
[[rules]]
id = "Databricks API token"
description = "Databricks API token"
regex = '''dapi[a-h0-9]{32}'''
keywords = [
"dapi",
"databricks"
]
[[rules]]
id = "Discord API key"
description = "Discord API key"
regex = '''(?i)(discord[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([a-h0-9]{64})['\"]'''
secretGroup = 3
keywords = [
"discord",
]
[[rules]]
id = "Discord client ID"
description = "Discord client ID"
regex = '''(?i)(discord[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([0-9]{18})['\"]'''
secretGroup = 3
keywords = [
"discord",
]
[[rules]]
id = "Discord client secret"
description = "Discord client secret"
regex = '''(?i)(discord[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([a-z0-9=_\-]{32})['\"]'''
secretGroup = 3
keywords = [
"discord",
]
[[rules]]
id = "Doppler API token"
description = "Doppler API token"
regex = '''['\"](dp\.pt\.)(?i)[a-z0-9]{43}['\"]'''
keywords = [
"doppler",
]
[[rules]]
id = "Dropbox API secret/key"
description = "Dropbox API secret/key"
regex = '''(?i)(dropbox[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([a-z0-9]{15})['\"]'''
keywords = [
"dropbox",
]
[[rules]]
id = "Dropbox short lived API token"
description = "Dropbox short lived API token"
regex = '''(?i)(dropbox[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"](sl\.[a-z0-9\-=_]{135})['\"]'''
keywords = [
"dropbox",
]
[[rules]]
id = "Dropbox long lived API token"
description = "Dropbox long lived API token"
regex = '''(?i)(dropbox[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"][a-z0-9]{11}(AAAAAAAAAA)[a-z0-9\-_=]{43}['\"]'''
keywords = [
"dropbox",
]
[[rules]]
id = "Duffel API token"
description = "Duffel API token"
regex = '''['\"]duffel_(test|live)_(?i)[a-z0-9_-]{43}['\"]'''
keywords = [
"duffel",
]
[[rules]]
id = "Dynatrace API token"
description = "Dynatrace API token"
regex = '''['\"]dt0c01\.(?i)[a-z0-9]{24}\.[a-z0-9]{64}['\"]'''
keywords = [
"dt0c01",
]
[[rules]]
id = "EasyPost API token"
description = "EasyPost API token"
regex = '''['\"]EZAK(?i)[a-z0-9]{54}['\"]'''
keywords = [
"ezak",
]
[[rules]]
id = "EasyPost test API token"
description = "EasyPost test API token"
regex = '''['\"]EZTK(?i)[a-z0-9]{54}['\"]'''
keywords = [
"eztk",
]
[[rules]]
id = "Fastly API token"
description = "Fastly API token"
regex = '''(?i)(fastly[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([a-z0-9\-=_]{32})['\"]'''
secretGroup = 3
keywords = [
"fastly",
]
[[rules]]
id = "Finicity client secret"
description = "Finicity client secret"
regex = '''(?i)(finicity[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([a-z0-9]{20})['\"]'''
secretGroup = 3
keywords = [
"finicity",
]
[[rules]]
id = "Finicity API token"
description = "Finicity API token"
regex = '''(?i)(finicity[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([a-f0-9]{32})['\"]'''
secretGroup = 3
keywords = [
"finicity",
]
[[rules]]
id = "Flutterwave public key"
description = "Flutterwave public key"
regex = '''FLWPUBK_TEST-(?i)[a-h0-9]{32}-X'''
keywords = [
"FLWPUBK_TEST",
]
[[rules]]
id = "Flutterwave secret key"
description = "Flutterwave secret key"
regex = '''FLWSECK_TEST-(?i)[a-h0-9]{32}-X'''
keywords = [
"FLWSECK_TEST",
]
[[rules]]
id = "Flutterwave encrypted key"
description = "Flutterwave encrypted key"
regex = '''FLWSECK_TEST[a-h0-9]{12}'''
keywords = [
"FLWSECK_TEST",
]
[[rules]]
id = "Frame.io API token"
description = "Frame.io API token"
regex = '''fio-u-(?i)[a-z0-9-_=]{64}'''
keywords = [
"fio-u-",
]
[[rules]]
id = "GoCardless API token"
description = "GoCardless API token"
regex = '''['\"]live_(?i)[a-z0-9-_=]{40}['\"]'''
keywords = [
"gocardless",
]
[[rules]]
id = "Grafana API token"
description = "Grafana API token"
regex = '''['\"]eyJrIjoi(?i)[a-z0-9-_=]{72,92}['\"]'''
keywords = [
"grafana",
]
[[rules]]
id = "Hashicorp Terraform user/org API token"
description = "Hashicorp Terraform user/org API token"
regex = '''['\"](?i)[a-z0-9]{14}\.atlasv1\.[a-z0-9-_=]{60,70}['\"]'''
keywords = [
"atlasv1",
"hashicorp",
"terraform"
]
[[rules]]
id = "Hashicorp Vault batch token"
description = "Hashicorp Vault batch token"
regex = '''b\.AAAAAQ[0-9a-zA-Z_-]{156}'''
keywords = [
"hashicorp",
"AAAAAQ",
"vault"
]
[[rules]]
id = "Hubspot API token"
description = "Hubspot API token"
regex = '''(?i)(hubspot[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([a-h0-9]{8}-[a-h0-9]{4}-[a-h0-9]{4}-[a-h0-9]{4}-[a-h0-9]{12})['\"]'''
secretGroup = 3
keywords = [
"hubspot",
]
[[rules]]
id = "Intercom API token"
description = "Intercom API token"
regex = '''(?i)(intercom[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([a-z0-9=_]{60})['\"]'''
secretGroup = 3
keywords = [
"intercom",
]
[[rules]]
id = "Intercom client secret/ID"
description = "Intercom client secret/ID"
regex = '''(?i)(intercom[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([a-h0-9]{8}-[a-h0-9]{4}-[a-h0-9]{4}-[a-h0-9]{4}-[a-h0-9]{12})['\"]'''
secretGroup = 3
keywords = [
"intercom",
]
[[rules]]
id = "Ionic API token"
description = "Ionic API token"
regex = '''ion_(?i)[a-z0-9]{42}'''
keywords = [
"ion_",
]
[[rules]]
id = "Linear API token"
description = "Linear API token"
regex = '''lin_api_(?i)[a-z0-9]{40}'''
keywords = [
"lin_api_",
]
[[rules]]
id = "Linear client secret/ID"
description = "Linear client secret/ID"
regex = '''(?i)(linear[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([a-f0-9]{32})['\"]'''
secretGroup = 3
keywords = [
"linear",
]
[[rules]]
id = "Lob API Key"
description = "Lob API Key"
regex = '''(?i)(lob[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]((live|test)_[a-f0-9]{35})['\"]'''
secretGroup = 3
keywords = [
"lob",
]
[[rules]]
id = "Lob Publishable API Key"
description = "Lob Publishable API Key"
regex = '''(?i)(lob[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]((test|live)_pub_[a-f0-9]{31})['\"]'''
secretGroup = 3
keywords = [
"lob",
]
[[rules]]
id = "Mailchimp API key"
description = "Mailchimp API key"
regex = '''(?i)(mailchimp[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([a-f0-9]{32}-us20)['\"]'''
secretGroup = 3
keywords = [
"mailchimp",
]
[[rules]]
id = "Mailgun private API token"
description = "Mailgun private API token"
regex = '''(?i)(mailgun[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"](key-[a-f0-9]{32})['\"]'''
secretGroup = 3
keywords = [
"mailgun",
]
[[rules]]
id = "Mailgun public validation key"
description = "Mailgun public validation key"
regex = '''(?i)(mailgun[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"](pubkey-[a-f0-9]{32})['\"]'''
secretGroup = 3
keywords = [
"mailgun",
]
[[rules]]
id = "Mailgun webhook signing key"
description = "Mailgun webhook signing key"
regex = '''(?i)(mailgun[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([a-h0-9]{32}-[a-h0-9]{8}-[a-h0-9]{8})['\"]'''
secretGroup = 3
keywords = [
"mailgun",
]
[[rules]]
id = "Mapbox API token"
description = "Mapbox API token"
regex = '''(?i)(pk\.[a-z0-9]{60}\.[a-z0-9]{22})'''
keywords = [
"mapbox",
]
[[rules]]
id = "messagebird-api-token"
description = "MessageBird API token"
regex = '''(?i)(messagebird[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([a-z0-9]{25})['\"]'''
secretGroup = 3
keywords = [
"messagebird",
]
[[rules]]
id = "MessageBird API client ID"
description = "MessageBird API client ID"
regex = '''(?i)(messagebird[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([a-h0-9]{8}-[a-h0-9]{4}-[a-h0-9]{4}-[a-h0-9]{4}-[a-h0-9]{12})['\"]'''
secretGroup = 3
keywords = [
"messagebird",
]
[[rules]]
id = "New Relic user API Key"
description = "New Relic user API Key"
regex = '''['\"](NRAK-[A-Z0-9]{27})['\"]'''
keywords = [
"nrak",
]
[[rules]]
id = "New Relic user API ID"
description = "New Relic user API ID"
regex = '''(?i)(newrelic[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([A-Z0-9]{64})['\"]'''
secretGroup = 3
keywords = [
"newrelic",
]
[[rules]]
id = "New Relic ingest browser API token"
description = "New Relic ingest browser API token"
regex = '''['\"](NRJS-[a-f0-9]{19})['\"]'''
keywords = [
"nrjs",
]
[[rules]]
id = "npm access token"
description = "npm access token"
regex = '''['\"](npm_(?i)[a-z0-9]{36})['\"]'''
keywords = [
"npm_",
]
[[rules]]
id = "Planetscale password"
description = "Planetscale password"
regex = '''pscale_pw_(?i)[a-z0-9\-_\.]{43}'''
keywords = [
"pscale_pw_",
]
[[rules]]
id = "Planetscale API token"
description = "Planetscale API token"
regex = '''pscale_tkn_(?i)[a-z0-9\-_\.]{43}'''
keywords = [
"pscale_tkn_",
]
[[rules]]
id = "Postman API token"
description = "Postman API token"
regex = '''PMAK-(?i)[a-f0-9]{24}\-[a-f0-9]{34}'''
keywords = [
"pmak-",
]
[[rules]]
id = "Pulumi API token"
description = "Pulumi API token"
regex = '''pul-[a-f0-9]{40}'''
keywords = [
"pul-",
]
[[rules]]
id = "Rubygem API token"
description = "Rubygem API token"
regex = '''rubygems_[a-f0-9]{48}'''
keywords = [
"rubygems_",
]
[[rules]]
id = "Sendgrid API token"
description = "Sendgrid API token"
regex = '''SG\.(?i)[a-z0-9_\-\.]{66}'''
keywords = [
"sendgrid",
]
[[rules]]
id = "Sendinblue API token"
description = "Sendinblue API token"
regex = '''xkeysib-[a-f0-9]{64}\-(?i)[a-z0-9]{16}'''
keywords = [
"xkeysib-",
]
[[rules]]
id = "Shippo API token"
description = "Shippo API token"
regex = '''shippo_(live|test)_[a-f0-9]{40}'''
keywords = [
"shippo_",
]
[[rules]]
id = "Linkedin Client secret"
description = "Linkedin Client secret"
regex = '''(?i)(linkedin[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([a-z]{16})['\"]'''
secretGroup = 3
keywords = [
"linkedin",
]
[[rules]]
id = "Linkedin Client ID"
description = "Linkedin Client ID"
regex = '''(?i)(linkedin[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([a-z0-9]{14})['\"]'''
secretGroup = 3
keywords = [
"linkedin",
]
[[rules]]
id = "Twitch API token"
description = "Twitch API token"
regex = '''(?i)(twitch[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([a-z0-9]{30})['\"]'''
secretGroup = 3
keywords = [
"twitch",
]
[[rules]]
id = "Typeform API token"
description = "Typeform API token"
regex = '''(?i)(typeform[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}(tfp_[a-z0-9\-_\.=]{59})'''
secretGroup = 3
keywords = [
"typeform",
]