Secrets/Rules/Gitleaks.pm

filter: Statementstmt 100% 7 / 7 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 100% 4 / 4 totaltotal 100% 16 / 16 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
gitleaks_tag
1.0
gitleaks_commit
1.0
CRAP 1.0
« Secrets/Rules/Dist.pm ↑ Summary
1 # Generated by scripts/update-rules from gitleaks' config/gitleaks.toml,
2 # at its tag v8.30.1, https://github.com/gitleaks/gitleaks; gitleaks_commit
3 # gives the commit. Don't edit it: run the script again. The rules are
4 # gitleaks', copyright (c) 2019 Zachary Rice, under the MIT licence in
5 # LICENSE-gitleaks. A string a rule would find a secret in is written in
6 # pieces, so that no line holds it.
7 5 ▶use v5.36;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 package Text::Redact::Secrets::Rules::Gitleaks;
10  
11 # The gitleaks tag the rules came from.
12 1 ▶sub gitleaks_tag () {
Subroutine gitleaks_tag: called CC=1 SCAR=0.0
Pod documented
13 1 return 'v8.30.1';
14 }
15  
16  
17 # The commit the tag points to.
18 1 ▶sub gitleaks_commit () {
Subroutine gitleaks_commit: called CC=1 SCAR=0.0
Pod documented
19 1 return '83d9cd684c87d95d656c' . '1458ef04895a7f1cbd8e';
20 }
21  
22  
23 # The allowlists that apply to every rule.
24 4 ▶sub global_allowlists () {
Subroutine global_allowlists: called CC=1 SCAR=0.0
Pod documented
25 return [{
26 4 'regexes' => [
27 '(?i)^true|false|null\z',
28 '^(?i:a+|b+|c+|d+|e+|f+|g+|h+|i+|j+|k+|l+|m+|n+|o+|p+|q+|r+|s+|t+|u+|v+|w+|x+|y+|z+|\*+|\.+)\z',
29 '^\$(?:\d+|{\d+})\z',
30 '^\$(?:[A-Z_]+|[a-z_]+)\z',
31 '^\${(?:[A-Z_]+|[a-z_]+)}\z',
32 '^\{\{[ \t]*[\w ().|]+[ \t]*}}\z',
33 '^\$\{\{[ \t]*(?:(?:env|github|secrets|vars)(?:\.[A-Za-z]\w+)+[\w "\'&./=|]*)[ \t]*}}\z',
34 '^%(?:[A-Z_]+|[a-z_]+)%\z',
35 '^%[+\-# 0]?[bcdeEfFgGoOpqstTUvxX]\z',
36 '^\{\d{0,2}}\z',
37 '^@(?:[A-Z_]+|[a-z_]+)@\z',
38 '^/Users/(?i)[a-z0-9]+/[\w .-/]+\z',
39 '^/(?:bin|etc|home|opt|tmp|usr|var)/[\w ./-]+\z',
40 ],
41 'stopwords' => [
42 '014df517-39d1-4453-b7b3-9930c563627c',
43 'abcdefghijklmnopqrstuvwxyz',
44 ],
45 }];
46 }
47  
48  
49 # The rules, in gitleaks' order.
50 4 ▶sub rules () {
Subroutine rules: called CC=1 SCAR=0.0
Pod documented
51 return [
52 {
53 4 'entropy' => '3.8',
54 'id' => '1password-secret-key',
55 'keywords' => [
56 'a3-',
57 ],
58 'regex' =>
59 '\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',
60 },
61 {
62 'entropy' => '4',
63 'id' => '1password-service-account-token',
64 'keywords' => [
65 'ops_',
66 ],
67 'regex' => 'ops_eyJ[a-zA-Z0-9+/]{250,}={0,3}',
68 },
69 {
70 'id' => 'adafruit-api-key',
71 'keywords' => [
72 'adafruit',
73 ],
74 'regex' =>
75 '(?i)[\w.-]{0,50}?(?:adafruit)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9_-]{32})(?:[\x60\'"\s;]|\\\[nr]|\z)',
76 },
77 {
78 'entropy' => '2',
79 'id' => 'adobe-client-id',
80 'keywords' => [
81 'adobe',
82 ],
83 'regex' =>
84 '(?i)[\w.-]{0,50}?(?:adobe)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-f0-9]{32})(?:[\x60\'"\s;]|\\\[nr]|\z)',
85 },
86 {
87 'entropy' => '2',
88 'id' => 'adobe-client-secret',
89 'keywords' => [
90 'p8e-',
91 ],
92 'regex' => '\b(p8e-(?i)[a-z0-9]{32})(?:[\x60\'"\s;]|\\\[nr]|\z)',
93 },
94 {
95 'id' => 'age-secret-key',
96 'keywords' => [
97 'age-secret-key-1',
98 ],
99 'regex' => 'AGE-SECRET-KEY-1[QPZRY9X8GF2TVDW0S3JN54KHCE6MUA7L]{58}',
100 },
101 {
102 'id' => 'airtable-api-key',
103 'keywords' => [
104 'airtable',
105 ],
106 'regex' =>
107 '(?i)[\w.-]{0,50}?(?:airtable)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9]{17})(?:[\x60\'"\s;]|\\\[nr]|\z)',
108 },
109 {
110 'id' => 'airtable-personnal-access-token',
111 'keywords' => [
112 'airtable',
113 ],
114 'regex' => '\b(pat[[:alnum:]]{14}\.[a-f0-9]{64})\b',
115 },
116 {
117 'id' => 'algolia-api-key',
118 'keywords' => [
119 'algolia',
120 ],
121 'regex' =>
122 '(?i)[\w.-]{0,50}?(?:algolia)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9]{32})(?:[\x60\'"\s;]|\\\[nr]|\z)',
123 },
124 {
125 'entropy' => '2',
126 'id' => 'alibaba-access-key-id',
127 'keywords' => [
128 'ltai',
129 ],
130 'regex' => '\b(LTAI(?i)[a-z0-9]{20})(?:[\x60\'"\s;]|\\\[nr]|\z)',
131 },
132 {
133 'entropy' => '2',
134 'id' => 'alibaba-secret-key',
135 'keywords' => [
136 'alibaba',
137 ],
138 'regex' =>
139 '(?i)[\w.-]{0,50}?(?:alibaba)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9]{30})(?:[\x60\'"\s;]|\\\[nr]|\z)',
140 },
141 {
142 'id' => 'anthropic-admin-api-key',
143 'keywords' => [
144 'sk-ant-admin01',
145 ],
146 'regex' =>
147 '\b(sk-ant-admin01-[a-zA-Z0-9_\-]{93}AA)(?:[\x60\'"\s;]|\\\[nr]|\z)',
148 },
149 {
150 'id' => 'anthropic-api-key',
151 'keywords' => [
152 'sk-ant-api03',
153 ],
154 'regex' =>
155 '\b(sk-ant-api03-[a-zA-Z0-9_\-]{93}AA)(?:[\x60\'"\s;]|\\\[nr]|\z)',
156 },
157 {
158 'entropy' => '4.5',
159 'id' => 'artifactory-api-key',
160 'keywords' => [
161 'akcp',
162 ],
163 'regex' => '\bAKCp[A-Za-z0-9]{69}\b',
164 },
165 {
166 'entropy' => '4.5',
167 'id' => 'artifactory-reference-token',
168 'keywords' => [
169 'cmvmd',
170 ],
171 'regex' => '\bcmVmd[A-Za-z0-9]{59}\b',
172 },
173 {
174 'id' => 'asana-client-id',
175 'keywords' => [
176 'asana',
177 ],
178 'regex' =>
179 '(?i)[\w.-]{0,50}?(?:asana)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([0-9]{16})(?:[\x60\'"\s;]|\\\[nr]|\z)',
180 },
181 {
182 'id' => 'asana-client-secret',
183 'keywords' => [
184 'asana',
185 ],
186 'regex' =>
187 '(?i)[\w.-]{0,50}?(?:asana)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9]{32})(?:[\x60\'"\s;]|\\\[nr]|\z)',
188 },
189 {
190 'entropy' => '3.5',
191 'id' => 'atlassian-api-token',
192 'keywords' => [
193 'atlassian',
194 'confluence',
195 'jira',
196 'atatt3',
197 ],
198 'regex' =>
199 '(?i)[\w.-]{0,50}?(?:(?-i:ATLASSIAN|[Aa]tlassian)|(?-i:CONFLUENCE|[Cc]onfluence)|(?-i:JIRA|[Jj]ira))(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9]{20}[a-f0-9]{4})(?:[\x60\'"\s;]|\\\[nr]|\z)|\b(ATATT3[A-Za-z0-9_\-=]{186})(?:[\x60\'"\s;]|\\\[nr]|\z)',
200 },
201 {
202 'entropy' => '2',
203 'id' => 'authress-service-client-access-key',
204 'keywords' => [
205 'sc_',
206 'ext_',
207 'scauth_',
208 'authress_',
209 ],
210 'regex' =>
211 '\b((?:sc|ext|scauth|authress)_(?i)[a-z0-9]{5,30}\.[a-z0-9]{4,6}\.(?-i:acc)[_-][a-z0-9-]{10,32}\.[a-z0-9+/_=-]{30,120})(?:[\x60\'"\s;]|\\\[nr]|\z)',
212 },
213 {
214 'allowlists' => [{
215 'regexes' => [
216 '.+EXAMPLE\z',
217 ],
218 }],
219 'entropy' => '3',
220 'id' => 'aws-access-token',
221 'keywords' => [
222 'a3t',
223 'akia',
224 'asia',
225 'abia',
226 'acca',
227 ],
228 'regex' => '\b((?:A3T[A-Z0-9]|AKIA|ASIA|ABIA|ACCA)[A-Z2-7]{16})\b',
229 },
230 {
231 'entropy' => '3',
232 'id' => 'aws-amazon-bedrock-api-key-long-lived',
233 'keywords' => [
234 'absk',
235 ],
236 'regex' =>
237 '\b(ABSK[A-Za-z0-9+/]{109,269}={0,2})(?:[\x60\'"\s;]|\\\[nr]|\z)',
238 },
239 {
240 'entropy' => '3',
241 'id' => 'aws-amazon-bedrock-api-key-short-lived',
242 'keywords' => [
243 'bedrock-api-key-',
244 ],
245 'regex' => 'bedrock-api-key-YmVkcm' . '9jay5hbWF6b25hd3MuY29t',
246 },
247 {
248 'entropy' => '3',
249 'id' => 'azure-ad-client-secret',
250 'keywords' => [
251 'q~',
252 ],
253 'regex' =>
254 '(?:^|[\\\\\'"\x60\s>=:(,)])([a-zA-Z0-9_~.]{3}\dQ~[a-zA-Z0-9_~.-]{31,34})(?:\z|[\\\\\'"\x60\s<),])',
255 },
256 {
257 'id' => 'beamer-api-token',
258 'keywords' => [
259 'beamer',
260 ],
261 'regex' =>
262 '(?i)[\w.-]{0,50}?(?:beamer)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}(b_[a-z0-9=_\-]{44})(?:[\x60\'"\s;]|\\\[nr]|\z)',
263 },
264 {
265 'id' => 'bitbucket-client-id',
266 'keywords' => [
267 'bitbucket',
268 ],
269 'regex' =>
270 '(?i)[\w.-]{0,50}?(?:bitbucket)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9]{32})(?:[\x60\'"\s;]|\\\[nr]|\z)',
271 },
272 {
273 'id' => 'bitbucket-client-secret',
274 'keywords' => [
275 'bitbucket',
276 ],
277 'regex' =>
278 '(?i)[\w.-]{0,50}?(?:bitbucket)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9=_\-]{64})(?:[\x60\'"\s;]|\\\[nr]|\z)',
279 },
280 {
281 'id' => 'bittrex-access-key',
282 'keywords' => [
283 'bittrex',
284 ],
285 'regex' =>
286 '(?i)[\w.-]{0,50}?(?:bittrex)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9]{32})(?:[\x60\'"\s;]|\\\[nr]|\z)',
287 },
288 {
289 'id' => 'bittrex-secret-key',
290 'keywords' => [
291 'bittrex',
292 ],
293 'regex' =>
294 '(?i)[\w.-]{0,50}?(?:bittrex)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9]{32})(?:[\x60\'"\s;]|\\\[nr]|\z)',
295 },
296 {
297 'entropy' => '3',
298 'id' => 'cisco-meraki-api-key',
299 'keywords' => [
300 'meraki',
301 ],
302 'regex' =>
303 '(?i:[\w.-]{0,100}?(?:(?-i:[Mm]eraki|MERAKI))(?:[ \t\w.-]{0,20})[\s\'"]{0,3})(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([0-9a-f]{40})(?:[\x60\'"\s;]|\\\[nr]|\z)',
304 },
305 {
306 'entropy' => '3',
307 'id' => 'clickhouse-cloud-api-secret-key',
308 'keywords' => [
309 '4b1d',
310 ],
311 'regex' => '\b(4b1d[A-Za-z0-9]{38})\b',
312 },
313 {
314 'entropy' => '2',
315 'id' => 'clojars-api-token',
316 'keywords' => [
317 'clojars_',
318 ],
319 'regex' => '(?i)CLOJARS_[a-z0-9]{60}',
320 },
321 {
322 'entropy' => '2',
323 'id' => 'cloudflare-api-key',
324 'keywords' => [
325 'cloudflare',
326 ],
327 'regex' =>
328 '(?i)[\w.-]{0,50}?(?:cloudflare)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9_-]{40})(?:[\x60\'"\s;]|\\\[nr]|\z)',
329 },
330 {
331 'entropy' => '2',
332 'id' => 'cloudflare-global-api-key',
333 'keywords' => [
334 'cloudflare',
335 ],
336 'regex' =>
337 '(?i)[\w.-]{0,50}?(?:cloudflare)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-f0-9]{37})(?:[\x60\'"\s;]|\\\[nr]|\z)',
338 },
339 {
340 'entropy' => '2',
341 'id' => 'cloudflare-origin-ca-key',
342 'keywords' => [
343 'cloudflare',
344 'v1.0-',
345 ],
346 'regex' =>
347 '\b(v1\.0-[a-f0-9]{24}-[a-f0-9]{146})(?:[\x60\'"\s;]|\\\[nr]|\z)',
348 },
349 {
350 'id' => 'codecov-access-token',
351 'keywords' => [
352 'codecov',
353 ],
354 'regex' =>
355 '(?i)[\w.-]{0,50}?(?:codecov)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9]{32})(?:[\x60\'"\s;]|\\\[nr]|\z)',
356 },
357 {
358 'entropy' => '4',
359 'id' => 'cohere-api-token',
360 'keywords' => [
361 'cohere',
362 'co_api_key',
363 ],
364 'regex' =>
365 '(?i:[\w.-]{0,100}?(?:cohere|CO_API_KEY)(?:[ \t\w.-]{0,20})[\s\'"]{0,3})(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-zA-Z0-9]{40})(?:[\x60\'"\s;]|\\\[nr]|\z)',
366 },
367 {
368 'id' => 'coinbase-access-token',
369 'keywords' => [
370 'coinbase',
371 ],
372 'regex' =>
373 '(?i)[\w.-]{0,50}?(?:coinbase)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9_-]{64})(?:[\x60\'"\s;]|\\\[nr]|\z)',
374 },
375 {
376 'id' => 'confluent-access-token',
377 'keywords' => [
378 'confluent',
379 ],
380 'regex' =>
381 '(?i)[\w.-]{0,50}?(?:confluent)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9]{16})(?:[\x60\'"\s;]|\\\[nr]|\z)',
382 },
383 {
384 'id' => 'confluent-secret-key',
385 'keywords' => [
386 'confluent',
387 ],
388 'regex' =>
389 '(?i)[\w.-]{0,50}?(?:confluent)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9]{64})(?:[\x60\'"\s;]|\\\[nr]|\z)',
390 },
391 {
392 'id' => 'contentful-delivery-api-token',
393 'keywords' => [
394 'contentful',
395 ],
396 'regex' =>
397 '(?i)[\w.-]{0,50}?(?:contentful)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9=_\-]{43})(?:[\x60\'"\s;]|\\\[nr]|\z)',
398 },
399 {
400 'entropy' => '2.75',
401 'id' => 'curl-auth-header',
402 'keywords' => [
403 'curl',
404 ],
405 'regex' =>
406 '\bcurl\b(?:.*?|.*?(?:[\r\n]{1,2}.*?){1,5})[ \t\n\r](?:-H|--header)(?:=|[ \t]{0,5})(?:"(?i)(?:Authorization:[ \t]{0,5}(?:Basic[ \t]([a-z0-9+/]{8,}={0,3})|(?:Bearer|(?:Api-)?Token)[ \t]([\w=~@.+/-]{8,})|([\w=~@.+/-]{8,}))|(?:(?:X-(?:[a-z]+-)?)?(?:Api-?)?(?:Key|Token)):[ \t]{0,5}([\w=~@.+/-]{8,}))"|\'(?i)(?:Authorization:[ \t]{0,5}(?:Basic[ \t]([a-z0-9+/]{8,}={0,3})|(?:Bearer|(?:Api-)?Token)[ \t]([\w=~@.+/-]{8,})|([\w=~@.+/-]{8,}))|(?:(?:X-(?:[a-z]+-)?)?(?:Api-?)?(?:Key|Token)):[ \t]{0,5}([\w=~@.+/-]{8,}))\')(?:\B|\s|\z)',
407 },
408 {
409 'allowlists' => [{
410 'regexes' => [
411 '[^:]+:(?:change(?:it|me)|pass(?:word)?|pwd|test|token|\*+|x+)',
412 '[\'"]?<[^>]+>[\'"]?:[\'"]?<[^>]+>|<[^:]+:[^>]+>[\'"]?',
413 '[^:]+:\[[^]]+]',
414 '[\'"]?[^:]+[\'"]?:[\'"]?\$(?:\d|\w+|\{(?:\d|\w+)})[\'"]?',
415 '\$\([^)]+\):\$\([^)]+\)',
416 '[\'"]?\$?{{[^}]+}}[\'"]?:[\'"]?\$?{{[^}]+}}[\'"]?',
417 ],
418 }],
419 'entropy' => '2',
420 'id' => 'curl-auth-user',
421 'keywords' => [
422 'curl',
423 ],
424 'regex' =>
425 '\bcurl\b(?:.*|.*(?:[\r\n]{1,2}.*){1,5})[ \t\n\r](?:-u|--user)(?:=|[ \t]{0,5})("(:[^"]{3,}|[^:"]{3,}:|[^:"]{3,}:[^"]{3,})"|\'([^:\']{3,}:[^\']{3,})\'|((?:"[^"]{3,}"|\'[^\']{3,}\'|[\w$@.-]+):(?:"[^"]{3,}"|\'[^\']{3,}\'|[\w${}@.-]+)))(?:\s|\z)',
426 },
427 {
428 'entropy' => '3',
429 'id' => 'databricks-api-token',
430 'keywords' => [
431 'dapi',
432 ],
433 'regex' => '\b(dapi[a-f0-9]{32}(?:-\d)?)(?:[\x60\'"\s;]|\\\[nr]|\z)',
434 },
435 {
436 'id' => 'datadog-access-token',
437 'keywords' => [
438 'datadog',
439 ],
440 'regex' =>
441 '(?i)[\w.-]{0,50}?(?:datadog)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9]{40})(?:[\x60\'"\s;]|\\\[nr]|\z)',
442 },
443 {
444 'id' => 'defined-networking-api-token',
445 'keywords' => [
446 'dnkey',
447 ],
448 'regex' =>
449 '(?i)[\w.-]{0,50}?(?:dnkey)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}(dnkey-[a-z0-9=_\-]{26}-[a-z0-9=_\-]{52})(?:[\x60\'"\s;]|\\\[nr]|\z)',
450 },
451 {
452 'entropy' => '3',
453 'id' => 'digitalocean-access-token',
454 'keywords' => [
455 'doo_v1_',
456 ],
457 'regex' => '\b(doo_v1_[a-f0-9]{64})(?:[\x60\'"\s;]|\\\[nr]|\z)',
458 },
459 {
460 'entropy' => '3',
461 'id' => 'digitalocean-pat',
462 'keywords' => [
463 'dop_v1_',
464 ],
465 'regex' => '\b(dop_v1_[a-f0-9]{64})(?:[\x60\'"\s;]|\\\[nr]|\z)',
466 },
467 {
468 'id' => 'digitalocean-refresh-token',
469 'keywords' => [
470 'dor_v1_',
471 ],
472 'regex' => '(?i)\b(dor_v1_[a-f0-9]{64})(?:[\x60\'"\s;]|\\\[nr]|\z)',
473 },
474 {
475 'id' => 'discord-api-token',
476 'keywords' => [
477 'discord',
478 ],
479 'regex' =>
480 '(?i)[\w.-]{0,50}?(?:discord)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-f0-9]{64})(?:[\x60\'"\s;]|\\\[nr]|\z)',
481 },
482 {
483 'entropy' => '2',
484 'id' => 'discord-client-id',
485 'keywords' => [
486 'discord',
487 ],
488 'regex' =>
489 '(?i)[\w.-]{0,50}?(?:discord)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([0-9]{18})(?:[\x60\'"\s;]|\\\[nr]|\z)',
490 },
491 {
492 'entropy' => '2',
493 'id' => 'discord-client-secret',
494 'keywords' => [
495 'discord',
496 ],
497 'regex' =>
498 '(?i)[\w.-]{0,50}?(?:discord)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9=_\-]{32})(?:[\x60\'"\s;]|\\\[nr]|\z)',
499 },
500 {
501 'entropy' => '2',
502 'id' => 'doppler-api-token',
503 'keywords' => [
504 'dp.pt.',
505 ],
506 'regex' => 'dp\.pt\.(?i)[a-z0-9]{43}',
507 },
508 {
509 'id' => 'droneci-access-token',
510 'keywords' => [
511 'droneci',
512 ],
513 'regex' =>
514 '(?i)[\w.-]{0,50}?(?:droneci)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9]{32})(?:[\x60\'"\s;]|\\\[nr]|\z)',
515 },
516 {
517 'id' => 'dropbox-api-token',
518 'keywords' => [
519 'dropbox',
520 ],
521 'regex' =>
522 '(?i)[\w.-]{0,50}?(?:dropbox)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9]{15})(?:[\x60\'"\s;]|\\\[nr]|\z)',
523 },
524 {
525 'id' => 'dropbox-long-lived-api-token',
526 'keywords' => [
527 'dropbox',
528 ],
529 'regex' =>
530 '(?i)[\w.-]{0,50}?(?:dropbox)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9]{11}(AAAAAAAAAA)[a-z0-9\-_=]{43})(?:[\x60\'"\s;]|\\\[nr]|\z)',
531 },
532 {
533 'id' => 'dropbox-short-lived-api-token',
534 'keywords' => [
535 'dropbox',
536 ],
537 'regex' =>
538 '(?i)[\w.-]{0,50}?(?:dropbox)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}(sl\.[a-z0-9\-=_]{135})(?:[\x60\'"\s;]|\\\[nr]|\z)',
539 },
540 {
541 'entropy' => '2',
542 'id' => 'duffel-api-token',
543 'keywords' => [
544 'duffel_',
545 ],
546 'regex' => 'duffel_(?:test|live)_(?i)[a-z0-9_\-=]{43}',
547 },
548 {
549 'entropy' => '4',
550 'id' => 'dynatrace-api-token',
551 'keywords' => [
552 'dt0c01.',
553 ],
554 'regex' => 'dt0c01\.(?i)[a-z0-9]{24}\.[a-z0-9]{64}',
555 },
556 {
557 'entropy' => '2',
558 'id' => 'easypost-api-token',
559 'keywords' => [
560 'ezak',
561 ],
562 'regex' => '\bEZAK(?i)[a-z0-9]{54}\b',
563 },
564 {
565 'entropy' => '2',
566 'id' => 'easypost-test-api-token',
567 'keywords' => [
568 'eztk',
569 ],
570 'regex' => '\bEZTK(?i)[a-z0-9]{54}\b',
571 },
572 {
573 'entropy' => '3',
574 'id' => 'etsy-access-token',
575 'keywords' => [
576 'etsy',
577 ],
578 'regex' =>
579 '(?i)[\w.-]{0,50}?(?:(?-i:ETSY|[Ee]tsy))(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9]{24})(?:[\x60\'"\s;]|\\\[nr]|\z)',
580 },
581 {
582 'entropy' => '3',
583 'id' => 'facebook-access-token',
584 'keywords' => [
585 'facebook',
586 ],
587 'regex' =>
588 '(?i)\b(\d{15,16}(\||%)[0-9a-z\-_]{27,40})(?:[\x60\'"\s;]|\\\[nr]|\z)',
589 },
590 {
591 'entropy' => '4',
592 'id' => 'facebook-page-access-token',
593 'keywords' => [
594 'eaam',
595 'eaac',
596 ],
597 'regex' => '\b(EAA[MC](?i)[a-z0-9]{100,})(?:[\x60\'"\s;]|\\\[nr]|\z)',
598 },
599 {
600 'entropy' => '3',
601 'id' => 'facebook-secret',
602 'keywords' => [
603 'facebook',
604 ],
605 'regex' =>
606 '(?i)[\w.-]{0,50}?(?:facebook)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-f0-9]{32})(?:[\x60\'"\s;]|\\\[nr]|\z)',
607 },
608 {
609 'id' => 'fastly-api-token',
610 'keywords' => [
611 'fastly',
612 ],
613 'regex' =>
614 '(?i)[\w.-]{0,50}?(?:fastly)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9=_\-]{32})(?:[\x60\'"\s;]|\\\[nr]|\z)',
615 },
616 {
617 'id' => 'finicity-api-token',
618 'keywords' => [
619 'finicity',
620 ],
621 'regex' =>
622 '(?i)[\w.-]{0,50}?(?:finicity)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-f0-9]{32})(?:[\x60\'"\s;]|\\\[nr]|\z)',
623 },
624 {
625 'id' => 'finicity-client-secret',
626 'keywords' => [
627 'finicity',
628 ],
629 'regex' =>
630 '(?i)[\w.-]{0,50}?(?:finicity)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9]{20})(?:[\x60\'"\s;]|\\\[nr]|\z)',
631 },
632 {
633 'id' => 'finnhub-access-token',
634 'keywords' => [
635 'finnhub',
636 ],
637 'regex' =>
638 '(?i)[\w.-]{0,50}?(?:finnhub)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9]{20})(?:[\x60\'"\s;]|\\\[nr]|\z)',
639 },
640 {
641 'id' => 'flickr-access-token',
642 'keywords' => [
643 'flickr',
644 ],
645 'regex' =>
646 '(?i)[\w.-]{0,50}?(?:flickr)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9]{32})(?:[\x60\'"\s;]|\\\[nr]|\z)',
647 },
648 {
649 'entropy' => '2',
650 'id' => 'flutterwave-encryption-key',
651 'keywords' => [
652 'flwseck_test',
653 ],
654 'regex' => 'FLWSECK_TEST-(?i)[a-h0-9]{12}',
655 },
656 {
657 'entropy' => '2',
658 'id' => 'flutterwave-public-key',
659 'keywords' => [
660 'flwpubk_test',
661 ],
662 'regex' => 'FLWPUBK_TEST-(?i)[a-h0-9]{32}-X',
663 },
664 {
665 'entropy' => '2',
666 'id' => 'flutterwave-secret-key',
667 'keywords' => [
668 'flwseck_test',
669 ],
670 'regex' => 'FLWSECK_TEST-(?i)[a-h0-9]{32}-X',
671 },
672 {
673 'entropy' => '4',
674 'id' => 'flyio-access-token',
675 'keywords' => [
676 'fo1_',
677 'fm1',
678 'fm2_',
679 ],
680 'regex' =>
681 '\b((?:fo1_[\w-]{43}|fm1[ar]_[a-zA-Z0-9+\/]{100,}={0,3}|fm2_[a-zA-Z0-9+\/]{100,}={0,3}))(?:[\x60\'"\s;]|\\\[nr]|\z)',
682 },
683 {
684 'id' => 'frameio-api-token',
685 'keywords' => [
686 'fio-u-',
687 ],
688 'regex' => 'fio-u-(?i)[a-z0-9\-_=]{64}',
689 },
690 {
691 'id' => 'freshbooks-access-token',
692 'keywords' => [
693 'freshbooks',
694 ],
695 'regex' =>
696 '(?i)[\w.-]{0,50}?(?:freshbooks)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9]{64})(?:[\x60\'"\s;]|\\\[nr]|\z)',
697 },
698 {
699 'allowlists' => [{
700 'regexes' => [
701 'AIzaSyabcdefghijklm' . 'nopqrstuvwxyz1234567',
702 'AIzaSyAnLA7NfeLquW1' . 'tJFpx_eQCxoX-oo6YyIs',
703 'AIzaSyCkEhVjf3pduRD' . 't6d1yKOMitrUEke8agEM',
704 'AIzaSyDMAScliyLx7F0' . 'NPDEJi1QmyCgHIAODrlU',
705 'AIzaSyD3asb-2pEZVqM' . 'kmL6M9N6nHZRR_znhrh0',
706 'AIzayDNSXIbFmlXbIE6' . 'mCzDLQAqITYefhixbX4A',
707 'AIzaSyAdOS2zB6NCsk1' . 'pCdZ4-P6GBdi_UUPwX7c',
708 'AIzaSyASWm6HmTMdYWp' . 'gMnjRBjxcQ9CKctWmLd4',
709 'AIzaSyANUvH9H9BsUcc' . 'jsu2pCmEkOPjjaXeDQgY',
710 'AIzaSyA5_iVawFQ8ABu' . 'TZNUdcwERLJv_a_p4wtM',
711 'AIzaSyA4UrcGxgwQFTf' . 'aI3no3t7Lt1sjmdnP5sQ',
712 'AIzaSyDSb51JiIcB6OJ' . 'pwwMicseKRhhrOq1cS7g',
713 'AIzaSyBF2RrAIm4a0mO' . '64EShQfqfd2AFnzAvvuU',
714 'AIzaSyBcE-OOIbhjyR8' . '3gm4r2MFCu4MJmprNXsw',
715 'AIzaSyB8qGxt4ec15vi' . 'tgn44duC5ucxaOi4FmqE',
716 'AIzaSyA8vmApnrHNFE0' . 'bApF4hoZ11srVL_n0nvY',
717 ],
718 }],
719 'entropy' => '4',
720 'id' => 'gcp-api-key',
721 'keywords' => [
722 'aiza',
723 ],
724 'regex' => '\b(AIza[\w-]{35})(?:[\x60\'"\s;]|\\\[nr]|\z)',
725 },
726 {
727 'allowlists' => [
728 {
729 'regexes' => [
730 '^[a-zA-Z_.-]+\z',
731 ],
732 },
733 {
734 'regex_target' => 'match',
735 'regexes' => [
736 '(?i)(?:access(?:ibility|or)|access[_.-]?id|random[_.-]?access|api[_.-]?(?:id|name|version)|rapid|capital|[a-z0-9-]*?api[a-z0-9-]*?:jar:|author|X-MS-Exchange-Organization-Auth|Authentication-Results|(?:credentials?[_.-]?id|withCredentials)|(?:bucket|foreign|hot|idx|natural|primary|pub(?:lic)?|schema|sequence)[_.-]?key|(?:turkey)|key[_.-]?(?:alias|board|code|frame|id|length|mesh|name|pair|press(?:ed)?|ring|selector|signature|size|stone|storetype|word|up|down|left|right)|key[_.-]?vault[_.-]?(?:id|name)|keyVaultToStoreSecrets|key(?:store|tab)[_.-]?(?:file|path)|issuerkeyhash|(?-i:[DdMm]onkey|[DM]ONKEY)|keying|(?:secret)[_.-]?(?:length|name|size)|UserSecretsId|(?:csrf)[_.-]?token|(?:io\.jsonwebtoken[ \t]?:[ \t]?[\w-]+)|(?:api|credentials|token)[_.-]?(?:endpoint|ur[il])|public[_.-]?token|(?:key|token)[_.-]?file|(?-i:(?:[A-Z_]+=\n[A-Z_]+=|[a-z_]+=\n[a-z_]+=)(?:\n|\z))|(?-i:(?:[A-Z.]+=\n[A-Z.]+=|[a-z.]+=\n[a-z.]+=)(?:\n|\z)))',
737 ],
738 'stopwords' => [
739 '000000',
740 '6fe4476ee5a1832882e326b506d14126',
741 '_ec2_',
742 'aaaaaa',
743 'about',
744 'abstract',
745 'academy',
746 'acces',
747 'account',
748 'act-',
749 'act.',
750 'act_',
751 'action',
752 'active',
753 'actively',
754 'activity',
755 'adapter',
756 'add-',
757 'add-on',
758 'add.',
759 'add_',
760 'addon',
761 'addres',
762 'admin',
763 'adobe',
764 'advanced',
765 'adventure',
766 'agent',
767 'agile',
768 'air-',
769 'air.',
770 'air_',
771 'ajax',
772 'akka',
773 'alert',
774 'alfred',
775 'algorithm',
776 'all-',
777 'all.',
778 'all_',
779 'alloy',
780 'alpha',
781 'amazon',
782 'amqp',
783 'analysi',
784 'analytic',
785 'analyzer',
786 'android',
787 'angular',
788 'angularj',
789 'animate',
790 'animation',
791 'another',
792 'ansible',
793 'answer',
794 'ant-',
795 'ant.',
796 'ant_',
797 'any-',
798 'any.',
799 'any_',
800 'apache',
801 'app-',
802 'app.',
803 'app_',
804 'apple',
805 'arch',
806 'archive',
807 'archived',
808 'arduino',
809 'array',
810 'art-',
811 'art.',
812 'art_',
813 'article',
814 'asp-',
815 'asp.',
816 'asp_',
817 'asset',
818 'async',
819 'atom',
820 'attention',
821 'audio',
822 'audit',
823 'aura',
824 'auth',
825 'author',
826 'authorize',
827 'auto',
828 'automated',
829 'automatic',
830 'awesome',
831 'aws_',
832 'azure',
833 'back',
834 'backbone',
835 'backend',
836 'backup',
837 'bar-',
838 'bar.',
839 'bar_',
840 'base',
841 'based',
842 'bash',
843 'basic',
844 'batch',
845 'been',
846 'beer',
847 'behavior',
848 'being',
849 'benchmark',
850 'best',
851 'beta',
852 'better',
853 'big-',
854 'big.',
855 'big_',
856 'binary',
857 'binding',
858 'bit-',
859 'bit.',
860 'bit_',
861 'bitcoin',
862 'block',
863 'blog',
864 'board',
865 'book',
866 'bookmark',
867 'boost',
868 'boot',
869 'bootstrap',
870 'bosh',
871 'bot-',
872 'bot.',
873 'bot_',
874 'bower',
875 'box-',
876 'box.',
877 'box_',
878 'boxen',
879 'bracket',
880 'branch',
881 'bridge',
882 'browser',
883 'brunch',
884 'buffer',
885 'bug-',
886 'bug.',
887 'bug_',
888 'build',
889 'builder',
890 'building',
891 'buildout',
892 'buildpack',
893 'built',
894 'bundle',
895 'busines',
896 'but-',
897 'but.',
898 'but_',
899 'button',
900 'cache',
901 'caching',
902 'cakephp',
903 'calendar',
904 'call',
905 'camera',
906 'campfire',
907 'can-',
908 'can.',
909 'can_',
910 'canva',
911 'captcha',
912 'capture',
913 'card',
914 'carousel',
915 'case',
916 'cassandra',
917 'cat-',
918 'cat.',
919 'cat_',
920 'category',
921 'center',
922 'cento',
923 'challenge',
924 'change',
925 'changelog',
926 'channel',
927 'chart',
928 'chat',
929 'cheat',
930 'check',
931 'checker',
932 'chef',
933 'ches',
934 'chinese',
935 'chosen',
936 'chrome',
937 'ckeditor',
938 'clas',
939 'classe',
940 'classic',
941 'clean',
942 'cli-',
943 'cli.',
944 'cli_',
945 'client',
946 'clojure',
947 'clone',
948 'closure',
949 'cloud',
950 'club',
951 'cluster',
952 'cms-',
953 'cms_',
954 'coco',
955 'code',
956 'coding',
957 'coffee',
958 'color',
959 'combination',
960 'combo',
961 'command',
962 'commander',
963 'comment',
964 'commit',
965 'common',
966 'community',
967 'compas',
968 'compiler',
969 'complete',
970 'component',
971 'composer',
972 'computer',
973 'computing',
974 'con-',
975 'con.',
976 'con_',
977 'concept',
978 'conf',
979 'config',
980 'connect',
981 'connector',
982 'console',
983 'contact',
984 'container',
985 'contao',
986 'content',
987 'contest',
988 'context',
989 'control',
990 'convert',
991 'converter',
992 'conway\'',
993 'cookbook',
994 'cookie',
995 'cool',
996 'copy',
997 'cordova',
998 'core',
999 'couchbase',
1000 'couchdb',
1001 'countdown',
1002 'counter',
1003 'course',
1004 'craft',
1005 'crawler',
1006 'create',
1007 'creating',
1008 'creator',
1009 'credential',
1010 'crm-',
1011 'crm.',
1012 'crm_',
1013 'cros',
1014 'crud',
1015 'csv-',
1016 'csv.',
1017 'csv_',
1018 'cube',
1019 'cucumber',
1020 'cuda',
1021 'current',
1022 'currently',
1023 'custom',
1024 'daemon',
1025 'dark',
1026 'dart',
1027 'dash',
1028 'dashboard',
1029 'data',
1030 'database',
1031 'date',
1032 'day-',
1033 'day.',
1034 'day_',
1035 'dead',
1036 'debian',
1037 'debug',
1038 'debugger',
1039 'deck',
1040 'define',
1041 'del-',
1042 'del.',
1043 'del_',
1044 'delete',
1045 'demo',
1046 'deploy',
1047 'design',
1048 'designer',
1049 'desktop',
1050 'detection',
1051 'detector',
1052 'dev-',
1053 'dev.',
1054 'dev_',
1055 'develop',
1056 'developer',
1057 'device',
1058 'devise',
1059 'diff',
1060 'digital',
1061 'directive',
1062 'directory',
1063 'discovery',
1064 'display',
1065 'django',
1066 'dns-',
1067 'dns_',
1068 'doc-',
1069 'doc.',
1070 'doc_',
1071 'docker',
1072 'docpad',
1073 'doctrine',
1074 'document',
1075 'doe-',
1076 'doe.',
1077 'doe_',
1078 'dojo',
1079 'dom-',
1080 'dom.',
1081 'dom_',
1082 'domain',
1083 'don\'t',
1084 'done',
1085 'dot-',
1086 'dot.',
1087 'dot_',
1088 'dotfile',
1089 'download',
1090 'draft',
1091 'drag',
1092 'drill',
1093 'drive',
1094 'driven',
1095 'driver',
1096 'drop',
1097 'dropbox',
1098 'drupal',
1099 'dsl-',
1100 'dsl.',
1101 'dsl_',
1102 'dynamic',
1103 'easy',
1104 'ecdsa',
1105 'eclipse',
1106 'edit',
1107 'editing',
1108 'edition',
1109 'editor',
1110 'element',
1111 'emac',
1112 'email',
1113 'embed',
1114 'embedded',
1115 'ember',
1116 'emitter',
1117 'emulator',
1118 'encoding',
1119 'endpoint',
1120 'engine',
1121 'english',
1122 'enhanced',
1123 'entity',
1124 'entry',
1125 'env_',
1126 'episode',
1127 'erlang',
1128 'error',
1129 'espresso',
1130 'event',
1131 'evented',
1132 'example',
1133 'exchange',
1134 'exercise',
1135 'experiment',
1136 'expire',
1137 'exploit',
1138 'explorer',
1139 'export',
1140 'exporter',
1141 'expres',
1142 'ext-',
1143 'ext.',
1144 'ext_',
1145 'extended',
1146 'extension',
1147 'external',
1148 'extra',
1149 'extractor',
1150 'fabric',
1151 'facebook',
1152 'factory',
1153 'fake',
1154 'fast',
1155 'feature',
1156 'feed',
1157 'fewfwef',
1158 'ffmpeg',
1159 'field',
1160 'file',
1161 'filter',
1162 'find',
1163 'finder',
1164 'firefox',
1165 'firmware',
1166 'first',
1167 'fish',
1168 'fix-',
1169 'fix_',
1170 'flash',
1171 'flask',
1172 'flat',
1173 'flex',
1174 'flexible',
1175 'flickr',
1176 'flow',
1177 'fluent',
1178 'fluentd',
1179 'fluid',
1180 'folder',
1181 'font',
1182 'force',
1183 'foreman',
1184 'fork',
1185 'form',
1186 'format',
1187 'formatter',
1188 'forum',
1189 'foundry',
1190 'framework',
1191 'free',
1192 'friend',
1193 'friendly',
1194 'front-end',
1195 'frontend',
1196 'ftp-',
1197 'ftp.',
1198 'ftp_',
1199 'fuel',
1200 'full',
1201 'fun-',
1202 'fun.',
1203 'fun_',
1204 'func',
1205 'future',
1206 'gaia',
1207 'gallery',
1208 'game',
1209 'gateway',
1210 'gem-',
1211 'gem.',
1212 'gem_',
1213 'gen-',
1214 'gen.',
1215 'gen_',
1216 'general',
1217 'generator',
1218 'generic',
1219 'genetic',
1220 'get-',
1221 'get.',
1222 'get_',
1223 'getenv',
1224 'getting',
1225 'ghost',
1226 'gist',
1227 'git-',
1228 'git.',
1229 'git_',
1230 'github',
1231 'gitignore',
1232 'gitlab',
1233 'glas',
1234 'gmail',
1235 'gnome',
1236 'gnu-',
1237 'gnu.',
1238 'gnu_',
1239 'goal',
1240 'golang',
1241 'gollum',
1242 'good',
1243 'google',
1244 'gpu-',
1245 'gpu.',
1246 'gpu_',
1247 'gradle',
1248 'grail',
1249 'graph',
1250 'graphic',
1251 'great',
1252 'grid',
1253 'groovy',
1254 'group',
1255 'grunt',
1256 'guard',
1257 'gui-',
1258 'gui.',
1259 'gui_',
1260 'guide',
1261 'guideline',
1262 'gulp',
1263 'gwt-',
1264 'gwt.',
1265 'gwt_',
1266 'hack',
1267 'hackathon',
1268 'hacker',
1269 'hacking',
1270 'hadoop',
1271 'haml',
1272 'handler',
1273 'hardware',
1274 'has-',
1275 'has_',
1276 'hash',
1277 'haskell',
1278 'have',
1279 'haxe',
1280 'hello',
1281 'help',
1282 'helper',
1283 'here',
1284 'hero',
1285 'heroku',
1286 'high',
1287 'hipchat',
1288 'history',
1289 'home',
1290 'homebrew',
1291 'homepage',
1292 'hook',
1293 'host',
1294 'hosting',
1295 'hot-',
1296 'hot.',
1297 'hot_',
1298 'house',
1299 'how-',
1300 'how.',
1301 'how_',
1302 'html',
1303 'http',
1304 'hub-',
1305 'hub.',
1306 'hub_',
1307 'hubot',
1308 'human',
1309 'icon',
1310 'ide-',
1311 'ide.',
1312 'ide_',
1313 'idea',
1314 'identity',
1315 'idiomatic',
1316 'image',
1317 'impact',
1318 'import',
1319 'important',
1320 'importer',
1321 'impres',
1322 'index',
1323 'infinite',
1324 'info',
1325 'injection',
1326 'inline',
1327 'input',
1328 'inside',
1329 'inspector',
1330 'instagram',
1331 'install',
1332 'installer',
1333 'instant',
1334 'intellij',
1335 'interface',
1336 'internet',
1337 'interview',
1338 'into',
1339 'intro',
1340 'ionic',
1341 'iphone',
1342 'ipython',
1343 'irc-',
1344 'irc_',
1345 'iso-',
1346 'iso.',
1347 'iso_',
1348 'issue',
1349 'jade',
1350 'jasmine',
1351 'java',
1352 'jbos',
1353 'jekyll',
1354 'jenkin',
1355 'jetbrains',
1356 'job-',
1357 'job.',
1358 'job_',
1359 'joomla',
1360 'jpa-',
1361 'jpa.',
1362 'jpa_',
1363 'jquery',
1364 'json',
1365 'just',
1366 'kafka',
1367 'karma',
1368 'kata',
1369 'kernel',
1370 'keyboard',
1371 'kindle',
1372 'kit-',
1373 'kit.',
1374 'kit_',
1375 'kitchen',
1376 'knife',
1377 'koan',
1378 'kohana',
1379 'lab-',
1380 'lab.',
1381 'lab_',
1382 'lambda',
1383 'lamp',
1384 'language',
1385 'laravel',
1386 'last',
1387 'latest',
1388 'latex',
1389 'launcher',
1390 'layer',
1391 'layout',
1392 'lazy',
1393 'ldap',
1394 'leaflet',
1395 'league',
1396 'learn',
1397 'learning',
1398 'led-',
1399 'led.',
1400 'led_',
1401 'leetcode',
1402 'les-',
1403 'les.',
1404 'les_',
1405 'level',
1406 'leveldb',
1407 'lib-',
1408 'lib.',
1409 'lib_',
1410 'librarie',
1411 'library',
1412 'license',
1413 'life',
1414 'liferay',
1415 'light',
1416 'lightbox',
1417 'like',
1418 'line',
1419 'link',
1420 'linked',
1421 'linkedin',
1422 'linux',
1423 'lisp',
1424 'list',
1425 'lite',
1426 'little',
1427 'load',
1428 'loader',
1429 'local',
1430 'location',
1431 'lock',
1432 'log-',
1433 'log.',
1434 'log_',
1435 'logger',
1436 'logging',
1437 'logic',
1438 'login',
1439 'logstash',
1440 'longer',
1441 'look',
1442 'love',
1443 'lua-',
1444 'lua.',
1445 'lua_',
1446 'mac-',
1447 'mac.',
1448 'mac_',
1449 'machine',
1450 'made',
1451 'magento',
1452 'magic',
1453 'mail',
1454 'make',
1455 'maker',
1456 'making',
1457 'man-',
1458 'man.',
1459 'man_',
1460 'manage',
1461 'manager',
1462 'manifest',
1463 'manual',
1464 'map-',
1465 'map.',
1466 'map_',
1467 'mapper',
1468 'mapping',
1469 'markdown',
1470 'markup',
1471 'master',
1472 'math',
1473 'matrix',
1474 'maven',
1475 'md5',
1476 'mean',
1477 'media',
1478 'mediawiki',
1479 'meetup',
1480 'memcached',
1481 'memory',
1482 'menu',
1483 'merchant',
1484 'message',
1485 'messaging',
1486 'meta',
1487 'metadata',
1488 'meteor',
1489 'method',
1490 'metric',
1491 'micro',
1492 'middleman',
1493 'migration',
1494 'minecraft',
1495 'miner',
1496 'mini',
1497 'minimal',
1498 'mirror',
1499 'mit-',
1500 'mit.',
1501 'mit_',
1502 'mobile',
1503 'mocha',
1504 'mock',
1505 'mod-',
1506 'mod.',
1507 'mod_',
1508 'mode',
1509 'model',
1510 'modern',
1511 'modular',
1512 'module',
1513 'modx',
1514 'money',
1515 'mongo',
1516 'mongodb',
1517 'mongoid',
1518 'mongoose',
1519 'monitor',
1520 'monkey',
1521 'more',
1522 'motion',
1523 'moved',
1524 'movie',
1525 'mozilla',
1526 'mqtt',
1527 'mule',
1528 'multi',
1529 'multiple',
1530 'music',
1531 'mustache',
1532 'mvc-',
1533 'mvc.',
1534 'mvc_',
1535 'mysql',
1536 'nagio',
1537 'name',
1538 'native',
1539 'need',
1540 'neo-',
1541 'neo.',
1542 'neo_',
1543 'nest',
1544 'nested',
1545 'net-',
1546 'net.',
1547 'net_',
1548 'nette',
1549 'network',
1550 'new-',
1551 'new.',
1552 'new_',
1553 'next',
1554 'nginx',
1555 'ninja',
1556 'nlp-',
1557 'nlp.',
1558 'nlp_',
1559 'node',
1560 'nodej',
1561 'nosql',
1562 'not-',
1563 'not.',
1564 'not_',
1565 'note',
1566 'notebook',
1567 'notepad',
1568 'notice',
1569 'notifier',
1570 'now-',
1571 'now.',
1572 'now_',
1573 'number',
1574 'oauth',
1575 'object',
1576 'objective',
1577 'obsolete',
1578 'ocaml',
1579 'octopres',
1580 'official',
1581 'old-',
1582 'old.',
1583 'old_',
1584 'onboard',
1585 'online',
1586 'only',
1587 'open',
1588 'opencv',
1589 'opengl',
1590 'openshift',
1591 'openwrt',
1592 'option',
1593 'oracle',
1594 'org-',
1595 'org.',
1596 'org_',
1597 'origin',
1598 'original',
1599 'orm-',
1600 'orm.',
1601 'orm_',
1602 'osx-',
1603 'osx_',
1604 'our-',
1605 'our.',
1606 'our_',
1607 'out-',
1608 'out.',
1609 'out_',
1610 'output',
1611 'over',
1612 'overview',
1613 'own-',
1614 'own.',
1615 'own_',
1616 'pack',
1617 'package',
1618 'packet',
1619 'page',
1620 'panel',
1621 'paper',
1622 'paperclip',
1623 'para',
1624 'parallax',
1625 'parallel',
1626 'parse',
1627 'parser',
1628 'parsing',
1629 'particle',
1630 'party',
1631 'password',
1632 'patch',
1633 'path',
1634 'pattern',
1635 'payment',
1636 'paypal',
1637 'pdf-',
1638 'pdf.',
1639 'pdf_',
1640 'pebble',
1641 'people',
1642 'perl',
1643 'personal',
1644 'phalcon',
1645 'phoenix',
1646 'phone',
1647 'phonegap',
1648 'photo',
1649 'php-',
1650 'php.',
1651 'php_',
1652 'physic',
1653 'picker',
1654 'pipeline',
1655 'platform',
1656 'play',
1657 'player',
1658 'please',
1659 'plu-',
1660 'plu.',
1661 'plu_',
1662 'plug-in',
1663 'plugin',
1664 'plupload',
1665 'png-',
1666 'png.',
1667 'png_',
1668 'poker',
1669 'polyfill',
1670 'polymer',
1671 'pool',
1672 'pop-',
1673 'pop.',
1674 'pop_',
1675 'popcorn',
1676 'popup',
1677 'port',
1678 'portable',
1679 'portal',
1680 'portfolio',
1681 'post',
1682 'power',
1683 'powered',
1684 'powerful',
1685 'prelude',
1686 'pretty',
1687 'preview',
1688 'principle',
1689 'print',
1690 'pro-',
1691 'pro.',
1692 'pro_',
1693 'problem',
1694 'proc',
1695 'product',
1696 'profile',
1697 'profiler',
1698 'program',
1699 'progres',
1700 'project',
1701 'protocol',
1702 'prototype',
1703 'provider',
1704 'proxy',
1705 'public',
1706 'pull',
1707 'puppet',
1708 'pure',
1709 'purpose',
1710 'push',
1711 'pusher',
1712 'pyramid',
1713 'python',
1714 'quality',
1715 'query',
1716 'queue',
1717 'quick',
1718 'rabbitmq',
1719 'rack',
1720 'radio',
1721 'rail',
1722 'railscast',
1723 'random',
1724 'range',
1725 'raspberry',
1726 'rdf-',
1727 'rdf.',
1728 'rdf_',
1729 'react',
1730 'reactive',
1731 'read',
1732 'reader',
1733 'readme',
1734 'ready',
1735 'real',
1736 'real-time',
1737 'reality',
1738 'realtime',
1739 'recipe',
1740 'recorder',
1741 'red-',
1742 'red.',
1743 'red_',
1744 'reddit',
1745 'redi',
1746 'redmine',
1747 'reference',
1748 'refinery',
1749 'refresh',
1750 'registry',
1751 'related',
1752 'release',
1753 'remote',
1754 'rendering',
1755 'repo',
1756 'report',
1757 'request',
1758 'require',
1759 'required',
1760 'requirej',
1761 'research',
1762 'resource',
1763 'response',
1764 'resque',
1765 'rest',
1766 'restful',
1767 'resume',
1768 'reveal',
1769 'reverse',
1770 'review',
1771 'riak',
1772 'rich',
1773 'right',
1774 'ring',
1775 'robot',
1776 'role',
1777 'room',
1778 'router',
1779 'routing',
1780 'rpc-',
1781 'rpc.',
1782 'rpc_',
1783 'rpg-',
1784 'rpg.',
1785 'rpg_',
1786 'rspec',
1787 'ruby-',
1788 'ruby.',
1789 'ruby_',
1790 'rule',
1791 'run-',
1792 'run.',
1793 'run_',
1794 'runner',
1795 'running',
1796 'runtime',
1797 'rust',
1798 'rvm-',
1799 'rvm.',
1800 'rvm_',
1801 'salt',
1802 'sample',
1803 'sandbox',
1804 'sas-',
1805 'sas.',
1806 'sas_',
1807 'sbt-',
1808 'sbt.',
1809 'sbt_',
1810 'scala',
1811 'scalable',
1812 'scanner',
1813 'schema',
1814 'scheme',
1815 'school',
1816 'science',
1817 'scraper',
1818 'scratch',
1819 'screen',
1820 'script',
1821 'scroll',
1822 'scs-',
1823 'scs.',
1824 'scs_',
1825 'sdk-',
1826 'sdk.',
1827 'sdk_',
1828 'sdl-',
1829 'sdl.',
1830 'sdl_',
1831 'search',
1832 'secure',
1833 'security',
1834 'see-',
1835 'see.',
1836 'see_',
1837 'seed',
1838 'select',
1839 'selector',
1840 'selenium',
1841 'semantic',
1842 'sencha',
1843 'send',
1844 'sentiment',
1845 'serie',
1846 'server',
1847 'service',
1848 'session',
1849 'set-',
1850 'set.',
1851 'set_',
1852 'setting',
1853 'setup',
1854 'sha1',
1855 'sha2',
1856 'sha256',
1857 'share',
1858 'shared',
1859 'sharing',
1860 'sheet',
1861 'shell',
1862 'shield',
1863 'shipping',
1864 'shop',
1865 'shopify',
1866 'shortener',
1867 'should',
1868 'show',
1869 'showcase',
1870 'side',
1871 'silex',
1872 'simple',
1873 'simulator',
1874 'single',
1875 'site',
1876 'skeleton',
1877 'sketch',
1878 'skin',
1879 'slack',
1880 'slide',
1881 'slider',
1882 'slim',
1883 'small',
1884 'smart',
1885 'smtp',
1886 'snake',
1887 'snapshot',
1888 'snippet',
1889 'soap',
1890 'social',
1891 'socket',
1892 'software',
1893 'solarized',
1894 'solr',
1895 'solution',
1896 'solver',
1897 'some',
1898 'soon',
1899 'source',
1900 'space',
1901 'spark',
1902 'spatial',
1903 'spec',
1904 'sphinx',
1905 'spine',
1906 'spotify',
1907 'spree',
1908 'spring',
1909 'sprite',
1910 'sql-',
1911 'sql.',
1912 'sql_',
1913 'sqlite',
1914 'ssh-',
1915 'ssh.',
1916 'ssh_',
1917 'stack',
1918 'staging',
1919 'standard',
1920 'stanford',
1921 'start',
1922 'started',
1923 'starter',
1924 'startup',
1925 'stat',
1926 'statamic',
1927 'state',
1928 'static',
1929 'statistic',
1930 'statsd',
1931 'statu',
1932 'steam',
1933 'step',
1934 'still',
1935 'stm-',
1936 'stm.',
1937 'stm_',
1938 'storage',
1939 'store',
1940 'storm',
1941 'story',
1942 'strategy',
1943 'stream',
1944 'streaming',
1945 'string',
1946 'stripe',
1947 'structure',
1948 'studio',
1949 'study',
1950 'stuff',
1951 'style',
1952 'sublime',
1953 'sugar',
1954 'suite',
1955 'summary',
1956 'super',
1957 'support',
1958 'supported',
1959 'svg-',
1960 'svg.',
1961 'svg_',
1962 'svn-',
1963 'svn.',
1964 'svn_',
1965 'swagger',
1966 'swift',
1967 'switch',
1968 'switcher',
1969 'symfony',
1970 'symphony',
1971 'sync',
1972 'synopsi',
1973 'syntax',
1974 'system',
1975 'tab-',
1976 'tab.',
1977 'tab_',
1978 'table',
1979 'tag-',
1980 'tag.',
1981 'tag_',
1982 'talk',
1983 'target',
1984 'task',
1985 'tcp-',
1986 'tcp.',
1987 'tcp_',
1988 'tdd-',
1989 'tdd.',
1990 'tdd_',
1991 'team',
1992 'tech',
1993 'template',
1994 'term',
1995 'terminal',
1996 'testing',
1997 'tetri',
1998 'text',
1999 'textmate',
2000 'theme',
2001 'theory',
2002 'three',
2003 'thrift',
2004 'time',
2005 'timeline',
2006 'timer',
2007 'tiny',
2008 'tinymce',
2009 'tip-',
2010 'tip.',
2011 'tip_',
2012 'title',
2013 'todo',
2014 'todomvc',
2015 'token',
2016 'tool',
2017 'toolbox',
2018 'toolkit',
2019 'top-',
2020 'top.',
2021 'top_',
2022 'tornado',
2023 'touch',
2024 'tower',
2025 'tracker',
2026 'tracking',
2027 'traffic',
2028 'training',
2029 'transfer',
2030 'translate',
2031 'transport',
2032 'tree',
2033 'trello',
2034 'try-',
2035 'try.',
2036 'try_',
2037 'tumblr',
2038 'tut-',
2039 'tut.',
2040 'tut_',
2041 'tutorial',
2042 'tweet',
2043 'twig',
2044 'twitter',
2045 'type',
2046 'typo',
2047 'ubuntu',
2048 'uiview',
2049 'ultimate',
2050 'under',
2051 'unit',
2052 'unity',
2053 'universal',
2054 'unix',
2055 'update',
2056 'updated',
2057 'upgrade',
2058 'upload',
2059 'uploader',
2060 'uri-',
2061 'uri.',
2062 'uri_',
2063 'url-',
2064 'url.',
2065 'url_',
2066 'usage',
2067 'usb-',
2068 'usb.',
2069 'usb_',
2070 'use-',
2071 'use.',
2072 'use_',
2073 'used',
2074 'useful',
2075 'user',
2076 'using',
2077 'util',
2078 'utilitie',
2079 'utility',
2080 'vagrant',
2081 'validator',
2082 'value',
2083 'variou',
2084 'varnish',
2085 'version',
2086 'via-',
2087 'via.',
2088 'via_',
2089 'video',
2090 'view',
2091 'viewer',
2092 'vim-',
2093 'vim.',
2094 'vim_',
2095 'vimrc',
2096 'virtual',
2097 'vision',
2098 'visual',
2099 'vpn',
2100 'want',
2101 'warning',
2102 'watch',
2103 'watcher',
2104 'wave',
2105 'way-',
2106 'way.',
2107 'way_',
2108 'weather',
2109 'web-',
2110 'web_',
2111 'webapp',
2112 'webgl',
2113 'webhook',
2114 'webkit',
2115 'webrtc',
2116 'website',
2117 'websocket',
2118 'welcome',
2119 'what',
2120 'what\'',
2121 'when',
2122 'where',
2123 'which',
2124 'why-',
2125 'why.',
2126 'why_',
2127 'widget',
2128 'wifi',
2129 'wiki',
2130 'win-',
2131 'win.',
2132 'win_',
2133 'window',
2134 'wip-',
2135 'wip.',
2136 'wip_',
2137 'within',
2138 'without',
2139 'wizard',
2140 'word',
2141 'wordpres',
2142 'work',
2143 'worker',
2144 'workflow',
2145 'working',
2146 'workshop',
2147 'world',
2148 'wrapper',
2149 'write',
2150 'writer',
2151 'writing',
2152 'written',
2153 'www-',
2154 'www.',
2155 'www_',
2156 'xamarin',
2157 'xcode',
2158 'xml-',
2159 'xml.',
2160 'xml_',
2161 'xmpp',
2162 'xxxxxx',
2163 'yahoo',
2164 'yaml',
2165 'yandex',
2166 'yeoman',
2167 'yet-',
2168 'yet.',
2169 'yet_',
2170 'yii-',
2171 'yii.',
2172 'yii_',
2173 'youtube',
2174 'yui-',
2175 'yui.',
2176 'yui_',
2177 'zend',
2178 'zero',
2179 'zip-',
2180 'zip.',
2181 'zip_',
2182 'zsh-',
2183 'zsh.',
2184 'zsh_',
2185 ],
2186 },
2187 {
2188 'regex_target' => 'line',
2189 'regexes' => [
2190 '--mount=type=secret,',
2191 'import[ \t]+{[ \t\w,]+}[ \t]+from[ \t]+[\'"][^\'"]+[\'"]',
2192 ],
2193 },
2194 ],
2195 'entropy' => '3.5',
2196 'id' => 'generic-api-key',
2197 'keywords' => [
2198 'access',
2199 'api',
2200 'auth',
2201 'key',
2202 'credential',
2203 'creds',
2204 'passwd',
2205 'password',
2206 'secret',
2207 'token',
2208 ],
2209 'regex' =>
2210 '(?i)[\w.-]{0,50}?(?:access|auth|(?-i:[Aa]pi|API)|credential|creds|key|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;]|\\\[nr]|\z)',
2211 },
2212 {
2213 'entropy' => '3',
2214 'id' => 'github-app-token',
2215 'keywords' => [
2216 'ghu_',
2217 'ghs_',
2218 ],
2219 'regex' => '(?:ghu|ghs)_[0-9a-zA-Z]{36}',
2220 },
2221 {
2222 'entropy' => '3',
2223 'id' => 'github-fine-grained-pat',
2224 'keywords' => [
2225 'github_pat_',
2226 ],
2227 'regex' => 'github_pat_\w{82}',
2228 },
2229 {
2230 'entropy' => '3',
2231 'id' => 'github-oauth',
2232 'keywords' => [
2233 'gho_',
2234 ],
2235 'regex' => 'gho_[0-9a-zA-Z]{36}',
2236 },
2237 {
2238 'entropy' => '3',
2239 'id' => 'github-pat',
2240 'keywords' => [
2241 'ghp_',
2242 ],
2243 'regex' => 'ghp_[0-9a-zA-Z]{36}',
2244 },
2245 {
2246 'entropy' => '3',
2247 'id' => 'github-refresh-token',
2248 'keywords' => [
2249 'ghr_',
2250 ],
2251 'regex' => 'ghr_[0-9a-zA-Z]{36}',
2252 },
2253 {
2254 'entropy' => '3',
2255 'id' => 'gitlab-cicd-job-token',
2256 'keywords' => [
2257 'glcbt-',
2258 ],
2259 'regex' => 'glcbt-[0-9a-zA-Z]{1,5}_[0-9a-zA-Z_-]{20}',
2260 },
2261 {
2262 'entropy' => '3',
2263 'id' => 'gitlab-deploy-token',
2264 'keywords' => [
2265 'gldt-',
2266 ],
2267 'regex' => 'gldt-[0-9a-zA-Z_\-]{20}',
2268 },
2269 {
2270 'entropy' => '3',
2271 'id' => 'gitlab-feature-flag-client-token',
2272 'keywords' => [
2273 'glffct-',
2274 ],
2275 'regex' => 'glffct-[0-9a-zA-Z_\-]{20}',
2276 },
2277 {
2278 'entropy' => '3',
2279 'id' => 'gitlab-feed-token',
2280 'keywords' => [
2281 'glft-',
2282 ],
2283 'regex' => 'glft-[0-9a-zA-Z_\-]{20}',
2284 },
2285 {
2286 'entropy' => '3',
2287 'id' => 'gitlab-incoming-mail-token',
2288 'keywords' => [
2289 'glimt-',
2290 ],
2291 'regex' => 'glimt-[0-9a-zA-Z_\-]{25}',
2292 },
2293 {
2294 'entropy' => '3',
2295 'id' => 'gitlab-kubernetes-agent-token',
2296 'keywords' => [
2297 'glagent-',
2298 ],
2299 'regex' => 'glagent-[0-9a-zA-Z_\-]{50}',
2300 },
2301 {
2302 'entropy' => '3',
2303 'id' => 'gitlab-oauth-app-secret',
2304 'keywords' => [
2305 'gloas-',
2306 ],
2307 'regex' => 'gloas-[0-9a-zA-Z_\-]{64}',
2308 },
2309 {
2310 'entropy' => '3',
2311 'id' => 'gitlab-pat',
2312 'keywords' => [
2313 'glpat-',
2314 ],
2315 'regex' => 'glpat-[\w-]{20}',
2316 },
2317 {
2318 'entropy' => '4',
2319 'id' => 'gitlab-pat-routable',
2320 'keywords' => [
2321 'glpat-',
2322 ],
2323 'regex' => '\bglpat-[0-9a-zA-Z_-]{27,300}\.[0-9a-z]{2}[0-9a-z]{7}\b',
2324 },
2325 {
2326 'entropy' => '3',
2327 'id' => 'gitlab-ptt',
2328 'keywords' => [
2329 'glptt-',
2330 ],
2331 'regex' => 'glptt-[0-9a-f]{40}',
2332 },
2333 {
2334 'entropy' => '3',
2335 'id' => 'gitlab-rrt',
2336 'keywords' => [
2337 'gr1348941',
2338 ],
2339 'regex' => 'GR1348941[\w-]{20}',
2340 },
2341 {
2342 'entropy' => '3',
2343 'id' => 'gitlab-runner-authentication-token',
2344 'keywords' => [
2345 'glrt-',
2346 ],
2347 'regex' => 'glrt-[0-9a-zA-Z_\-]{20}',
2348 },
2349 {
2350 'entropy' => '4',
2351 'id' => 'gitlab-runner-authentication-token-routable',
2352 'keywords' => [
2353 'glrt-',
2354 ],
2355 'regex' => '\bglrt-t\d_[0-9a-zA-Z_\-]{27,300}\.[0-9a-z]{2}[0-9a-z]{7}\b',
2356 },
2357 {
2358 'entropy' => '3',
2359 'id' => 'gitlab-scim-token',
2360 'keywords' => [
2361 'glsoat-',
2362 ],
2363 'regex' => 'glsoat-[0-9a-zA-Z_\-]{20}',
2364 },
2365 {
2366 'entropy' => '3',
2367 'id' => 'gitlab-session-cookie',
2368 'keywords' => [
2369 '_gitlab_session=',
2370 ],
2371 'regex' => '_gitlab_session=[0-9a-z]{32}',
2372 },
2373 {
2374 'id' => 'gitter-access-token',
2375 'keywords' => [
2376 'gitter',
2377 ],
2378 'regex' =>
2379 '(?i)[\w.-]{0,50}?(?:gitter)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9_-]{40})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2380 },
2381 {
2382 'id' => 'gocardless-api-token',
2383 'keywords' => [
2384 'live_',
2385 'gocardless',
2386 ],
2387 'regex' =>
2388 '(?i)[\w.-]{0,50}?(?:gocardless)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}(live_(?i)[a-z0-9\-_=]{40})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2389 },
2390 {
2391 'entropy' => '3',
2392 'id' => 'grafana-api-key',
2393 'keywords' => [
2394 'eyjrijoi',
2395 ],
2396 'regex' =>
2397 '(?i)\b(eyJrIjoi[A-Za-z0-9]{70,400}={0,3})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2398 },
2399 {
2400 'entropy' => '3',
2401 'id' => 'grafana-cloud-api-token',
2402 'keywords' => [
2403 'glc_',
2404 ],
2405 'regex' =>
2406 '(?i)\b(glc_[A-Za-z0-9+/]{32,400}={0,3})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2407 },
2408 {
2409 'entropy' => '3',
2410 'id' => 'grafana-service-account-token',
2411 'keywords' => [
2412 'glsa_',
2413 ],
2414 'regex' =>
2415 '(?i)\b(glsa_[A-Za-z0-9]{32}_[A-Fa-f0-9]{8})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2416 },
2417 {
2418 'id' => 'harness-api-key',
2419 'keywords' => [
2420 'pat.',
2421 'sat.',
2422 ],
2423 'regex' =>
2424 '(?:pat|sat)\.[a-zA-Z0-9_-]{22}\.[a-zA-Z0-9]{24}\.[a-zA-Z0-9]{20}',
2425 },
2426 {
2427 'entropy' => '3.5',
2428 'id' => 'hashicorp-tf-api-token',
2429 'keywords' => [
2430 'atlasv1',
2431 ],
2432 'regex' => '(?i)[a-z0-9]{14}\.(?-i:atlasv1)\.[a-z0-9\-_=]{60,70}',
2433 },
2434 {
2435 'id' => 'heroku-api-key',
2436 'keywords' => [
2437 'heroku',
2438 ],
2439 'regex' =>
2440 '(?i)[\w.-]{0,50}?(?:heroku)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2441 },
2442 {
2443 'entropy' => '4',
2444 'id' => 'heroku-api-key-v2',
2445 'keywords' => [
2446 'hrku-aa',
2447 ],
2448 'regex' => '\b((HRKU-AA[0-9a-zA-Z_-]{58}))(?:[\x60\'"\s;]|\\\[nr]|\z)',
2449 },
2450 {
2451 'id' => 'hubspot-api-key',
2452 'keywords' => [
2453 'hubspot',
2454 ],
2455 'regex' =>
2456 '(?i)[\w.-]{0,50}?(?:hubspot)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2457 },
2458 {
2459 'entropy' => '2',
2460 'id' => 'huggingface-access-token',
2461 'keywords' => [
2462 'hf_',
2463 ],
2464 'regex' => '\b(hf_(?i:[a-z]{34}))(?:[\x60\'"\s;]|\\\[nr]|\z)',
2465 },
2466 {
2467 'entropy' => '2',
2468 'id' => 'huggingface-organization-api-token',
2469 'keywords' => [
2470 'api_org_',
2471 ],
2472 'regex' => '\b(api_org_(?i:[a-z]{34}))(?:[\x60\'"\s;]|\\\[nr]|\z)',
2473 },
2474 {
2475 'entropy' => '3',
2476 'id' => 'infracost-api-token',
2477 'keywords' => [
2478 'ico-',
2479 ],
2480 'regex' => '\b(ico-[a-zA-Z0-9]{32})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2481 },
2482 {
2483 'id' => 'intercom-api-key',
2484 'keywords' => [
2485 'intercom',
2486 ],
2487 'regex' =>
2488 '(?i)[\w.-]{0,50}?(?:intercom)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9=_\-]{60})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2489 },
2490 {
2491 'entropy' => '3',
2492 'id' => 'intra42-client-secret',
2493 'keywords' => [
2494 'intra',
2495 's-s4t2ud-',
2496 's-s4t2af-',
2497 ],
2498 'regex' =>
2499 '\b(s-s4t2(?:ud|af)-(?i)[abcdef0123456789]{64})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2500 },
2501 {
2502 'id' => 'jfrog-api-key',
2503 'keywords' => [
2504 'jfrog',
2505 'artifactory',
2506 'bintray',
2507 'xray',
2508 ],
2509 'regex' =>
2510 '(?i)[\w.-]{0,50}?(?:jfrog|artifactory|bintray|xray)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9]{73})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2511 },
2512 {
2513 'id' => 'jfrog-identity-token',
2514 'keywords' => [
2515 'jfrog',
2516 'artifactory',
2517 'bintray',
2518 'xray',
2519 ],
2520 'regex' =>
2521 '(?i)[\w.-]{0,50}?(?:jfrog|artifactory|bintray|xray)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9]{64})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2522 },
2523 {
2524 'entropy' => '3',
2525 'id' => 'jwt',
2526 'keywords' => [
2527 'ey',
2528 ],
2529 'regex' =>
2530 '\b(ey[a-zA-Z0-9]{17,}\.ey[a-zA-Z0-9\/\\\_-]{17,}\.(?:[a-zA-Z0-9\/\\\_-]{10,}={0,2})?)(?:[\x60\'"\s;]|\\\[nr]|\z)',
2531 },
2532 {
2533 'entropy' => '2',
2534 'id' => 'jwt-base64',
2535 'keywords' => [
2536 'zxlk',
2537 ],
2538 'regex' =>
2539 '\bZXlK(?:(?P<alg>aGJHY2lPaU)|(?P<apu>aGNIVWlPaU)|(?P<apv>aGNIWWlPaU)|(?P<aud>aGRXUWlPaU)|(?P<b64>aU5qUWlP)|(?P<crit>amNtbDBJanBi)|(?P<cty>amRIa2lPaU)|(?P<epk>bGNHc2lPbn)|(?P<enc>bGJtTWlPaU)|(?P<jku>cWEzVWlPaU)|(?P<jwk>cWQyc2lPb)|(?P<iss>cGMzTWlPaU)|(?P<iv>cGRpSTZJ)|(?P<kid>cmFXUWlP)|(?P<key_ops>clpYbGZiM0J6SWpwY)|(?P<kty>cmRIa2lPaUp)|(?P<nonce>dWIyNWpaU0k2)|(?P<p2c>d01tTWlP)|(?P<p2s>d01uTWlPaU)|(?P<ppt>d2NIUWlPaU)|(?P<sub>emRXSWlPaU)|(?P<svt>emRuUWlP)|(?P<tag>MFlXY2lPaU)|(?P<typ>MGVYQWlPaUp)|(?P<url>MWNtd2l)|(?P<use>MWMyVWlPaUp)|(?P<ver>MlpYSWlPaU)|(?P<version>MlpYSnphVzl1SWpv)|(?P<x>NElqb2)|(?P<x5c>NE5XTWlP)|(?P<x5t>NE5YUWlPaU)|(?P<x5ts256>NE5YUWpVekkxTmlJNkl)|(?P<x5u>NE5YVWlPaU)|(?P<zip>NmFYQWlPaU))[a-zA-Z0-9\/\\\_+\-\r\n]{40,}={0,2}',
2540 },
2541 {
2542 'id' => 'kraken-access-token',
2543 'keywords' => [
2544 'kraken',
2545 ],
2546 'regex' =>
2547 '(?i)[\w.-]{0,50}?(?:kraken)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9\/=_\+\-]{80,90})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2548 },
2549 {
2550 'id' => 'kucoin-access-token',
2551 'keywords' => [
2552 'kucoin',
2553 ],
2554 'regex' =>
2555 '(?i)[\w.-]{0,50}?(?:kucoin)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-f0-9]{24})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2556 },
2557 {
2558 'id' => 'kucoin-secret-key',
2559 'keywords' => [
2560 'kucoin',
2561 ],
2562 'regex' =>
2563 '(?i)[\w.-]{0,50}?(?:kucoin)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2564 },
2565 {
2566 'id' => 'launchdarkly-access-token',
2567 'keywords' => [
2568 'launchdarkly',
2569 ],
2570 'regex' =>
2571 '(?i)[\w.-]{0,50}?(?:launchdarkly)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9=_\-]{40})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2572 },
2573 {
2574 'entropy' => '2',
2575 'id' => 'linear-api-key',
2576 'keywords' => [
2577 'lin_api_',
2578 ],
2579 'regex' => 'lin_api_(?i)[a-z0-9]{40}',
2580 },
2581 {
2582 'entropy' => '2',
2583 'id' => 'linear-client-secret',
2584 'keywords' => [
2585 'linear',
2586 ],
2587 'regex' =>
2588 '(?i)[\w.-]{0,50}?(?:linear)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-f0-9]{32})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2589 },
2590 {
2591 'entropy' => '2',
2592 'id' => 'linkedin-client-id',
2593 'keywords' => [
2594 'linkedin',
2595 'linked_in',
2596 'linked-in',
2597 ],
2598 'regex' =>
2599 '(?i)[\w.-]{0,50}?(?:linked[_-]?in)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9]{14})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2600 },
2601 {
2602 'entropy' => '2',
2603 'id' => 'linkedin-client-secret',
2604 'keywords' => [
2605 'linkedin',
2606 'linked_in',
2607 'linked-in',
2608 ],
2609 'regex' =>
2610 '(?i)[\w.-]{0,50}?(?:linked[_-]?in)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9]{16})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2611 },
2612 {
2613 'id' => 'lob-api-key',
2614 'keywords' => [
2615 'test_',
2616 'live_',
2617 ],
2618 'regex' =>
2619 '(?i)[\w.-]{0,50}?(?:lob)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}((live|test)_[a-f0-9]{35})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2620 },
2621 {
2622 'id' => 'lob-pub-api-key',
2623 'keywords' => [
2624 'test_pub',
2625 'live_pub',
2626 '_pub',
2627 ],
2628 'regex' =>
2629 '(?i)[\w.-]{0,50}?(?:lob)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}((test|live)_pub_[a-f0-9]{31})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2630 },
2631 {
2632 'id' => 'looker-client-id',
2633 'keywords' => [
2634 'looker',
2635 ],
2636 'regex' =>
2637 '(?i)[\w.-]{0,50}?(?:looker)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9]{20})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2638 },
2639 {
2640 'id' => 'looker-client-secret',
2641 'keywords' => [
2642 'looker',
2643 ],
2644 'regex' =>
2645 '(?i)[\w.-]{0,50}?(?:looker)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9]{24})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2646 },
2647 {
2648 'id' => 'mailchimp-api-key',
2649 'keywords' => [
2650 'mailchimp',
2651 ],
2652 'regex' =>
2653 '(?i)[\w.-]{0,50}?(?:MailchimpSDK.initialize|mailchimp)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-f0-9]{32}-us\d\d)(?:[\x60\'"\s;]|\\\[nr]|\z)',
2654 },
2655 {
2656 'id' => 'mailgun-private-api-token',
2657 'keywords' => [
2658 'mailgun',
2659 ],
2660 'regex' =>
2661 '(?i)[\w.-]{0,50}?(?:mailgun)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}(key-[a-f0-9]{32})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2662 },
2663 {
2664 'id' => 'mailgun-pub-key',
2665 'keywords' => [
2666 'mailgun',
2667 ],
2668 'regex' =>
2669 '(?i)[\w.-]{0,50}?(?:mailgun)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}(pubkey-[a-f0-9]{32})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2670 },
2671 {
2672 'id' => 'mailgun-signing-key',
2673 'keywords' => [
2674 'mailgun',
2675 ],
2676 'regex' =>
2677 '(?i)[\w.-]{0,50}?(?:mailgun)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-h0-9]{32}-[a-h0-9]{8}-[a-h0-9]{8})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2678 },
2679 {
2680 'id' => 'mapbox-api-token',
2681 'keywords' => [
2682 'mapbox',
2683 ],
2684 'regex' =>
2685 '(?i)[\w.-]{0,50}?(?:mapbox)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}(pk\.[a-z0-9]{60}\.[a-z0-9]{22})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2686 },
2687 {
2688 'id' => 'mattermost-access-token',
2689 'keywords' => [
2690 'mattermost',
2691 ],
2692 'regex' =>
2693 '(?i)[\w.-]{0,50}?(?:mattermost)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9]{26})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2694 },
2695 {
2696 'entropy' => '4',
2697 'id' => 'maxmind-license-key',
2698 'keywords' => [
2699 '_mmk',
2700 ],
2701 'regex' =>
2702 '\b([A-Za-z0-9]{6}_[A-Za-z0-9]{29}_mmk)(?:[\x60\'"\s;]|\\\[nr]|\z)',
2703 },
2704 {
2705 'id' => 'messagebird-api-token',
2706 'keywords' => [
2707 'messagebird',
2708 'message-bird',
2709 'message_bird',
2710 ],
2711 'regex' =>
2712 '(?i)[\w.-]{0,50}?(?:message[_-]?bird)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9]{25})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2713 },
2714 {
2715 'id' => 'messagebird-client-id',
2716 'keywords' => [
2717 'messagebird',
2718 'message-bird',
2719 'message_bird',
2720 ],
2721 'regex' =>
2722 '(?i)[\w.-]{0,50}?(?:message[_-]?bird)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2723 },
2724 {
2725 'id' => 'microsoft-teams-webhook',
2726 'keywords' => [
2727 'webhook.office.com',
2728 'webhookb2',
2729 'incomingwebhook',
2730 ],
2731 'regex' =>
2732 'https://[a-z0-9]+\.webhook\.office\.com/webhookb2/[a-z0-9]{8}-([a-z0-9]{4}-){3}[a-z0-9]{12}@[a-z0-9]{8}-([a-z0-9]{4}-){3}[a-z0-9]{12}/IncomingWebhook/[a-z0-9]{32}/[a-z0-9]{8}-([a-z0-9]{4}-){3}[a-z0-9]{12}',
2733 },
2734 {
2735 'id' => 'netlify-access-token',
2736 'keywords' => [
2737 'netlify',
2738 ],
2739 'regex' =>
2740 '(?i)[\w.-]{0,50}?(?:netlify)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9=_\-]{40,46})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2741 },
2742 {
2743 'id' => 'new-relic-browser-api-token',
2744 'keywords' => [
2745 'nrjs-',
2746 ],
2747 'regex' =>
2748 '(?i)[\w.-]{0,50}?(?:new-relic|newrelic|new_relic)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}(NRJS-[a-f0-9]{19})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2749 },
2750 {
2751 'id' => 'new-relic-insert-key',
2752 'keywords' => [
2753 'nrii-',
2754 ],
2755 'regex' =>
2756 '(?i)[\w.-]{0,50}?(?:new-relic|newrelic|new_relic)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}(NRII-[a-z0-9-]{32})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2757 },
2758 {
2759 'id' => 'new-relic-user-api-id',
2760 'keywords' => [
2761 'new-relic',
2762 'newrelic',
2763 'new_relic',
2764 ],
2765 'regex' =>
2766 '(?i)[\w.-]{0,50}?(?:new-relic|newrelic|new_relic)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9]{64})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2767 },
2768 {
2769 'id' => 'new-relic-user-api-key',
2770 'keywords' => [
2771 'nrak',
2772 ],
2773 'regex' =>
2774 '(?i)[\w.-]{0,50}?(?:new-relic|newrelic|new_relic)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}(NRAK-[a-z0-9]{27})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2775 },
2776 {
2777 'entropy' => '4',
2778 'id' => 'notion-api-token',
2779 'keywords' => [
2780 'ntn_',
2781 ],
2782 'regex' =>
2783 '\b(ntn_[0-9]{11}[A-Za-z0-9]{32}[A-Za-z0-9]{3})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2784 },
2785 {
2786 'entropy' => '2',
2787 'id' => 'npm-access-token',
2788 'keywords' => [
2789 'npm_',
2790 ],
2791 'regex' => '(?i)\b(npm_[a-z0-9]{36})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2792 },
2793 {
2794 'id' => 'nytimes-access-token',
2795 'keywords' => [
2796 'nytimes',
2797 'new-york-times',
2798 'newyorktimes',
2799 ],
2800 'regex' =>
2801 '(?i)[\w.-]{0,50}?(?:nytimes|new-york-times,|newyorktimes)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9=_\-]{32})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2802 },
2803 {
2804 'entropy' => '3',
2805 'id' => 'octopus-deploy-api-key',
2806 'keywords' => [
2807 'api-',
2808 ],
2809 'regex' => '\b(API-[A-Z0-9]{26})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2810 },
2811 {
2812 'entropy' => '4',
2813 'id' => 'okta-access-token',
2814 'keywords' => [
2815 'okta',
2816 ],
2817 'regex' =>
2818 '(?i:[\w.-]{0,100}?(?:(?-i:[Oo]kta|OKTA))(?:[ \t\w.-]{0,20})[\s\'"]{0,3})(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}(00[\w=\-]{40})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2819 },
2820 {
2821 'entropy' => '3',
2822 'id' => 'openai-api-key',
2823 'keywords' => [
2824 't3blbkfj',
2825 ],
2826 'regex' =>
2827 '\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})\b|sk-[a-zA-Z0-9]{20}T3BlbkFJ[a-zA-Z0-9]{20})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2828 },
2829 {
2830 'entropy' => '3.5',
2831 'id' => 'openshift-user-token',
2832 'keywords' => [
2833 'sha256~',
2834 ],
2835 'regex' => '\b(sha256~[\w-]{43})(?:[^\w-]|\z)',
2836 },
2837 {
2838 'entropy' => '4',
2839 'id' => 'perplexity-api-key',
2840 'keywords' => [
2841 'pplx-',
2842 ],
2843 'regex' => '\b(pplx-[a-zA-Z0-9]{48})(?:[\x60\'"\s;]|\\\[nr]|\z|\b)',
2844 },
2845 {
2846 'id' => 'plaid-api-token',
2847 'keywords' => [
2848 'plaid',
2849 ],
2850 'regex' =>
2851 '(?i)[\w.-]{0,50}?(?:plaid)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}(access-(?:sandbox|development|production)-[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2852 },
2853 {
2854 'entropy' => '3.5',
2855 'id' => 'plaid-client-id',
2856 'keywords' => [
2857 'plaid',
2858 ],
2859 'regex' =>
2860 '(?i)[\w.-]{0,50}?(?:plaid)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9]{24})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2861 },
2862 {
2863 'entropy' => '3.5',
2864 'id' => 'plaid-secret-key',
2865 'keywords' => [
2866 'plaid',
2867 ],
2868 'regex' =>
2869 '(?i)[\w.-]{0,50}?(?:plaid)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9]{30})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2870 },
2871 {
2872 'entropy' => '3',
2873 'id' => 'planetscale-api-token',
2874 'keywords' => [
2875 'pscale_tkn_',
2876 ],
2877 'regex' => '\b(pscale_tkn_(?i)[\w=\.-]{32,64})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2878 },
2879 {
2880 'entropy' => '3',
2881 'id' => 'planetscale-oauth-token',
2882 'keywords' => [
2883 'pscale_oauth_',
2884 ],
2885 'regex' => '\b(pscale_oauth_[\w=\.-]{32,64})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2886 },
2887 {
2888 'entropy' => '3',
2889 'id' => 'planetscale-password',
2890 'keywords' => [
2891 'pscale_pw_',
2892 ],
2893 'regex' =>
2894 '(?i)\b(pscale_pw_(?i)[\w=\.-]{32,64})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2895 },
2896 {
2897 'entropy' => '3',
2898 'id' => 'postman-api-token',
2899 'keywords' => [
2900 'pmak-',
2901 ],
2902 'regex' =>
2903 '\b(PMAK-(?i)[a-f0-9]{24}\-[a-f0-9]{34})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2904 },
2905 {
2906 'entropy' => '2',
2907 'id' => 'prefect-api-token',
2908 'keywords' => [
2909 'pnu_',
2910 ],
2911 'regex' => '\b(pnu_[a-zA-Z0-9]{36})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2912 },
2913 {
2914 'id' => 'private-key',
2915 'keywords' => [
2916 '-----begin',
2917 ],
2918 'regex' =>
2919 '(?i)-----BEGIN[ A-Z0-9_-]{0,100}PRIVATE KEY(?: BLOCK)?-----[\s\S-]{64,}?KEY(?: BLOCK)?-----',
2920 },
2921 {
2922 'entropy' => '3',
2923 'id' => 'privateai-api-token',
2924 'keywords' => [
2925 'privateai',
2926 'private_ai',
2927 'private-ai',
2928 ],
2929 'regex' =>
2930 '(?i:[\w.-]{0,100}?(?:private[_-]?ai)(?:[ \t\w.-]{0,20})[\s\'"]{0,3})(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9]{32})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2931 },
2932 {
2933 'entropy' => '2',
2934 'id' => 'pulumi-api-token',
2935 'keywords' => [
2936 'pul-',
2937 ],
2938 'regex' => '\b(pul-[a-f0-9]{40})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2939 },
2940 {
2941 'entropy' => '3',
2942 'id' => 'pypi-upload-token',
2943 'keywords' => [
2944 'pypi-ageichlwas5vcmc',
2945 ],
2946 'regex' => 'pypi-AgEIcHlwaS5vcmc[\w-]{50,1000}',
2947 },
2948 {
2949 'id' => 'rapidapi-access-token',
2950 'keywords' => [
2951 'rapidapi',
2952 ],
2953 'regex' =>
2954 '(?i)[\w.-]{0,50}?(?:rapidapi)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9_-]{50})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2955 },
2956 {
2957 'entropy' => '2',
2958 'id' => 'readme-api-token',
2959 'keywords' => [
2960 'rdme_',
2961 ],
2962 'regex' => '\b(rdme_[a-z0-9]{70})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2963 },
2964 {
2965 'entropy' => '2',
2966 'id' => 'rubygems-api-token',
2967 'keywords' => [
2968 'rubygems_',
2969 ],
2970 'regex' => '\b(rubygems_[a-f0-9]{48})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2971 },
2972 {
2973 'entropy' => '2',
2974 'id' => 'scalingo-api-token',
2975 'keywords' => [
2976 'tk-us-',
2977 ],
2978 'regex' => '\b(tk-us-[\w-]{48})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2979 },
2980 {
2981 'id' => 'sendbird-access-id',
2982 'keywords' => [
2983 'sendbird',
2984 ],
2985 'regex' =>
2986 '(?i)[\w.-]{0,50}?(?:sendbird)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2987 },
2988 {
2989 'id' => 'sendbird-access-token',
2990 'keywords' => [
2991 'sendbird',
2992 ],
2993 'regex' =>
2994 '(?i)[\w.-]{0,50}?(?:sendbird)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-f0-9]{40})(?:[\x60\'"\s;]|\\\[nr]|\z)',
2995 },
2996 {
2997 'entropy' => '2',
2998 'id' => 'sendgrid-api-token',
2999 'keywords' => [
3000 'sg.',
3001 ],
3002 'regex' => '\b(SG\.(?i)[a-z0-9=_\-\.]{66})(?:[\x60\'"\s;]|\\\[nr]|\z)',
3003 },
3004 {
3005 'entropy' => '2',
3006 'id' => 'sendinblue-api-token',
3007 'keywords' => [
3008 'xkeysib-',
3009 ],
3010 'regex' =>
3011 '\b(xkeysib-[a-f0-9]{64}\-(?i)[a-z0-9]{16})(?:[\x60\'"\s;]|\\\[nr]|\z)',
3012 },
3013 {
3014 'entropy' => '3',
3015 'id' => 'sentry-access-token',
3016 'keywords' => [
3017 'sentry',
3018 ],
3019 'regex' =>
3020 '(?i)[\w.-]{0,50}?(?:sentry)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-f0-9]{64})(?:[\x60\'"\s;]|\\\[nr]|\z)',
3021 },
3022 {
3023 'entropy' => '4.5',
3024 'id' => 'sentry-org-token',
3025 'keywords' => [
3026 'sntrys_eyjpyxqio',
3027 ],
3028 'regex' =>
3029 '\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+/]|\z)',
3030 },
3031 {
3032 'entropy' => '3.5',
3033 'id' => 'sentry-user-token',
3034 'keywords' => [
3035 'sntryu_',
3036 ],
3037 'regex' => '\b(sntryu_[a-f0-9]{64})(?:[\x60\'"\s;]|\\\[nr]|\z)',
3038 },
3039 {
3040 'entropy' => '3',
3041 'id' => 'settlemint-application-access-token',
3042 'keywords' => [
3043 'sm_aat',
3044 ],
3045 'regex' => '\b(sm_aat_[a-zA-Z0-9]{16})(?:[\x60\'"\s;]|\\\[nr]|\z)',
3046 },
3047 {
3048 'entropy' => '3',
3049 'id' => 'settlemint-personal-access-token',
3050 'keywords' => [
3051 'sm_pat',
3052 ],
3053 'regex' => '\b(sm_pat_[a-zA-Z0-9]{16})(?:[\x60\'"\s;]|\\\[nr]|\z)',
3054 },
3055 {
3056 'entropy' => '3',
3057 'id' => 'settlemint-service-access-token',
3058 'keywords' => [
3059 'sm_sat',
3060 ],
3061 'regex' => '\b(sm_sat_[a-zA-Z0-9]{16})(?:[\x60\'"\s;]|\\\[nr]|\z)',
3062 },
3063 {
3064 'entropy' => '2',
3065 'id' => 'shippo-api-token',
3066 'keywords' => [
3067 'shippo_',
3068 ],
3069 'regex' =>
3070 '\b(shippo_(?:live|test)_[a-fA-F0-9]{40})(?:[\x60\'"\s;]|\\\[nr]|\z)',
3071 },
3072 {
3073 'entropy' => '2',
3074 'id' => 'shopify-access-token',
3075 'keywords' => [
3076 'shpat_',
3077 ],
3078 'regex' => 'shpat_[a-fA-F0-9]{32}',
3079 },
3080 {
3081 'entropy' => '2',
3082 'id' => 'shopify-custom-access-token',
3083 'keywords' => [
3084 'shpca_',
3085 ],
3086 'regex' => 'shpca_[a-fA-F0-9]{32}',
3087 },
3088 {
3089 'entropy' => '2',
3090 'id' => 'shopify-private-app-access-token',
3091 'keywords' => [
3092 'shppa_',
3093 ],
3094 'regex' => 'shppa_[a-fA-F0-9]{32}',
3095 },
3096 {
3097 'entropy' => '2',
3098 'id' => 'shopify-shared-secret',
3099 'keywords' => [
3100 'shpss_',
3101 ],
3102 'regex' => 'shpss_[a-fA-F0-9]{32}',
3103 },
3104 {
3105 'id' => 'sidekiq-secret',
3106 'keywords' => [
3107 'bundle_enterprise__contribsys__com',
3108 'bundle_gems__contribsys__com',
3109 ],
3110 'regex' =>
3111 '(?i)[\w.-]{0,50}?(?:BUNDLE_ENTERPRISE__CONTRIBSYS__COM|BUNDLE_GEMS__CONTRIBSYS__COM)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-f0-9]{8}:[a-f0-9]{8})(?:[\x60\'"\s;]|\\\[nr]|\z)',
3112 },
3113 {
3114 'id' => 'sidekiq-sensitive-url',
3115 'keywords' => [
3116 'gems.contribsys.com',
3117 'enterprise.contribsys.com',
3118 ],
3119 'regex' =>
3120 '(?i)\bhttps?://([a-f0-9]{8}:[a-f0-9]{8})@(?:gems.contribsys.com|enterprise.contribsys.com)(?:[\/|\#|\?|:]|\z)',
3121 },
3122 {
3123 'entropy' => '2',
3124 'id' => 'slack-app-token',
3125 'keywords' => [
3126 'xapp',
3127 ],
3128 'regex' => '(?i)xapp-\d-[A-Z0-9]+-\d+-[a-z0-9]+',
3129 },
3130 {
3131 'entropy' => '3',
3132 'id' => 'slack-bot-token',
3133 'keywords' => [
3134 'xoxb',
3135 ],
3136 'regex' => 'xoxb-[0-9]{10,13}-[0-9]{10,13}[a-zA-Z0-9-]*',
3137 },
3138 {
3139 'entropy' => '2',
3140 'id' => 'slack-config-access-token',
3141 'keywords' => [
3142 'xoxe.xoxb-',
3143 'xoxe.xoxp-',
3144 ],
3145 'regex' => '(?i)xoxe.xox[bp]-\d-[A-Z0-9]{163,166}',
3146 },
3147 {
3148 'entropy' => '2',
3149 'id' => 'slack-config-refresh-token',
3150 'keywords' => [
3151 'xoxe-',
3152 ],
3153 'regex' => '(?i)xoxe-\d-[A-Z0-9]{146}',
3154 },
3155 {
3156 'entropy' => '2',
3157 'id' => 'slack-legacy-bot-token',
3158 'keywords' => [
3159 'xoxb',
3160 ],
3161 'regex' => 'xoxb-[0-9]{8,14}-[a-zA-Z0-9]{18,26}',
3162 },
3163 {
3164 'entropy' => '2',
3165 'id' => 'slack-legacy-token',
3166 'keywords' => [
3167 'xoxo',
3168 'xoxs',
3169 ],
3170 'regex' => 'xox[os]-\d+-\d+-\d+-[a-fA-F\d]+',
3171 },
3172 {
3173 'entropy' => '2',
3174 'id' => 'slack-legacy-workspace-token',
3175 'keywords' => [
3176 'xoxa',
3177 'xoxr',
3178 ],
3179 'regex' => 'xox[ar]-(?:\d-)?[0-9a-zA-Z]{8,48}',
3180 },
3181 {
3182 'entropy' => '2',
3183 'id' => 'slack-user-token',
3184 'keywords' => [
3185 'xoxp-',
3186 'xoxe-',
3187 ],
3188 'regex' => 'xox[pe](?:-[0-9]{10,13}){3}-[a-zA-Z0-9-]{28,34}',
3189 },
3190 {
3191 'id' => 'slack-webhook-url',
3192 'keywords' => [
3193 'hooks.slack.com',
3194 ],
3195 'regex' =>
3196 '(?:https?://)?hooks.slack.com/(?:services|workflows|triggers)/[A-Za-z0-9+/]{43,56}',
3197 },
3198 {
3199 'id' => 'snyk-api-token',
3200 'keywords' => [
3201 'snyk',
3202 ],
3203 'regex' =>
3204 '(?i)[\w.-]{0,50}?(?:snyk[_.-]?(?:(?:api|oauth)[_.-]?)?(?:key|token))(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})(?:[\x60\'"\s;]|\\\[nr]|\z)',
3205 },
3206 {
3207 'id' => 'sonar-api-token',
3208 'keywords' => [
3209 'sonar',
3210 ],
3211 'regex' =>
3212 '(?i)[\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;]|\\\[nr]|\z)',
3213 'secret_group' => '2',
3214 },
3215 {
3216 'entropy' => '3',
3217 'id' => 'sourcegraph-access-token',
3218 'keywords' => [
3219 'sgp_',
3220 'sourcegraph',
3221 ],
3222 'regex' =>
3223 '(?i)\b(\b(sgp_(?:[a-fA-F0-9]{16}|local)_[a-fA-F0-9]{40}|sgp_[a-fA-F0-9]{40}|[a-fA-F0-9]{40})\b)(?:[\x60\'"\s;]|\\\[nr]|\z)',
3224 },
3225 {
3226 'entropy' => '2',
3227 'id' => 'square-access-token',
3228 'keywords' => [
3229 'sq0atp-',
3230 'eaaa',
3231 ],
3232 'regex' => '\b((?:EAAA|sq0atp-)[\w-]{22,60})(?:[\x60\'"\s;]|\\\[nr]|\z)',
3233 },
3234 {
3235 'id' => 'squarespace-access-token',
3236 'keywords' => [
3237 'squarespace',
3238 ],
3239 'regex' =>
3240 '(?i)[\w.-]{0,50}?(?:squarespace)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})(?:[\x60\'"\s;]|\\\[nr]|\z)',
3241 },
3242 {
3243 'entropy' => '2',
3244 'id' => 'stripe-access-token',
3245 'keywords' => [
3246 'sk_test',
3247 'sk_live',
3248 'sk_prod',
3249 'rk_test',
3250 'rk_live',
3251 'rk_prod',
3252 ],
3253 'regex' =>
3254 '\b((?:sk|rk)_(?:test|live|prod)_[a-zA-Z0-9]{10,99})(?:[\x60\'"\s;]|\\\[nr]|\z)',
3255 },
3256 {
3257 'entropy' => '3',
3258 'id' => 'sumologic-access-id',
3259 'keywords' => [
3260 'sumo',
3261 ],
3262 'regex' =>
3263 '(?i:[\w.-]{0,100}?(?:(?-i:[Ss]umo|SUMO))(?:[ \t\w.-]{0,20})[\s\'"]{0,3})(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}(su[a-zA-Z0-9]{12})(?:[\x60\'"\s;]|\\\[nr]|\z)',
3264 },
3265 {
3266 'entropy' => '3',
3267 'id' => 'sumologic-access-token',
3268 'keywords' => [
3269 'sumo',
3270 ],
3271 'regex' =>
3272 '(?i)[\w.-]{0,50}?(?:(?-i:[Ss]umo|SUMO))(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9]{64})(?:[\x60\'"\s;]|\\\[nr]|\z)',
3273 },
3274 {
3275 'id' => 'telegram-bot-api-token',
3276 'keywords' => [
3277 'telegr',
3278 ],
3279 'regex' =>
3280 '(?i)[\w.-]{0,50}?(?:telegr)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([0-9]{5,16}:(?-i:A)[a-z0-9_\-]{34})(?:[\x60\'"\s;]|\\\[nr]|\z)',
3281 },
3282 {
3283 'id' => 'travisci-access-token',
3284 'keywords' => [
3285 'travis',
3286 ],
3287 'regex' =>
3288 '(?i)[\w.-]{0,50}?(?:travis)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9]{22})(?:[\x60\'"\s;]|\\\[nr]|\z)',
3289 },
3290 {
3291 'entropy' => '3',
3292 'id' => 'twilio-api-key',
3293 'keywords' => [
3294 'sk',
3295 ],
3296 'regex' => 'SK[0-9a-fA-F]{32}',
3297 },
3298 {
3299 'id' => 'twitch-api-token',
3300 'keywords' => [
3301 'twitch',
3302 ],
3303 'regex' =>
3304 '(?i)[\w.-]{0,50}?(?:twitch)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9]{30})(?:[\x60\'"\s;]|\\\[nr]|\z)',
3305 },
3306 {
3307 'id' => 'twitter-access-secret',
3308 'keywords' => [
3309 'twitter',
3310 ],
3311 'regex' =>
3312 '(?i)[\w.-]{0,50}?(?:twitter)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9]{45})(?:[\x60\'"\s;]|\\\[nr]|\z)',
3313 },
3314 {
3315 'id' => 'twitter-access-token',
3316 'keywords' => [
3317 'twitter',
3318 ],
3319 'regex' =>
3320 '(?i)[\w.-]{0,50}?(?:twitter)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([0-9]{15,25}-[a-zA-Z0-9]{20,40})(?:[\x60\'"\s;]|\\\[nr]|\z)',
3321 },
3322 {
3323 'id' => 'twitter-api-key',
3324 'keywords' => [
3325 'twitter',
3326 ],
3327 'regex' =>
3328 '(?i)[\w.-]{0,50}?(?:twitter)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9]{25})(?:[\x60\'"\s;]|\\\[nr]|\z)',
3329 },
3330 {
3331 'id' => 'twitter-api-secret',
3332 'keywords' => [
3333 'twitter',
3334 ],
3335 'regex' =>
3336 '(?i)[\w.-]{0,50}?(?:twitter)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9]{50})(?:[\x60\'"\s;]|\\\[nr]|\z)',
3337 },
3338 {
3339 'id' => 'twitter-bearer-token',
3340 'keywords' => [
3341 'twitter',
3342 ],
3343 'regex' =>
3344 '(?i)[\w.-]{0,50}?(?:twitter)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}(A{22}[a-zA-Z0-9%]{80,100})(?:[\x60\'"\s;]|\\\[nr]|\z)',
3345 },
3346 {
3347 'id' => 'typeform-api-token',
3348 'keywords' => [
3349 'tfp_',
3350 ],
3351 'regex' =>
3352 '(?i)[\w.-]{0,50}?(?:typeform)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}(tfp_[a-z0-9\-_\.=]{59})(?:[\x60\'"\s;]|\\\[nr]|\z)',
3353 },
3354 {
3355 'entropy' => '4',
3356 'id' => 'vault-batch-token',
3357 'keywords' => [
3358 'hvb.',
3359 ],
3360 'regex' => '\b(hvb\.[\w-]{138,300})(?:[\x60\'"\s;]|\\\[nr]|\z)',
3361 },
3362 {
3363 'allowlists' => [{
3364 'regexes' => [
3365 's\.[A-Za-z]{24}',
3366 ],
3367 }],
3368 'entropy' => '3.5',
3369 'id' => 'vault-service-token',
3370 'keywords' => [
3371 'hvs.',
3372 's.',
3373 ],
3374 'regex' =>
3375 '\b((?:hvs\.[\w-]{90,120}|s\.(?i:[a-z0-9]{24})))(?:[\x60\'"\s;]|\\\[nr]|\z)',
3376 },
3377 {
3378 'id' => 'yandex-access-token',
3379 'keywords' => [
3380 'yandex',
3381 ],
3382 'regex' =>
3383 '(?i)[\w.-]{0,50}?(?:yandex)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}(t1\.[A-Z0-9a-z_-]+[=]{0,2}\.[A-Z0-9a-z_-]{86}[=]{0,2})(?:[\x60\'"\s;]|\\\[nr]|\z)',
3384 },
3385 {
3386 'id' => 'yandex-api-key',
3387 'keywords' => [
3388 'yandex',
3389 ],
3390 'regex' =>
3391 '(?i)[\w.-]{0,50}?(?:yandex)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}(AQVN[A-Za-z0-9_\-]{35,38})(?:[\x60\'"\s;]|\\\[nr]|\z)',
3392 },
3393 {
3394 'id' => 'yandex-aws-access-token',
3395 'keywords' => [
3396 'yandex',
3397 ],
3398 'regex' =>
3399 '(?i)[\w.-]{0,50}?(?:yandex)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}(YC[a-zA-Z0-9_\-]{38})(?:[\x60\'"\s;]|\\\[nr]|\z)',
3400 },
3401 {
3402 'id' => 'zendesk-secret-key',
3403 'keywords' => [
3404 'zendesk',
3405 ],
3406 'regex' =>
3407 '(?i)[\w.-]{0,50}?(?:zendesk)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9]{40})(?:[\x60\'"\s;]|\\\[nr]|\z)',
3408 },
3409 ];
3410 }
3411  
3412 5 1;
3413  
3414 __END__
« Secrets/Rules/Dist.pm ↑ Summary