mcpower-proxy 0.0.81__tar.gz → 0.0.82__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. {mcpower_proxy-0.0.81/src/mcpower_proxy.egg-info → mcpower_proxy-0.0.82}/PKG-INFO +1 -1
  2. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/pyproject.toml +1 -1
  3. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82/src/mcpower_proxy.egg-info}/PKG-INFO +1 -1
  4. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/modules/decision_handler.py +2 -4
  5. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/modules/redaction/gitleaks_rules.py +96 -0
  6. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/modules/ui/classes.py +0 -1
  7. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/wrapper/__version__.py +1 -1
  8. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/LICENSE +0 -0
  9. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/README.md +0 -0
  10. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/setup.cfg +0 -0
  11. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/LICENSE +0 -0
  12. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/ide_tools/__init__.py +0 -0
  13. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/ide_tools/common/__init__.py +0 -0
  14. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/ide_tools/common/hooks/__init__.py +0 -0
  15. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/ide_tools/common/hooks/init.py +0 -0
  16. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/ide_tools/common/hooks/output.py +0 -0
  17. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/ide_tools/common/hooks/prompt_submit.py +0 -0
  18. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/ide_tools/common/hooks/read_file.py +0 -0
  19. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/ide_tools/common/hooks/shell_execution.py +0 -0
  20. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/ide_tools/common/hooks/shell_parser_bashlex.py +0 -0
  21. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/ide_tools/common/hooks/types.py +0 -0
  22. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/ide_tools/common/hooks/utils.py +0 -0
  23. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/ide_tools/cursor/__init__.py +0 -0
  24. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/ide_tools/cursor/constants.py +0 -0
  25. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/ide_tools/cursor/format.py +0 -0
  26. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/ide_tools/cursor/router.py +0 -0
  27. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/ide_tools/router.py +0 -0
  28. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/main.py +0 -0
  29. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/mcpower_proxy.egg-info/SOURCES.txt +0 -0
  30. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/mcpower_proxy.egg-info/dependency_links.txt +0 -0
  31. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/mcpower_proxy.egg-info/entry_points.txt +0 -0
  32. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/mcpower_proxy.egg-info/requires.txt +0 -0
  33. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/mcpower_proxy.egg-info/top_level.txt +0 -0
  34. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/modules/__init__.py +0 -0
  35. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/modules/apis/__init__.py +0 -0
  36. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/modules/apis/security_policy.py +0 -0
  37. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/modules/logs/__init__.py +0 -0
  38. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/modules/logs/audit_trail.py +0 -0
  39. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/modules/logs/logger.py +0 -0
  40. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/modules/redaction/__init__.py +0 -0
  41. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/modules/redaction/constants.py +0 -0
  42. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/modules/redaction/pii_rules.py +0 -0
  43. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/modules/redaction/redactor.py +0 -0
  44. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/modules/ui/__init__.py +0 -0
  45. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/modules/ui/confirmation.py +0 -0
  46. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/modules/ui/simple_dialog.py +0 -0
  47. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/modules/ui/xdialog/__init__.py +0 -0
  48. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/modules/ui/xdialog/constants.py +0 -0
  49. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/modules/ui/xdialog/mac_dialogs.py +0 -0
  50. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/modules/ui/xdialog/tk_dialogs.py +0 -0
  51. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/modules/ui/xdialog/windows_custom_dialog.py +0 -0
  52. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/modules/ui/xdialog/windows_dialogs.py +0 -0
  53. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/modules/ui/xdialog/windows_structs.py +0 -0
  54. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/modules/ui/xdialog/yad_dialogs.py +0 -0
  55. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/modules/ui/xdialog/zenity_dialogs.py +0 -0
  56. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/modules/utils/__init__.py +0 -0
  57. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/modules/utils/cli.py +0 -0
  58. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/modules/utils/config.py +0 -0
  59. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/modules/utils/copy.py +0 -0
  60. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/modules/utils/ids.py +0 -0
  61. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/modules/utils/json.py +0 -0
  62. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/modules/utils/mcp_configs.py +0 -0
  63. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/modules/utils/platform.py +0 -0
  64. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/modules/utils/string.py +0 -0
  65. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/wrapper/__init__.py +0 -0
  66. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/wrapper/middleware.py +0 -0
  67. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/wrapper/schema.py +0 -0
  68. {mcpower_proxy-0.0.81 → mcpower_proxy-0.0.82}/src/wrapper/server.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mcpower-proxy
