-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathrules.js
More file actions
1073 lines (1072 loc) · 33.6 KB
/
rules.js
File metadata and controls
1073 lines (1072 loc) · 33.6 KB
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
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Rules partially based on https://github.com/gitleaks/gitleaks/blob/master/config/gitleaks.toml
export const secretRules = [
{
id: "1password-secret-key",
description:
"Uncovered a possible 1Password secret key, potentially compromising access to secrets in vaults.",
regex:
/\bA3-[A-Z0-9]{6}-(?:(?:[A-Z0-9]{11})|(?:[A-Z0-9]{6}-[A-Z0-9]{5}))-[A-Z0-9]{5}-[A-Z0-9]{5}-[A-Z0-9]{5}\b/g,
entropy: 3.8,
group: 0,
},
{
id: "1password-service-account-token",
description:
"Uncovered a possible 1Password service account token, potentially compromising access to secrets in vaults.",
regex: /\bops_eyJ[a-zA-Z0-9+\/]{250,}={0,3}/g,
entropy: 4,
group: 0,
},
{
id: "adafruit-api-key",
description:
"Identified a potential Adafruit API Key, which could lead to unauthorized access to Adafruit services and sensitive data exposure.",
regex:
/[\w.-]{0,50}?(?:adafruit)(?:[ \t\w.-]{0,20})[\s'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60'"\s=]{0,5}([a-z0-9_-]{32})(?:[\x60'"\s;]|[\n\r]|$)/gi,
group: 1,
},
{
id: "adobe-client-id",
description:
"Detected a pattern that resembles an Adobe OAuth Web Client ID, posing a risk of compromised Adobe integrations and data breaches.",
regex:
/[\w.-]{0,50}?(?:adobe)(?:[ \t\w.-]{0,20})[\s'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60'"\s=]{0,5}([a-f0-9]{32})(?:[\x60'"\s;]|[\n\r]|$)/gi,
entropy: 2,
group: 1,
},
{
id: "adobe-client-secret",
description:
"Discovered a potential Adobe Client Secret, which, if exposed, could allow unauthorized Adobe service access and data manipulation.",
regex: /\b(p8e-[a-z0-9]{32})(?:[\x60'"\s;]|[\n\r]|$)/gi,
entropy: 2,
group: 1,
},
{
id: "age-secret-key",
description:
"Discovered a potential Age encryption tool secret key, risking data decryption and unauthorized access to sensitive information.",
regex: /\bAGE-SECRET-KEY-1[QPZRY9X8GF2TVDW0S3JN54KHCE6MUA7L]{58}\b/g,
group: 0,
},
{
id: "airtable-api-key",
description:
"Uncovered a possible Airtable API Key, potentially compromising database access and leading to data leakage or alteration.",
regex:
/[\w.-]{0,50}?(?:airtable)(?:[ \t\w.-]{0,20})[\s'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60'"\s=]{0,5}([a-z0-9]{17})(?:[\x60'"\s;]|[\n\r]|$)/gi,
group: 1,
},
{
id: "algolia-api-key",
description:
"Identified an Algolia API Key, which could result in unauthorized search operations and data exposure on Algolia-managed platforms.",
regex:
/[\w.-]{0,50}?(?:algolia)(?:[ \t\w.-]{0,20})[\s'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60'"\s=]{0,5}([a-z0-9]{32})(?:[\x60'"\s;]|[\n\r]|$)/gi,
group: 1,
},
{
id: "alibaba-access-key-id",
description:
"Detected an Alibaba Cloud AccessKey ID, posing a risk of unauthorized cloud resource access and potential data compromise.",
regex: /\b(LTAI[a-z0-9]{20})\b/gi,
entropy: 2,
group: 1,
},
{
id: "alibaba-secret-key",
description:
"Discovered a potential Alibaba Cloud Secret Key, potentially allowing unauthorized operations and data access within Alibaba Cloud.",
regex:
/[\w.-]{0,50}?(?:alibaba)(?:[ \t\w.-]{0,20})[\s'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60'"\s=]{0,5}([a-z0-9]{30})(?:[\x60'"\s;]|[\n\r]|$)/gi,
entropy: 2,
group: 1,
},
{
id: "anthropic-admin-api-key",
description:
"Detected an Anthropic Admin API Key, risking unauthorized access to administrative functions and sensitive AI model configurations.",
regex: /\b(sk-ant-admin01-[a-zA-Z0-9_\-]{93}AA)\b/g,
group: 1,
},
{
id: "anthropic-api-key",
description:
"Identified an Anthropic API Key, which may compromise AI assistant integrations and expose sensitive data to unauthorized access.",
regex: /\b(sk-ant-api03-[a-zA-Z0-9_\-]{93}AA)\b/g,
group: 1,
},
{
id: "artifactory-api-key",
description:
"Detected an Artifactory api key, posing a risk unauthorized access to the central repository.",
regex: /\bAKCp[A-Za-z0-9]{69}\b/g,
entropy: 4.5,
group: 0,
},
{
id: "artifactory-reference-token",
description:
"Detected an Artifactory reference token, posing a risk of impersonation and unauthorized access to the central repository.",
regex: /\bcmVmd[A-Za-z0-9]{59}\b/g,
entropy: 4.5,
group: 0,
},
{
id: "asana-client-id",
description:
"Discovered a potential Asana Client ID, risking unauthorized access to Asana projects and sensitive task information.",
regex:
/[\w.-]{0,50}?(?:asana)(?:[ \t\w.-]{0,20})[\s'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60'"\s=]{0,5}([0-9]{16})(?:[\x60'"\s;]|[\n\r]|$)/gi,
group: 1,
},
{
id: "asana-client-secret",
description:
"Identified an Asana Client Secret, which could lead to compromised project management integrity and unauthorized access.",
regex:
/[\w.-]{0,50}?(?:asana)(?:[ \t\w.-]{0,20})[\s'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60'"\s=]{0,5}([a-z0-9]{32})(?:[\x60'"\s;]|[\n\r]|$)/gi,
group: 1,
},
{
id: "atlassian-api-token",
description:
"Detected an Atlassian API token, posing a threat to project management and collaboration tool security and data confidentiality.",
regex:
/[\w.-]{0,50}?(?:atlassian|confluence|jira)(?:[ \t\w.-]{0,20})[\s'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60'"\s=]{0,5}([a-z0-9]{20}[a-f0-9]{4})(?:[\x60'"\s;]|[\n\r]|$)|(\bATATT3[A-Za-z0-9_\-=]{186}\b)/gi,
entropy: 3.5,
group: 0,
},
{
id: "authress-service-client-access-key",
description:
"Uncovered a possible Authress Service Client Access Key, which may compromise access control services and sensitive data.",
regex:
/\b((?:sc|ext|scauth|authress)_[a-zA-Z0-9]{5,30}\.[a-z0-9]{4,6}\.acc[_-][a-z0-9-]{10,32}\.[a-z0-9+\/_=-]{30,120})\b/g,
entropy: 2,
group: 1,
},
{
id: "aws-access-token",
description:
"Identified a pattern that may indicate AWS credentials, risking unauthorized cloud resource access and data breaches on AWS platforms.",
regex: /\b((?:A3T[A-Z0-9]|AKIA|ASIA|ABIA|ACCA)[A-Z2-7]{16})\b/g,
entropy: 3,
group: 1,
},
{
id: "azure-ad-client-secret",
description: "Azure AD Client Secret",
regex:
/(?:^|['"`\s>=:(,])([a-zA-Z0-9_~.]{3}\dQ~[a-zA-Z0-9_~.-]{31,34})(?:$|['"`\s<),])/g,
entropy: 3,
group: 1,
},
{
id: "beamer-api-token",
description:
"Detected a Beamer API token, potentially compromising content management and exposing sensitive notifications and updates.",
regex:
/[\w.-]{0,50}?(?:beamer)(?:[ \t\w.-]{0,20})[\s'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60'"\s=]{0,5}(b_[a-z0-9=_\-]{44})(?:[\x60'"\s;]|[\n\r]|$)/gi,
group: 1,
},
{
id: "bitbucket-client-id",
description:
"Discovered a potential Bitbucket Client ID, risking unauthorized repository access and potential codebase exposure.",
regex:
/[\w.-]{0,50}?(?:bitbucket)(?:[ \t\w.-]{0,20})[\s'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60'"\s=]{0,5}([a-z0-9]{32})(?:[\x60'"\s;]|[\n\r]|$)/gi,
group: 1,
},
{
id: "bitbucket-client-secret",
description:
"Discovered a potential Bitbucket Client Secret, posing a risk of compromised code repositories and unauthorized access.",
regex:
/[\w.-]{0,50}?(?:bitbucket)(?:[ \t\w.-]{0,20})[\s'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60'"\s=]{0,5}([a-z0-9=_\-]{64})(?:[\x60'"\s;]|[\n\r]|$)/gi,
group: 1,
},
{
id: "cisco-meraki-api-key",
description:
"Cisco Meraki is a cloud-managed IT solution that provides networking, security, and device management through an easy-to-use interface.",
regex:
/[\w.-]{0,50}?(?:meraki)(?:[ \t\w.-]{0,20})[\s'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60'"\s=]{0,5}([0-9a-f]{40})(?:[\x60'"\s;]|[\n\r]|$)/gi,
entropy: 3,
group: 1,
},
{
id: "clickhouse-cloud-api-secret-key",
description:
"Identified a pattern that may indicate clickhouse cloud API secret key, risking unauthorized clickhouse cloud api access and data breaches on ClickHouse Cloud platforms.",
regex: /\b(4b1d[A-Za-z0-9]{38})\b/g,
entropy: 3,
group: 1,
},
{
id: "clojars-api-token",
description:
"Uncovered a possible Clojars API token, risking unauthorized access to Clojure libraries and potential code manipulation.",
regex: /\bCLOJARS_[a-z0-9]{60}\b/gi,
entropy: 2,
group: 0,
},
{
id: "cloudflare-origin-ca-key",
description:
"Detected a Cloudflare Origin CA Key, potentially compromising cloud application deployments and operational security.",
regex: /\b(v1\.0-[a-f0-9]{24}-[a-f0-9]{146})\b/g,
entropy: 2,
group: 1,
},
{
id: "databricks-api-token",
description:
"Uncovered a Databricks API token, which may compromise big data analytics platforms and sensitive data processing.",
regex: /\b(dapi[a-f0-9]{32}(?:-\d)?)\b/g,
entropy: 3,
group: 1,
},
{
id: "digitalocean-access-token",
description:
"Found a DigitalOcean OAuth Access Token, risking unauthorized cloud resource access and data compromise.",
regex: /\b(doo_v1_[a-f0-9]{64})\b/g,
entropy: 3,
group: 1,
},
{
id: "digitalocean-pat",
description:
"Discovered a DigitalOcean Personal Access Token, posing a threat to cloud infrastructure security and data privacy.",
regex: /\b(dop_v1_[a-f0-9]{64})\b/g,
entropy: 3,
group: 1,
},
{
id: "digitalocean-refresh-token",
description:
"Uncovered a DigitalOcean OAuth Refresh Token, which could allow prolonged unauthorized access and resource manipulation.",
regex: /\b(dor_v1_[a-f0-9]{64})\b/gi,
group: 1,
},
{
id: "doppler-api-token",
description:
"Discovered a Doppler API token, posing a risk to environment and secrets management security.",
regex: /\bdp\.pt\.[a-z0-9]{43}\b/gi,
entropy: 2,
group: 0,
},
{
id: "dropbox-short-lived-api-token",
description:
"Discovered a Dropbox short-lived API token, posing a risk of temporary but potentially harmful data access and manipulation.",
regex:
/[\w.-]{0,50}?(?:dropbox)(?:[ \t\w.-]{0,20})[\s'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60'"\s=]{0,5}(sl\.[a-z0-9\-=_]{135})(?:[\x60'"\s;]|[\n\r]|$)/gi,
group: 1,
},
{
id: "duffel-api-token",
description:
"Uncovered a Duffel API token, which may compromise travel platform integrations and sensitive customer data.",
regex: /\bduffel_(?:test|live)_[a-z0-9_\-=]{43}\b/gi,
entropy: 2,
group: 0,
},
{
id: "dynatrace-api-token",
description:
"Detected a Dynatrace API token, potentially risking application performance monitoring and data exposure.",
regex: /\bdt0c01\.[a-z0-9]{24}\.[a-z0-9]{64}\b/gi,
entropy: 4,
group: 0,
},
{
id: "easypost-api-token",
description:
"Identified an EasyPost API token, which could lead to unauthorized postal and shipment service access and data exposure.",
regex: /\bEZAK[a-z0-9]{54}\b/gi,
entropy: 2,
group: 0,
},
{
id: "easypost-test-api-token",
description:
"Detected an EasyPost test API token, risking exposure of test environments and potentially sensitive shipment data.",
regex: /\bEZTK[a-z0-9]{54}\b/gi,
entropy: 2,
group: 0,
},
{
id: "facebook-access-token",
description:
"Discovered a Facebook Access Token, posing a risk of unauthorized access to Facebook accounts and personal data exposure.",
regex: /\b(\d{15,16}(?:\||%)[0-9a-z\-_]{27,40})\b/gi,
entropy: 3,
group: 1,
},
{
id: "facebook-page-access-token",
description:
"Discovered a Facebook Page Access Token, posing a risk of unauthorized access to Facebook accounts and personal data exposure.",
regex: /\b(EAA[MC][a-z0-9]{100,})\b/gi,
entropy: 4,
group: 1,
},
{
id: "flyio-access-token",
description: "Uncovered a Fly.io API key",
regex:
/\b(fo1_[\w-]{43}|fm1[ar]_[a-zA-Z0-9+\/]{100,}={0,3}|fm2_[a-zA-Z0-9+\/]{100,}={0,3})\b/g,
entropy: 4,
group: 1,
},
{
id: "frameio-api-token",
description:
"Found a Frame.io API token, potentially compromising video collaboration and project management.",
regex: /\bfio-u-[a-z0-9\-_=]{64}\b/gi,
group: 0,
},
{
id: "gcp-api-key",
description:
"Uncovered a GCP API key, which could lead to unauthorized access to Google Cloud services and data breaches.",
regex: /\b(AIza[\w-]{35})\b/g,
entropy: 4,
group: 1,
},
{
id: "generic-api-key",
description:
"Detected a Generic API Key, potentially exposing access to various services and sensitive operations.",
regex:
/[\w.-]{0,50}?(?:access|auth|api|credential|creds|passw(?:or)?d|secret|token)(?:[ \t\w.-]{0,20})[\s'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60'"\s=]{0,5}([\w.=-]{10,150}|[a-z0-9][a-z0-9+\/]{11,}={0,3})(?:[\x60'"\s;&<>,]|[\n\r]|$)/gi,
entropy: 4.3,
group: 1,
},
{
id: "github-app-token",
description:
"Identified a GitHub App Token, which may compromise GitHub application integrations and source code security.",
regex: /\b(ghu|ghs)_[0-9a-zA-Z]{36}\b/g,
entropy: 3,
group: 0,
},
{
id: "github-fine-grained-pat",
description:
"Found a GitHub Fine-Grained Personal Access Token, risking unauthorized repository access and code manipulation.",
regex: /\bgithub_pat_\w{82}\b/g,
entropy: 3,
group: 0,
},
{
id: "github-oauth",
description:
"Discovered a GitHub OAuth Access Token, posing a risk of compromised GitHub account integrations and data leaks.",
regex: /\bgho_[0-9a-zA-Z]{36}\b/g,
entropy: 3,
group: 0,
},
{
id: "github-pat",
description:
"Uncovered a GitHub Personal Access Token, potentially leading to unauthorized repository access and sensitive content exposure.",
regex: /\bghp_[0-9a-zA-Z]{36}\b/g,
entropy: 3,
group: 0,
},
{
id: "github-refresh-token",
description:
"Detected a GitHub Refresh Token, which could allow prolonged unauthorized access to GitHub services.",
regex: /\bghr_[0-9a-zA-Z]{36}\b/g,
entropy: 3,
group: 0,
},
{
id: "gitlab-cicd-job-token",
description:
"Identified a GitLab CI/CD Job Token, potential access to projects and some APIs on behalf of a user while the CI job is running.",
regex: /\bglcbt-[0-9a-zA-Z]{1,5}_[0-9a-zA-Z_-]{20}\b/g,
entropy: 3,
group: 0,
},
{
id: "gitlab-deploy-token",
description:
"Identified a GitLab Deploy Token, risking access to repositories, packages and containers with write access.",
regex: /\bgldt-[0-9a-zA-Z_\-]{20}\b/g,
entropy: 3,
group: 0,
},
{
id: "gitlab-feature-flag-client-token",
description:
"Identified a GitLab feature flag client token, risks exposing user lists and features flags used by an application.",
regex: /\bglffct-[0-9a-zA-Z_\-]{20}\b/g,
entropy: 3,
group: 0,
},
{
id: "gitlab-feed-token",
description:
"Identified a GitLab feed token, risking exposure of user data.",
regex: /\bglft-[0-9a-zA-Z_\-]{20}\b/g,
entropy: 3,
group: 0,
},
{
id: "gitlab-incoming-mail-token",
description:
"Identified a GitLab incoming mail token, risking manipulation of data sent by mail.",
regex: /\bglimt-[0-9a-zA-Z_\-]{25}\b/g,
entropy: 3,
group: 0,
},
{
id: "gitlab-kubernetes-agent-token",
description:
"Identified a GitLab Kubernetes Agent token, risking access to repos and registry of projects connected via agent.",
regex: /\bglagent-[0-9a-zA-Z_\-]{50}\b/g,
entropy: 3,
group: 0,
},
{
id: "gitlab-oauth-app-secret",
description:
"Identified a GitLab OIDC Application Secret, risking access to apps using GitLab as authentication provider.",
regex: /\bgloas-[0-9a-zA-Z_\-]{64}\b/g,
entropy: 3,
group: 0,
},
{
id: "gitlab-pat",
description:
"Identified a GitLab Personal Access Token, risking unauthorized access to GitLab repositories and codebase exposure.",
regex: /\bglpat-[\w-]{20}\b/g,
entropy: 3,
group: 0,
},
{
id: "gitlab-pat-routable",
description:
"Identified a GitLab Personal Access Token (routable), risking unauthorized access to GitLab repositories and codebase exposure.",
regex: /\bglpat-[0-9a-zA-Z_-]{27,300}\.[0-9a-z]{2}[0-9a-z]{7}\b/g,
entropy: 4,
group: 0,
},
{
id: "gitlab-ptt",
description:
"Found a GitLab Pipeline Trigger Token, potentially compromising continuous integration workflows and project security.",
regex: /\bglptt-[0-9a-f]{40}\b/g,
entropy: 3,
group: 0,
},
{
id: "gitlab-rrt",
description:
"Discovered a GitLab Runner Registration Token, posing a risk to CI/CD pipeline integrity and unauthorized access.",
regex: /\bGR1348941[\w-]{20}\b/g,
entropy: 3,
group: 0,
},
{
id: "gitlab-runner-authentication-token",
description:
"Discovered a GitLab Runner Authentication Token, posing a risk to CI/CD pipeline integrity and unauthorized access.",
regex: /\bglrt-[0-9a-zA-Z_\-]{20}\b/g,
entropy: 3,
group: 0,
},
{
id: "gitlab-runner-authentication-token-routable",
description:
"Discovered a GitLab Runner Authentication Token (Routable), posing a risk to CI/CD pipeline integrity and unauthorized access.",
regex: /\bglrt-t\d_[0-9a-zA-Z_\-]{27,300}\.[0-9a-z]{2}[0-9a-z]{7}\b/g,
entropy: 4,
group: 0,
},
{
id: "gitlab-scim-token",
description:
"Discovered a GitLab SCIM Token, posing a risk to unauthorized access for a organization or instance.",
regex: /\bglsoat-[0-9a-zA-Z_\-]{20}\b/g,
entropy: 3,
group: 0,
},
{
id: "gitlab-session-cookie",
description:
"Discovered a GitLab Session Cookie, posing a risk to unauthorized access to a user account.",
regex: /_gitlab_session=[0-9a-z]{32}/g,
entropy: 3,
group: 0,
},
{
id: "grafana-api-key",
description:
"Identified a Grafana API key, which could compromise monitoring dashboards and sensitive data analytics.",
regex: /\b(eyJrIjoi[A-Za-z0-9]{30,400}={0,3})/gi,
entropy: 3,
group: 1,
},
{
id: "grafana-cloud-api-token",
description:
"Found a Grafana cloud API token, risking unauthorized access to cloud-based monitoring services and data exposure.",
regex: /\b(glc_[A-Za-z0-9+\/]{32,400}={0,3})\b/gi,
entropy: 3,
group: 1,
},
{
id: "grafana-service-account-token",
description:
"Discovered a Grafana service account token, posing a risk of compromised monitoring services and data integrity.",
regex: /\b(glsa_[A-Za-z0-9]{32}_[A-Fa-f0-9]{8})\b/gi,
entropy: 3,
group: 1,
},
{
id: "harness-api-key",
description:
"Identified a Harness Access Token (PAT or SAT), risking unauthorized access to a Harness account.",
regex:
/\b(?:pat|sat)\.[a-zA-Z0-9_-]{22}\.[a-zA-Z0-9]{24}\.[a-zA-Z0-9]{20}\b/g,
group: 0,
},
{
id: "hashicorp-tf-api-token",
description:
"Uncovered a HashiCorp Terraform user/org API token, which may lead to unauthorized infrastructure management and security breaches.",
regex: /\b[a-zA-Z0-9]{14}\.atlasv1\.[a-z0-9\-_=]{60,70}\b/g,
entropy: 3.5,
group: 0,
},
{
id: "heroku-api-key-v2",
description:
"Detected a Heroku API Key, potentially compromising cloud application deployments and operational security.",
regex: /\b(HRKU-AA[0-9a-zA-Z_-]{58})\b/g,
entropy: 4,
group: 1,
},
{
id: "huggingface-access-token",
description:
"Discovered a Hugging Face Access token, which could lead to unauthorized access to AI models and sensitive data.",
regex: /\b(hf_[a-z]{34})\b/gi,
entropy: 2,
group: 1,
},
{
id: "huggingface-organization-api-token",
description:
"Uncovered a Hugging Face Organization API token, potentially compromising AI organization accounts and associated data.",
regex: /\b(api_org_[a-z]{34})\b/gi,
entropy: 2,
group: 1,
},
{
id: "infracost-api-token",
description:
"Detected an Infracost API Token, risking unauthorized access to cloud cost estimation tools and financial data.",
regex: /\b(ico-[a-zA-Z0-9]{32})\b/g,
entropy: 3,
group: 1,
},
{
id: "intra42-client-secret",
description:
"Found a Intra42 client secret, which could lead to unauthorized access to the 42School API and sensitive data.",
regex: /\b(s-s4t2(?:ud|af)-[abcdef0123456789]{64})\b/gi,
entropy: 3,
group: 1,
},
{
id: "jwt",
description:
"Uncovered a JSON Web Token, which may lead to unauthorized access to web applications and sensitive user data.",
regex:
/\b(ey[a-zA-Z0-9]{17,}\.ey[a-zA-Z0-9\/\\_-]{17,}\.(?:[a-zA-Z0-9\/\\_-]{10,}={0,2})?)\b/g,
entropy: 3,
group: 1,
},
{
id: "linear-api-key",
description:
"Detected a Linear API Token, posing a risk to project management tools and sensitive task data.",
regex: /\blin_api_[a-z0-9]{40}\b/gi,
entropy: 2,
group: 0,
},
{
id: "maxmind-license-key",
description: "Discovered a potential MaxMind license key.",
regex: /\b([A-Za-z0-9]{6}_[A-Za-z0-9]{29}_mmk)\b/g,
entropy: 4,
group: 1,
},
{
id: "microsoft-teams-webhook",
description:
"Uncovered a Microsoft Teams Webhook, which could lead to unauthorized access to team collaboration tools and data leaks.",
regex: /(https:\/\/hooks\.office\.com\/webhookb2\/[a-zA-Z0-9@-]+)/g,
group: 1,
},
{
id: "notion-api-token",
description: "Notion API token",
regex: /\b(ntn_[0-9]{11}[A-Za-z0-9]{32}[A-Za-z0-9]{3})\b/g,
entropy: 4,
group: 1,
},
{
id: "npm-access-token",
description:
"Uncovered an npm access token, potentially compromising package management and code repository access.",
regex: /\b(npm_[a-z0-9]{36})\b/gi,
entropy: 2,
group: 1,
},
{
id: "octopus-deploy-api-key",
description:
"Discovered a potential Octopus Deploy API key, risking application deployments and operational security.",
regex: /\b(API-[A-Z0-9]{26})\b/g,
entropy: 3,
group: 1,
},
{
id: "okta-access-token",
description:
"Identified an Okta Access Token, which may compromise identity management services and user authentication data.",
regex:
/[\w.-]{0,50}?(?:okta)(?:[ \t\w.-]{0,20})[\s'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60'"\s=]{0,5}(00[\w=\-]{40})(?:[\x60'"\s;]|[\n\r]|$)/gi,
entropy: 4,
group: 1,
},
{
id: "openai-api-key",
description:
"Found an OpenAI API Key, posing a risk of unauthorized access to AI services and data manipulation.",
regex:
/\b(sk-(?:proj|svcacct|admin)-(?:[A-Za-z0-9_-]{74}|[A-Za-z0-9_-]{58})T3BlbkFJ(?:[A-Za-z0-9_-]{74}|[A-Za-z0-9_-]{58})|sk-[a-zA-Z0-9]{20}T3BlbkFJ[a-zA-Z0-9]{20})\b/g,
entropy: 3,
group: 1,
},
{
id: "openshift-user-token",
description:
"Found an OpenShift user token, potentially compromising an OpenShift/Kubernetes cluster.",
regex: /\b(sha256~[\w-]{43})\b/g,
entropy: 3.5,
group: 1,
},
{
id: "perplexity-api-key",
description:
"Detected a Perplexity API key, which could lead to unauthorized access to Perplexity AI services and data exposure.",
regex: /\b(pplx-[a-zA-Z0-9]{48})\b/g,
entropy: 4,
group: 1,
},
{
id: "planetscale-api-token",
description:
"Identified a PlanetScale API token, potentially compromising database management and operations.",
regex: /\b(pscale_tkn_[\w=\.-]{32,64})\b/gi,
entropy: 3,
group: 1,
},
{
id: "planetscale-oauth-token",
description:
"Found a PlanetScale OAuth token, posing a risk to database access control and sensitive data integrity.",
regex: /\b(pscale_oauth_[\w=\.-]{32,64})\b/gi,
entropy: 3,
group: 1,
},
{
id: "planetscale-password",
description:
"Discovered a PlanetScale password, which could lead to unauthorized database operations and data breaches.",
regex: /\b(pscale_pw_[\w=\.-]{32,64})\b/gi,
entropy: 3,
group: 1,
},
{
id: "postman-api-token",
description:
"Uncovered a Postman API token, potentially compromising API testing and development workflows.",
regex: /\b(PMAK-[a-f0-9]{24}\-[a-f0-9]{34})\b/gi,
entropy: 3,
group: 1,
},
{
id: "prefect-api-token",
description:
"Detected a Prefect API token, risking unauthorized access to workflow management and automation services.",
regex: /\b(pnu_[a-zA-Z0-9]{36})\b/g,
entropy: 2,
group: 1,
},
{
id: "private-key",
description:
"Identified a Private Key, which may compromise cryptographic security and sensitive data encryption.",
regex:
/-----BEGIN[ A-Z0-9_-]{0,100}PRIVATE KEY(?: BLOCK)?-----[\s\S-]{64,}?KEY(?: BLOCK)?-----/gi,
group: 0,
},
{
id: "pulumi-api-token",
description:
"Found a Pulumi API token, posing a risk to infrastructure as code services and cloud resource management.",
regex: /\b(pul-[a-f0-9]{40})\b/g,
entropy: 2,
group: 1,
},
{
id: "pypi-upload-token",
description:
"Discovered a PyPI upload token, potentially compromising Python package distribution and repository integrity.",
regex: /\bpypi-AgEIcHlwaS5vcmc[\w-]{50,1000}\b/g,
entropy: 3,
group: 0,
},
{
id: "readme-api-token",
description:
"Detected a Readme API token, risking unauthorized documentation management and content exposure.",
regex: /\b(rdme_[a-z0-9]{70})\b/g,
entropy: 2,
group: 1,
},
{
id: "rubygems-api-token",
description:
"Identified a Rubygem API token, potentially compromising Ruby library distribution and package management.",
regex: /\b(rubygems_[a-f0-9]{48})\b/g,
entropy: 2,
group: 1,
},
{
id: "scalingo-api-token",
description:
"Found a Scalingo API token, posing a risk to cloud platform services and application deployment security.",
regex: /\b(tk-us-[\w-]{48})\b/g,
entropy: 2,
group: 1,
},
{
id: "sendgrid-api-token",
description:
"Detected a SendGrid API token, posing a risk of unauthorized email service operations and data exposure.",
regex: /\b(SG\.[a-z0-9=_\-\.]{66})\b/gi,
entropy: 2,
group: 1,
},
{
id: "sendinblue-api-token",
description:
"Identified a Sendinblue API token, which may compromise email marketing services and subscriber data privacy.",
regex: /\b(xkeysib-[a-f0-9]{64}\-[a-z0-9]{16})\b/gi,
entropy: 2,
group: 1,
},
{
id: "sentry-access-token",
description:
"Found a Sentry.io Access Token (old format), risking unauthorized access to error tracking services and sensitive application data.",
regex:
/[\w.-]{0,50}?(?:sentry)(?:[ \t\w.-]{0,20})[\s'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60'"\s=]{0,5}([a-f0-9]{64})(?:[\x60'"\s;]|[\n\r]|$)/gi,
entropy: 3,
group: 1,
},
{
id: "sentry-org-token",
description:
"Found a Sentry.io Organization Token, risking unauthorized access to error tracking services and sensitive application data.",
regex:
/\bsntrys_eyJpYXQiO[a-zA-Z0-9+\/]{10,200}(?:LCJyZWdpb25fdXJs|InJlZ2lvbl91cmwi|cmVnaW9uX3VybCI6)[a-zA-Z0-9+\/]{10,200}={0,2}_[a-zA-Z0-9+\/]{43}(?:[^a-zA-Z0-9+\/]|$)/g,
entropy: 4.5,
group: 0,
},
{
id: "sentry-user-token",
description:
"Found a Sentry.io User Token, risking unauthorized access to error tracking services and sensitive application data.",
regex: /\b(sntryu_[a-f0-9]{64})\b/g,
entropy: 3.5,
group: 1,
},
{
id: "settlemint-application-access-token",
description: "Found a Settlemint Application Access Token.",
regex: /\b(sm_aat_[a-zA-Z0-9]{16})\b/g,
entropy: 3,
group: 1,
},
{
id: "settlemint-personal-access-token",
description: "Found a Settlemint Personal Access Token.",
regex: /\b(sm_pat_[a-zA-Z0-9]{16})\b/g,
entropy: 3,
group: 1,
},
{
id: "settlemint-service-access-token",
description: "Found a Settlemint Service Access Token.",
regex: /\b(sm_sat_[a-zA-Z0-9]{16})\b/g,
entropy: 3,
group: 1,
},
{
id: "shippo-api-token",
description:
"Discovered a Shippo API token, potentially compromising shipping services and customer order data.",
regex: /\b(shippo_(?:live|test)_[a-fA-F0-9]{40})\b/g,
entropy: 2,
group: 1,
},
{
id: "shopify-access-token",
description:
"Uncovered a Shopify access token, which could lead to unauthorized e-commerce platform access and data breaches.",
regex: /\bshpat_[a-fA-F0-9]{32}\b/g,
entropy: 2,
group: 0,
},
{
id: "shopify-custom-access-token",
description:
"Detected a Shopify custom access token, potentially compromising custom app integrations and e-commerce data security.",
regex: /\bshpca_[a-fA-F0-9]{32}\b/g,
entropy: 2,
group: 0,
},
{
id: "shopify-private-app-access-token",
description:
"Identified a Shopify private app access token, risking unauthorized access to private app data and store operations.",
regex: /\bshppa_[a-fA-F0-9]{32}\b/g,
entropy: 2,
group: 0,
},
{
id: "shopify-shared-secret",
description:
"Found a Shopify shared secret, posing a risk to application authentication and e-commerce platform security.",
regex: /\bshpss_[a-fA-F0-9]{32}\b/g,
entropy: 2,
group: 0,
},
{
id: "sidekiq-sensitive-url",
description:
"Uncovered a Sidekiq Sensitive URL, potentially exposing internal job queues and sensitive operation details.",
regex:
/https?:\/\/([a-f0-9]{8}:[a-f0-9]{8})@(?:gems.contribsys.com|enterprise.contribsys.com)(?:[\/|#|\?|:]|$)/gi,
group: 1,
},
{
id: "slack-app-token",
description:
"Detected a Slack App-level token, risking unauthorized access to Slack applications and workspace data.",
regex: /\bxapp-\d-[A-Z0-9]+-\d+-[a-z0-9]+\b/gi,
entropy: 2,
group: 0,
},
{
id: "slack-bot-token",
description:
"Identified a Slack Bot token, which may compromise bot integrations and communication channel security.",
regex: /\bxoxb-[0-9]{10,13}-[0-9]{10,13}[a-zA-Z0-9-]*/g,
entropy: 3,
group: 0,
},
{
id: "slack-config-access-token",
description:
"Found a Slack Configuration access token, posing a risk to workspace configuration and sensitive data access.",
regex: /\bxoxe\.xox[bp]-\d-[A-Z0-9]{163,166}\b/gi,
entropy: 2,
group: 0,
},
{
id: "slack-config-refresh-token",
description:
"Discovered a Slack Configuration refresh token, potentially allowing prolonged unauthorized access to configuration settings.",
regex: /\bxoxe-\d-[A-Z0-9]{146}\b/gi,
entropy: 2,
group: 0,
},
{
id: "slack-legacy-token",
description:
"Detected a Slack Legacy token, risking unauthorized access to older Slack integrations and user data.",
regex: /\bxox[os]-\d+-\d+-\d+-[a-fA-F\d]+\b/g,
entropy: 2,
group: 0,
},
{
id: "slack-webhook-url",
description:
"Discovered a Slack Webhook, which could lead to unauthorized message posting and data leakage in Slack channels.",
regex:
/https?:\/\/hooks.slack.com\/(?:services|workflows|triggers)\/[A-Za-z0-9+\/]{43,56}/g,
group: 0,
},
{
id: "sonar-api-token",
description:
"Uncovered a Sonar API token, potentially compromising software vulnerability scanning and code security.",
regex:
/[\w.-]{0,50}?(?:sonar[_.-]?(login|token))(?:[ \t\w.-]{0,20})[\s'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60'"\s=]{0,5}((?:squ_|sqp_|sqa_)?[a-z0-9=_\-]{40})(?:[\x60'"\s;]|[\n\r]|$)/gi,
group: 2,
},
{
id: "sourcegraph-access-token",
description: "Sourcegraph is a code search and navigation engine.",
regex:
/\b(sgp_(?:[a-fA-F0-9]{16}|local)_[a-fA-F0-9]{40}|sgp_[a-fA-F0-9]{40})\b/gi,
entropy: 3,
group: 1,
},
{
id: "square-access-token",
description:
"Detected a Square Access Token, risking unauthorized payment processing and financial transaction exposure.",
regex: /\b((?:EAAA|sq0atp-)[\w-]{22,60})\b/g,
entropy: 2,
group: 1,
},
{
id: "stripe-access-token",
description:
"Found a Stripe Access Token, posing a risk to payment processing services and sensitive financial data.",
regex: /\b((?:sk|rk)_(?:test|live|prod)_[a-zA-Z0-9]{10,99})\b/g,
entropy: 2,
group: 1,
},
{
id: "sumologic-access-id",
description:
"Discovered a SumoLogic Access ID, potentially compromising log management services and data analytics integrity.",
regex:
/[\w.-]{0,50}?(?:sumo)(?:[ \t\w.-]{0,20})[\s'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60'"\s=]{0,5}(su[a-zA-Z0-9]{12})(?:[\x60'"\s;]|[\n\r]|$)/gi,
entropy: 3,
group: 1,
},
{
id: "twilio-api-key",
description:
"Found a Twilio API Key, posing a risk to communication services and sensitive customer interaction data.",
regex: /\bSK[0-9a-fA-F]{32}\b/g,
entropy: 3,
group: 0,
},
{
id: "typeform-api-token",
description:
"Uncovered a Typeform API token, which could lead to unauthorized survey management and data collection.",
regex: /\b(tfp_[a-z0-9\-_\.=]{59})\b/gi,
group: 1,
},
{
id: "vault-batch-token",
description:
"Detected a Vault Batch Token, risking unauthorized access to secret management services and sensitive data.",
regex: /\b(hvb\.[\w-]{138,300})\b/g,
entropy: 4,
group: 1,
},
{
id: "vault-service-token",
description:
"Identified a Vault Service Token, potentially compromising infrastructure security and access to sensitive credentials.",
regex: /\b((?:hvs\.[\w-]{90,120}|s\.[a-zA-Z0-9]{24}))\b/g,
entropy: 4.3,
group: 1,
},
{
id: "azure-secret",
description: "Azure Secret",
regex: