Skip to content

Commit ce8dbff

Browse files
committed
[skip actions] [refuzz] 2025-07-08T12:10:16+03:00
1 parent 5ac3784 commit ce8dbff

File tree

1 file changed

+105
-19
lines changed

1 file changed

+105
-19
lines changed

credsweeper/ml_model/ml_config.json

Lines changed: 105 additions & 19 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,21 @@
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",
162+
"dummy",
150163
"encrypted",
164+
"encrypt",
151165
"example",
152166
"expire",
153167
"fake",
@@ -173,6 +187,7 @@
173187
"pw",
174188
"secret",
175189
"size",
190+
"sha",
176191
"space",
177192
"status",
178193
"sword",
@@ -195,6 +210,7 @@
195210
"kwargs": {
196211
"words": [
197212
" ",
213+
":",
198214
"$(",
199215
"${",
200216
"(",
@@ -207,25 +223,33 @@
207223
"[",
208224
"_id",
209225
"abc",
226+
"aaaa",
210227
"allow",
228+
"arn:aws:",
211229
"bar",
212230
"disable",
213231
"changeme",
232+
"encrypt",
214233
"example",
215234
"fake",
216235
"file",
217236
"foo",
237+
"hex",
238+
"key",
218239
"min",
219240
"mock",
220241
"my",
221242
"nil",
222243
"pass",
223-
"passwd",
224-
"password",
225-
"pswd",
226244
"public",
227245
"pwd",
246+
"rsa-",
247+
"salt",
248+
"secret",
249+
"sha",
250+
"ssh",
228251
"test",
252+
"word",
229253
"xxx",
230254
"xyz"
231255
]
@@ -248,9 +272,12 @@
248272
"@",
249273
"[",
250274
"approval",
275+
"arn:aws:",
251276
"assert",
252277
"case",
253278
"circle",
279+
"color",
280+
"e.g.",
254281
"equal",
255282
"example",
256283
"expect",
@@ -263,15 +290,15 @@
263290
"none",
264291
"null",
265292
"pass",
266-
"password",
267293
"path",
268294
"pwd",
269295
"sqa",
270296
"test",
271297
"true",
272298
"undefined",
273299
"unit",
274-
"width"
300+
"width",
301+
"word"
275302
]
276303
}
277304
},
@@ -284,11 +311,15 @@
284311
"&",
285312
"(",
286313
"->",
314+
"=>",
287315
".",
316+
",",
288317
"?",
289318
"@",
290319
"[",
291320
"bearer",
321+
"get",
322+
"e.g.",
292323
"equal",
293324
"example",
294325
"expect",
@@ -321,6 +352,8 @@
321352
"assert",
322353
"case",
323354
"circle",
355+
"color",
356+
"e.g.",
324357
"equal",
325358
"example",
326359
"expect",
@@ -333,34 +366,78 @@
333366
"none",
334367
"null",
335368
"pass",
336-
"passwd",
337-
"password",
338369
"path",
339370
"pwd",
340371
"sqa",
341372
"test",
342373
"true",
343374
"undefined",
344375
"unit",
345-
"width"
376+
"width",
377+
"word"
346378
]
347379
}
348380
},
349381
{
350382
"type": "WordInPath",
351383
"kwargs": {
352384
"words": [
353-
"/conf",
354-
"/dist-packages/",
355-
"/example",
385+
"test",
386+
"mock",
387+
"/src",
388+
"code",
389+
"/include",
390+
"internal",
391+
"tool",
392+
"util",
393+
"example",
394+
"sample",
395+
"conf",
396+
"secret",
397+
"setting",
398+
"security",
399+
"secure",
400+
"resource",
401+
"fixture",
402+
"docker",
403+
"/docs",
404+
"/doc/",
405+
"document",
406+
"/lang",
407+
"/local",
408+
"/lib",
409+
"/spec",
410+
"/pkg",
411+
"/api",
412+
"/rest",
413+
"/opt",
414+
"/sys",
415+
"kube",
416+
"kafka",
417+
"cluster",
418+
"template",
419+
"other",
420+
"public",
421+
"init",
422+
"client",
423+
"server",
424+
"/model",
425+
"/modul",
426+
"browser",
427+
"/env/",
428+
"/app",
429+
"/assets/",
430+
"vendor",
431+
"build",
356432
"/record",
357433
"/script",
358-
"/site-packages/",
359-
"/src/",
360-
"/test",
361-
"/tool",
362-
"/usr/local/lib/python",
363-
"/assets/"
434+
"python",
435+
"/usr",
436+
"/etc",
437+
"/other",
438+
"/fuzz",
439+
"/dist-packages",
440+
"/site-packages"
364441
]
365442
}
366443
},
@@ -378,6 +455,7 @@
378455
"kwargs": {
379456
"extensions": [
380457
"",
458+
".04",
381459
".1",
382460
".adoc",
383461
".asciidoc",
@@ -386,17 +464,16 @@
386464
".bat",
387465
".bats",
388466
".bazel",
389-
".bin",
390467
".build",
391468
".bundle",
392469
".bzl",
393470
".c",
471+
".cast",
394472
".cc",
395473
".cf",
396474
".cjs",
397475
".cljc",
398476
".cmd",
399-
".cmm",
400477
".cnf",
401478
".coffee",
402479
".conf",
@@ -409,6 +486,7 @@
409486
".dist",
410487
".doc",
411488
".dockerfile",
489+
".edited",
412490
".eex",
413491
".env",
414492
".erb",
@@ -424,7 +502,9 @@
424502
".go",
425503
".golden",
426504
".gradle",
505+
".graphql",
427506
".groovy",
507+
".gtpl",
428508
".h",
429509
".haml",
430510
".hs",
@@ -456,6 +536,7 @@
456536
".lua",
457537
".m",
458538
".manifest",
539+
".markdown",
459540
".markerb",
460541
".md",
461542
".mdx",
@@ -471,6 +552,7 @@
471552
".odd",
472553
".onnx",
473554
".oracle",
555+
".original",
474556
".pan",
475557
".patch",
476558
".php",
@@ -488,17 +570,20 @@
488570
".purs",
489571
".pxd",
490572
".py",
573+
".pyi",
491574
".pyx",
492575
".r",
493576
".rake",
494577
".rb",
495578
".re",
496579
".red",
580+
".response",
497581
".resx",
498582
".rexx",
499583
".rnh",
500584
".rrc",
501585
".rs",
586+
".rsa",
502587
".rsp",
503588
".rst",
504589
".rules",
@@ -512,6 +597,7 @@
512597
".storyboard",
513598
".strings",
514599
".sty",
600+
".swift",
515601
".t",
516602
".td",
517603
".tdf",

0 commit comments

Comments
 (0)