3
- Version: 0.0.81
3
+ Version: 0.0.82
4
4
  Summary: MCPower Security proxy
5
5
  Author-email: MCPower Security <support@mcpower.tech>
6
6
  License: Apache License
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "mcpower-proxy"
3
- version = "0.0.81"
3
+ version = "0.0.82"
4
4
  description = "MCPower Security proxy"
5
5
  readme = "README.md"
6
6
  requires-python = "~=3.11.0"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mcpower-proxy
3
- Version: 0.0.81
3
+ Version: 0.0.82
4
4
  Summary: MCPower Security proxy
5
5
  Author-email: MCPower Security <support@mcpower.tech>
6
6
  License: Apache License
@@ -85,8 +85,7 @@ class DecisionHandler:
85
85
  severity=severity,
86
86
  event_id=event_id,
87
87
  operation_type=operation_type,
88
- server_name=server_name,
89
- timeout_seconds=60
88
+ server_name=server_name
90
89
  )
91
90
 
92
91
  response = UserConfirmationDialog(
@@ -120,8 +119,7 @@ class DecisionHandler:
120
119
  severity=severity,
121
120
  event_id=event_id,
122
121
  operation_type=operation_type,
123
- server_name=server_name,
124
- timeout_seconds=60
122
+ server_name=server_name
125
123
  )
126
124
 
127
125
  # only show YES_ALWAYS if call_type exists
@@ -102,6 +102,18 @@ COMPILED_RULES: List[Tuple[str, re.Pattern, int, List[str]]] = [
102
102
  1,
103
103
  ["asana"],
104
104
  ),
