Skip to content

Commit fd39a49

Browse files
committed
ml config preparation [no ci]
1 parent 0cdf032 commit fd39a49

File tree

1 file changed

+60
-11
lines changed

1 file changed

+60
-11
lines changed

credsweeper/ml_model/ml_config.json

Lines changed: 60 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,14 @@
7070
"attribute": "value"
7171
}
7272
},
73+
{
74+
"type": "SearchInAttribute",
75+
"comment": "ASN1 prefix for PEM keys",
76+
"kwargs": {
77+
"pattern": "MII",
78+
"attribute": "value"
79+
}
80+
},
7381
{
7482
"type": "SearchInAttribute",
7583
"comment": "camelStyle naming detection",
@@ -139,15 +147,25 @@
139147
"kwargs": {
140148
"words": [
141149
" ",
150+
".",
151+
"#",
142152
"/",
143153
"_at",
144154
"_id",
145155
"_len",
156+
"256",
157+
"512",
146158
"access",
147159
"cache",
148160
"client",
149161
"control",
150-
"encrypted",
162+
"crypt",
163+
"crypted",
164+
"decrypt",
165+
"encrypt",
166+
"dummy",
167+
"disable",
168+
"changeme",
151169
"example",
152170
"expire",
153171
"fake",
@@ -173,6 +191,7 @@
173191
"pw",
174192
"secret",
175193
"size",
194+
"sha",
176195
"space",
177196
"status",
178197
"sword",
@@ -195,6 +214,7 @@
195214
"kwargs": {
196215
"words": [
197216
" ",
217+
":",
198218
"$(",
199219
"${",
200220
"(",
@@ -207,25 +227,37 @@
207227
"[",
208228
"_id",
209229
"abc",
230+
"aaaa",
210231
"allow",
232+
"arn:aws:",
211233
"bar",
212234
"disable",
213235
"changeme",
236+
"crypt",
237+
"crypted",
238+
"decrypt",
239+
"encrypt",
214240
"example",
215241
"fake",
216242
"file",
217243
"foo",
244+
"hash",
245+
"hex",
246+
"key",
218247
"min",
219248
"mock",
220249
"my",
221250
"nil",
222251
"pass",
223-
"passwd",
224-
"password",
225-
"pswd",
226252
"public",
227253
"pwd",
254+
"rsa-",
255+
"salt",
256+
"secret",
257+
"sha",
258+
"ssh",
228259
"test",
260+
"word",
229261
"xxx",
230262
"xyz"
231263
]
@@ -248,9 +280,12 @@
248280
"@",
249281
"[",
250282
"approval",
283+
"arn:aws:",
251284
"assert",
252285
"case",
253286
"circle",
287+
"color",
288+
"e.g.",
254289
"equal",
255290
"example",
256291
"expect",
@@ -263,15 +298,15 @@
263298
"none",
264299
"null",
265300
"pass",
266-
"password",
267301
"path",
268302
"pwd",
269303
"sqa",
270304
"test",
271305
"true",
272306
"undefined",
273307
"unit",
274-
"width"
308+
"width",
309+
"word"
275310
]
276311
}
277312
},
@@ -284,11 +319,15 @@
284319
"&",
285320
"(",
286321
"->",
322+
"=>",
287323
".",
324+
",",
288325
"?",
289326
"@",
290327
"[",
291328
"bearer",
329+
"get",
330+
"e.g.",
292331
"equal",
293332
"example",
294333
"expect",
@@ -321,6 +360,8 @@
321360
"assert",
322361
"case",
323362
"circle",
363+
"color",
364+
"e.g.",
324365
"equal",
325366
"example",
326367
"expect",
@@ -333,16 +374,15 @@
333374
"none",
334375
"null",
335376
"pass",
336-
"passwd",
337-
"password",
338377
"path",
339378
"pwd",
340379
"sqa",
341380
"test",
342381
"true",
343382
"undefined",
344383
"unit",
345-
"width"
384+
"width",
385+
"word"
346386
]
347387
}
348388
},
@@ -378,6 +418,7 @@
378418
"kwargs": {
379419
"extensions": [
380420
"",
421+
".04",
381422
".1",
382423
".adoc",
383424
".asciidoc",
@@ -386,17 +427,16 @@
386427
".bat",
387428
".bats",
388429
".bazel",
389-
".bin",
390430
".build",
391431
".bundle",
392432
".bzl",
393433
".c",
434+
".cast",
394435
".cc",
395436
".cf",
396437
".cjs",
397438
".cljc",
398439
".cmd",
399-
".cmm",
400440
".cnf",
401441
".coffee",
402442
".conf",
@@ -409,6 +449,7 @@
409449
".dist",
410450
".doc",
411451
".dockerfile",
452+
".edited",
412453
".eex",
413454
".env",
414455
".erb",
@@ -424,7 +465,9 @@
424465
".go",
425466
".golden",
426467
".gradle",
468+
".graphql",
427469
".groovy",
470+
".gtpl",
428471
".h",
429472
".haml",
430473
".hs",
@@ -456,6 +499,7 @@
456499
".lua",
457500
".m",
458501
".manifest",
502+
".markdown",
459503
".markerb",
460504
".md",
461505
".mdx",
@@ -471,6 +515,7 @@
471515
".odd",
472516
".onnx",
473517
".oracle",
518+
".original",
474519
".pan",
475520
".patch",
476521
".php",
@@ -488,17 +533,20 @@
488533
".purs",
489534
".pxd",
490535
".py",
536+
".pyi",
491537
".pyx",
492538
".r",
493539
".rake",
494540
".rb",
495541
".re",
496542
".red",
543+
".response",
497544
".resx",
498545
".rexx",
499546
".rnh",
500547
".rrc",
501548
".rs",
549+
".rsa",
502550
".rsp",
503551
".rst",
504552
".rules",
@@ -512,6 +560,7 @@
512560
".storyboard",
513561
".strings",
514562
".sty",
563+
".swift",
515564
".t",
516565
".td",
517566
".tdf",

0 commit comments

Comments
 (0)