105
+ (
106
+ "atlassian-api-token",
107
+ re.compile(r'[\w.-]{0,50}?(?:ATLASSIAN|[Aa]tlassian|CONFLUENCE|[Cc]onfluence|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]|$)|\b(ATATT3[AZaz09_\=-]{186})(?:[\x60\'"\s;]|\\[nr]|$)', re.IGNORECASE),
108
+ 1,
109
+ ["atlassian", "confluence", "jira", "atatt3"],
110
+ ),
111
+ (
112
+ "authress-service-client-access-key",
113
+ re.compile(r'\b((?:sc|ext|scauth|authress)_[a-z0-9]{5,30}\.[a-z0-9]{4,6}\.acc[_-][a-z0-9-]{10,32}\.[az09+/_=-]{30,120})(?:[\x60\'"\s;]|\\[nr]|$)', re.IGNORECASE),
114
+ 1,
115
+ ["sc_", "ext_", "scauth_", "authress_"],
116
+ ),
105
117
  (
106
118
  "aws-access-token",
107
119
  re.compile(r'\b((?:A3T[A-Z0-9]|AKIA|ASIA|ABIA|ACCA)[A-Z2-7]{16})\b', 0),
@@ -156,6 +168,12 @@ COMPILED_RULES: List[Tuple[str, re.Pattern, int, List[str]]] = [
156
168
  1,
157
169
  ["bittrex"],
158
170
  ),
171
+ (
172
+ "cisco-meraki-api-key",
173
+ re.compile(r'[\w.-]{0,50}?[\w.-]{0,50}?(?:[Mm]eraki|MERAKI(?:[ \t\w.-]{0,20})[\s\'"]{0,3})(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([0-9a-f]{40})(?:[\x60\'"\s;]|\\[nr]|$)', re.IGNORECASE),
174
+ 1,
175
+ ["meraki"],
176
+ ),
159
177
  (
160
178
  "clickhouse-cloud-api-secret-key",
161
179
  re.compile(r'\b(4b1d[A-Za-z0-9]{38})\b', 0),
@@ -192,6 +210,12 @@ COMPILED_RULES: List[Tuple[str, re.Pattern, int, List[str]]] = [
192
210
  1,
193
211
  ["codecov"],
194
212
  ),
213
+ (
214
+ "cohere-api-token",
215
+ re.compile(r'[\w.-]{0,50}?[\w.-]{0,50}?(?: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]|$)', re.IGNORECASE),
216
+ 1,
217
+ ["cohere", "co_api_key"],
218
+ ),
195
219
  (
196
220
  "coinbase-access-token",
197
221
  re.compile(r'[\w.-]{0,50}?(?:coinbase)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9_-]{64})(?:[\x60\'"\s;]|\\[nr]|$)', re.IGNORECASE),
@@ -336,6 +360,12 @@ COMPILED_RULES: List[Tuple[str, re.Pattern, int, List[str]]] = [
336
360
  1,
337
361
  ["eztk"],
338
362
  ),
363
+ (
364
+ "etsy-access-token",
365
+ re.compile(r'[\w.-]{0,50}?(?:ETSY|[Ee]tsy)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9]{24})(?:[\x60\'"\s;]|\\[nr]|$)', re.IGNORECASE),
366
+ 1,
367
+ ["etsy"],
368
+ ),
339
369
  (
340
370
  "facebook-access-token",
341
371
  re.compile(r'\b(\d{15,16}(\||%)[0-9a-z\-_]{27,40})(?:[\x60\'"\s;]|\\[nr]|$)', re.IGNORECASE),
@@ -432,6 +462,12 @@ COMPILED_RULES: List[Tuple[str, re.Pattern, int, List[str]]] = [
432
462
  1,
433
463
  ["aiza", "aizasyabcdefghijklmnopqrstuvwxyz1234567", "aizasyanla7nfelquw1tjfpx_eqcxox-oo6yyis", "aizasyckehvjf3pdurdt6d1ykomitrueke8agem", "aizasydmascliylx7f0npdeji1qmycghiaodrlu", "aizasyd3asb-2pezvqmkml6m9n6nhzrr_znhrh0", "aizaydnsxibfmlxbie6mczdlqaqityefhixbx4a", "aizasyados2zb6ncsk1pcdz4-p6gbdi_uupwx7c", "aizasyaswm6hmtmdywpgmnjrbjxcq9ckctwmld4", "aizasyanuvh9h9bsuccjsu2pcmekopjjaxedqgy", "aizasya5_ivawfq8abutznudcwerljv_a_p4wtm", "aizasya4urcgxgwqftfai3no3t7lt1sjmdnp5sq", "aizasydsb51jiicb6ojpwwmicsekrhhroq1cs7g", "aizasybf2rraim4a0mo64eshqfqfd2afnzavvuu", "aizasybce-ooibhjyr83gm4r2mfcu4mjmprnxsw", "aizasyb8qgxt4ec15vitgn44duc5ucxaoi4fmqe", "aizasya8vmapnrhnfe0bapf4hoz11srvl_n0nvy"],
434
464
  ),
465
+ (
466
+ "generic-api-key",
467
+ re.compile(r'[\w.-]{0,50}?(?:access|auth|[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]|$)', re.IGNORECASE),
468
+ 1,
469
+ ["access", "api", "auth", "key", "credential", "creds", "passwd", "password", "secret", "token"],
470
+ ),
435
471
  (
436
472
  "github-app-token",
437
473
  re.compile(r'(?:ghu|ghs)_[0-9a-zA-Z]{36}', 0),
@@ -588,6 +624,12 @@ COMPILED_RULES: List[Tuple[str, re.Pattern, int, List[str]]] = [
588
624
  1,
589
625
  ["pat.", "sat."],
590
626
  ),
627
+ (
628
+ "hashicorp-tf-api-token",
629
+ re.compile(r'[a-z0-9]{14}\.atlasv1\.[az09\_=-]{60,70}', re.IGNORECASE),
630
+ 1,
631
+ ["atlasv1"],
632
+ ),
591
633
  (
592
634
  "hashicorp-tf-password",
593
635
  re.compile(r'[\w.-]{0,50}?(?:administrator_login_password|password)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}("[az09=_\-]{8,20}")(?:[\x60\'"\s;]|\\[nr]|$)', re.IGNORECASE),
@@ -612,6 +654,18 @@ COMPILED_RULES: List[Tuple[str, re.Pattern, int, List[str]]] = [
612
654
  1,
613
655
  ["hubspot"],
614
656
  ),
657
+ (
658
+ "huggingface-access-token",
659
+ re.compile(r'\b(hf_[a-z]{34})(?:[\x60\'"\s;]|\\[nr]|$)', re.IGNORECASE),
660
+ 1,
661
+ ["hf_"],
662
+ ),
663
+ (
664
+ "huggingface-organization-api-token",
665
+ re.compile(r'\b(api_org_[a-z]{34})(?:[\x60\'"\s;]|\\[nr]|$)', re.IGNORECASE),
666
+ 1,
667
+ ["api_org_"],
668
+ ),
615
669
  (
616
670
  "infracost-api-token",
617
671
  re.compile(r'\b(ico-[a-zA-Z0-9]{32})(?:[\x60\'"\s;]|\\[nr]|$)', 0),
@@ -660,6 +714,12 @@ COMPILED_RULES: List[Tuple[str, re.Pattern, int, List[str]]] = [
660
714
  1,
661
715
  ["kraken"],
662
716
  ),
717
+ (
718
+ "kubernetes-secret-yaml",
719
+ re.compile(r'(?:\bkind:[ \t]*["\']?\bsecret\b["\']?.{0,200}?\bdata:.{0,100}?\s+([\w.-]+:(?:[ \t]*(?:\||>[-+]?)\s+)?[ \t]*(?:["\']?[a-z0-9+/]{10,}={0,3}["\']?|\{\{[ \t\w"|$:=,.-]+}}|""|\'\'))|\bdata:.{0,100}?\s+([\w.-]+:(?:[ \t]*(?:\||>[-+]?)\s+)?[ \t]*(?:["\']?[a-z0-9+/]{10,}={0,3}["\']?|\{\{[ \t\w"|$:=,.-]+}}|""|\'\')).{0,200}?\bkind:[ \t]*["\']?\bsecret\b["\']?)', re.IGNORECASE),
720
+ 1,
721
+ ["secret", "[\\w.-]+:(?:[ \\t]*(?:\\||>[-+]?)\\s+)?[ \\t]*(?:\\{\\{[ \\t\\w"],
722
+ ),
663
723
  (
664
724
  "kucoin-access-token",
665
725
  re.compile(r'[\w.-]{0,50}?(?:kucoin)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-f0-9]{24})(?:[\x60\'"\s;]|\\[nr]|$)', re.IGNORECASE),
@@ -834,6 +894,12 @@ COMPILED_RULES: List[Tuple[str, re.Pattern, int, List[str]]] = [
834
894
  1,
835
895
  ["api-"],
836
896
  ),
897
+ (
898
+ "okta-access-token",
899
+ re.compile(r'[\w.-]{0,50}?[\w.-]{0,50}?(?:[Oo]kta|OKTA(?:[ \t\w.-]{0,20})[\s\'"]{0,3})(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}(00[\w=\-]{40})(?:[\x60\'"\s;]|\\[nr]|$)', re.IGNORECASE),
900
+ 1,
901
+ ["okta"],
902
+ ),
837
903
  (
838
904
  "openai-api-key",
839
905
  re.compile(r'\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]|$)', 0),
@@ -906,6 +972,12 @@ COMPILED_RULES: List[Tuple[str, re.Pattern, int, List[str]]] = [
906
972
  1,
907
973
  ["-----begin"],
908
974
  ),
975
+ (
976
+ "privateai-api-token",
977
+ re.compile(r'[\w.-]{0,50}?[\w.-]{0,50}?(?:private[_-]?ai(?:[ \t\w.-]{0,20})[\s\'"]{0,3})(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9]{32})(?:[\x60\'"\s;]|\\[nr]|$)', re.IGNORECASE),
978
+ 1,
979
+ ["privateai", "private_ai", "private-ai"],
980
+ ),
909
981
  (
910
982
  "pulumi-api-token",
911
983
  re.compile(r'\b(pul-[a-f0-9]{40})(?:[\x60\'"\s;]|\\[nr]|$)', 0),
@@ -1134,6 +1206,24 @@ COMPILED_RULES: List[Tuple[str, re.Pattern, int, List[str]]] = [
1134
1206
  1,
1135
1207
  ["sk_test", "sk_live", "sk_prod", "rk_test", "rk_live", "rk_prod"],
1136
1208
  ),
1209
+ (
1210
+ "sumologic-access-id",
1211
+ re.compile(r'[\w.-]{0,50}?[\w.-]{0,50}?(?:[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]|$)', re.IGNORECASE),
1212
+ 1,
1213
+ ["sumo"],
1214
+ ),
1215
+ (
1216
+ "sumologic-access-token",
1217
+ re.compile(r'[\w.-]{0,50}?(?:[Ss]umo|SUMO)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9]{64})(?:[\x60\'"\s;]|\\[nr]|$)', re.IGNORECASE),
1218
+ 1,
1219
+ ["sumo"],
1220
+ ),
1221
+ (
1222
+ "telegram-bot-api-token",
1223
+ re.compile(r'[\w.-]{0,50}?(?:telegr)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([0-9]{5,16}:A[a-z0-9_\-]{34})(?:[\x60\'"\s;]|\\[nr]|$)', re.IGNORECASE),
1224
+ 1,
1225
+ ["telegr"],
1226
+ ),
1137
1227
  (
1138
1228
  "travisci-access-token",
1139
1229
  re.compile(r'[\w.-]{0,50}?(?:travis)(?:[ \t\w.-]{0,20})[\s\'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60\'"\s=]{0,5}([a-z0-9]{22})(?:[\x60\'"\s;]|\\[nr]|$)', re.IGNORECASE),
@@ -1194,6 +1284,12 @@ COMPILED_RULES: List[Tuple[str, re.Pattern, int, List[str]]] = [
1194
1284
  1,
1195
1285
  ["hvb."],
1196
1286
  ),
1287
+ (
1288
+ "vault-service-token",
1289
+ re.compile(r'\b((?:hvs\.[\w-]{90,120}|s\.[a-z0-9]{24}))(?:[\x60\'"\s;]|\\[nr]|$)', re.IGNORECASE),
1290
+ 1,
1291
+ ["hvs.", "s."],
1292
+ ),
1197
1293
  (
1198
1294
  "yandex-access-token",
1199
1295
  re.compile(r'[\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]|$)', re.IGNORECASE),
@@ -23,7 +23,6 @@ class ConfirmationRequest:
23
23
  event_id: str # Unique event identifier
24
24
  operation_type: str # Type of MCP operation (tool, resource, etc.)
25
25
  server_name: str # Proxied server name
26
- timeout_seconds: int = 60 # Confirmation timeout
27
26
 
28
27
 
29
28
  @dataclass
@@ -3,4 +3,4 @@
3
3
  Wrapper MCP Server Version
4
4
  """
5
5
 
6
- __version__ = "0.0.81"
6
+ __version__ = "0.0.82"
File without changes
File without changes
File without changes