evadex 3.2.0__tar.gz → 3.28.2__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 (193) hide show
  1. {evadex-3.2.0 → evadex-3.28.2}/LICENSE +21 -21
  2. evadex-3.28.2/PKG-INFO +255 -0
  3. evadex-3.28.2/README.md +202 -0
  4. evadex-3.28.2/pyproject.toml +100 -0
  5. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/__init__.py +6 -5
  6. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/__main__.py +4 -4
  7. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/adapters/base.py +51 -49
  8. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/adapters/dlpscan/adapter.py +4 -2
  9. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/adapters/dlpscan/client.py +82 -74
  10. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/adapters/dlpscan/file_builder.py +115 -112
  11. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/adapters/dlpscan_cli/adapter.py +47 -28
  12. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/adapters/presidio/adapter.py +82 -81
  13. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/adapters/presidio/client.py +69 -68
  14. evadex-3.28.2/src/evadex/adapters/siphon/adapter.py +140 -0
  15. evadex-3.28.2/src/evadex/adapters/siphon/client.py +214 -0
  16. evadex-3.28.2/src/evadex/adapters/siphon_cli/adapter.py +123 -0
  17. evadex-3.28.2/src/evadex/adapters/siphon_cli/client.py +204 -0
  18. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/archive.py +273 -264
  19. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/audit.py +111 -82
  20. evadex-3.28.2/src/evadex/bridge/__init__.py +11 -0
  21. evadex-3.28.2/src/evadex/bridge/categories.py +641 -0
  22. evadex-3.28.2/src/evadex/bridge/metrics.py +429 -0
  23. evadex-3.28.2/src/evadex/bridge/runs.py +491 -0
  24. evadex-3.28.2/src/evadex/bridge/server.py +1033 -0
  25. evadex-3.28.2/src/evadex/cache/__init__.py +5 -0
  26. evadex-3.28.2/src/evadex/cache/scan_cache.py +182 -0
  27. evadex-3.28.2/src/evadex/checkpoint.py +101 -0
  28. evadex-3.28.2/src/evadex/cli/app.py +77 -0
  29. evadex-3.28.2/src/evadex/cli/commands/benchmark.py +437 -0
  30. evadex-3.28.2/src/evadex/cli/commands/bridge.py +160 -0
  31. evadex-3.28.2/src/evadex/cli/commands/cache.py +63 -0
  32. evadex-3.28.2/src/evadex/cli/commands/compare.py +576 -0
  33. evadex-3.28.2/src/evadex/cli/commands/diff.py +308 -0
  34. evadex-3.28.2/src/evadex/cli/commands/doctor.py +308 -0
  35. evadex-3.28.2/src/evadex/cli/commands/edm.py +627 -0
  36. evadex-3.28.2/src/evadex/cli/commands/entropy.py +412 -0
  37. evadex-3.28.2/src/evadex/cli/commands/export.py +127 -0
  38. evadex-3.28.2/src/evadex/cli/commands/falsepos.py +435 -0
  39. evadex-3.28.2/src/evadex/cli/commands/generate.py +805 -0
  40. evadex-3.28.2/src/evadex/cli/commands/history.py +190 -0
  41. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/cli/commands/init.py +24 -22
  42. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/cli/commands/list_payloads.py +47 -38
  43. evadex-3.28.2/src/evadex/cli/commands/list_techniques.py +375 -0
  44. evadex-3.28.2/src/evadex/cli/commands/lsh.py +416 -0
  45. evadex-3.28.2/src/evadex/cli/commands/profile.py +503 -0
  46. evadex-3.28.2/src/evadex/cli/commands/quickstart.py +314 -0
  47. evadex-3.28.2/src/evadex/cli/commands/report.py +611 -0
  48. evadex-3.28.2/src/evadex/cli/commands/scan.py +1536 -0
  49. evadex-3.28.2/src/evadex/cli/commands/schedule.py +258 -0
  50. evadex-3.28.2/src/evadex/cli/commands/status.py +409 -0
  51. evadex-3.28.2/src/evadex/cli/commands/techniques.py +273 -0
  52. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/cli/commands/trend.py +236 -222
  53. evadex-3.28.2/src/evadex/cli/commands/validate.py +284 -0
  54. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/config.py +403 -266
  55. evadex-3.28.2/src/evadex/core/engine.py +195 -0
  56. evadex-3.28.2/src/evadex/core/registry.py +62 -0
  57. evadex-3.28.2/src/evadex/core/result.py +1305 -0
  58. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/falsepos/__init__.py +1 -1
  59. evadex-3.28.2/src/evadex/falsepos/generators.py +576 -0
  60. evadex-3.28.2/src/evadex/feedback/fast_mode.py +309 -0
  61. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/feedback/regression_writer.py +106 -105
  62. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/feedback/report.py +82 -79
  63. evadex-3.28.2/src/evadex/feedback/seed_weights.py +266 -0
  64. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/feedback/suggestions.py +593 -592
  65. evadex-3.28.2/src/evadex/feedback/technique_history.py +118 -0
  66. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/generate/filler.py +616 -411
  67. evadex-3.28.2/src/evadex/generate/generator.py +394 -0
  68. evadex-3.28.2/src/evadex/generate/templates.py +2449 -0
  69. evadex-3.28.2/src/evadex/generate/writers/__init__.py +130 -0
  70. evadex-3.28.2/src/evadex/generate/writers/_data_filler.py +212 -0
  71. evadex-3.28.2/src/evadex/generate/writers/archive_writer.py +236 -0
  72. evadex-3.28.2/src/evadex/generate/writers/barcode_writer.py +452 -0
  73. evadex-3.28.2/src/evadex/generate/writers/csv_writer.py +62 -0
  74. evadex-3.28.2/src/evadex/generate/writers/docx_writer.py +234 -0
  75. evadex-3.28.2/src/evadex/generate/writers/edm_json_writer.py +39 -0
  76. evadex-3.28.2/src/evadex/generate/writers/eml_writer.py +345 -0
  77. evadex-3.28.2/src/evadex/generate/writers/ics_writer.py +135 -0
  78. evadex-3.28.2/src/evadex/generate/writers/json_writer.py +120 -0
  79. evadex-3.28.2/src/evadex/generate/writers/log_writer.py +126 -0
  80. evadex-3.28.2/src/evadex/generate/writers/mbox_writer.py +338 -0
  81. evadex-3.28.2/src/evadex/generate/writers/msg_writer.py +22 -0
  82. evadex-3.28.2/src/evadex/generate/writers/parquet_writer.py +228 -0
  83. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/generate/writers/pdf_writer.py +171 -150
  84. evadex-3.28.2/src/evadex/generate/writers/sql_writer.py +131 -0
  85. evadex-3.28.2/src/evadex/generate/writers/sqlite_writer.py +358 -0
  86. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/generate/writers/txt_writer.py +91 -65
  87. evadex-3.28.2/src/evadex/generate/writers/warc_writer.py +130 -0
  88. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/generate/writers/xlsx_writer.py +178 -168
  89. evadex-3.28.2/src/evadex/generate/writers/xml_writer.py +121 -0
  90. evadex-3.28.2/src/evadex/lsh/__init__.py +24 -0
  91. evadex-3.28.2/src/evadex/lsh/document_generator.py +258 -0
  92. evadex-3.28.2/src/evadex/payloads/builtins.py +1610 -0
  93. evadex-3.28.2/src/evadex/payloads/tiers.py +490 -0
  94. evadex-3.28.2/src/evadex/profiles/__init__.py +50 -0
  95. evadex-3.28.2/src/evadex/profiles/builtins/__init__.py +1 -0
  96. evadex-3.28.2/src/evadex/profiles/builtins/banking-daily.yaml +24 -0
  97. evadex-3.28.2/src/evadex/profiles/builtins/canadian-ids.yaml +48 -0
  98. evadex-3.28.2/src/evadex/profiles/builtins/full-evasion.yaml +24 -0
  99. evadex-3.28.2/src/evadex/profiles/builtins/pci-dss.yaml +26 -0
  100. evadex-3.28.2/src/evadex/profiles/builtins/quick-check.yaml +14 -0
  101. evadex-3.28.2/src/evadex/profiles/runner.py +355 -0
  102. evadex-3.28.2/src/evadex/profiles/schedule.py +313 -0
  103. evadex-3.28.2/src/evadex/profiles/schema.py +286 -0
  104. evadex-3.28.2/src/evadex/profiles/storage.py +171 -0
  105. evadex-3.28.2/src/evadex/reporters/__init__.py +0 -0
  106. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/reporters/base.py +8 -8
  107. evadex-3.28.2/src/evadex/reporters/c2_reporter.py +292 -0
  108. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/reporters/compare_html_reporter.py +165 -137
  109. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/reporters/compare_reporter.py +22 -21
  110. evadex-3.28.2/src/evadex/reporters/html_reporter.py +316 -0
  111. evadex-3.28.2/src/evadex/reporters/json_reporter.py +167 -0
  112. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/synthetic/__init__.py +6 -6
  113. evadex-3.28.2/src/evadex/synthetic/au_medicare.py +49 -0
  114. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/synthetic/base.py +31 -30
  115. evadex-3.28.2/src/evadex/synthetic/br_cpf.py +52 -0
  116. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/synthetic/ca_corporate.py +70 -69
  117. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/synthetic/ca_drivers_licences.py +89 -88
  118. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/synthetic/ca_health_cards.py +81 -80
  119. evadex-3.28.2/src/evadex/synthetic/capital_markets.py +418 -0
  120. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/synthetic/credit_card.py +50 -36
  121. evadex-3.28.2/src/evadex/synthetic/de_tax_id.py +65 -0
  122. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/synthetic/email.py +130 -62
  123. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/synthetic/iban.py +65 -64
  124. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/synthetic/phone.py +87 -56
  125. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/synthetic/ramq.py +64 -63
  126. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/synthetic/registry.py +57 -46
  127. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/synthetic/sin.py +42 -41
  128. evadex-3.28.2/src/evadex/synthetic/ssn.py +49 -0
  129. evadex-3.28.2/src/evadex/synthetic/uk_nin.py +51 -0
  130. evadex-3.28.2/src/evadex/synthetic/us_dl.py +121 -0
  131. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/synthetic/validators.py +86 -83
  132. evadex-3.28.2/src/evadex/variants/__init__.py +0 -0
  133. evadex-3.28.2/src/evadex/variants/archive_evasion.py +107 -0
  134. evadex-3.28.2/src/evadex/variants/barcode_evasion.py +102 -0
  135. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/variants/base.py +27 -20
  136. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/variants/bidirectional.py +76 -76
  137. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/variants/context_injection.py +123 -121
  138. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/variants/delimiter.py +230 -214
  139. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/variants/encoding.py +271 -209
  140. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/variants/encoding_chains.py +99 -98
  141. evadex-3.28.2/src/evadex/variants/entropy_evasion.py +148 -0
  142. evadex-3.28.2/src/evadex/variants/leetspeak.py +52 -0
  143. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/variants/morse_code.py +133 -132
  144. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/variants/regional_digits.py +71 -71
  145. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/variants/soft_hyphen.py +249 -249
  146. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/variants/splitting.py +9 -9
  147. evadex-3.28.2/src/evadex/variants/structural.py +63 -0
  148. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/variants/unicode_encoding.py +47 -38
  149. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/variants/unicode_whitespace.py +203 -203
  150. evadex-3.28.2/src/evadex.egg-info/PKG-INFO +255 -0
  151. {evadex-3.2.0 → evadex-3.28.2}/src/evadex.egg-info/SOURCES.txt +74 -0
  152. evadex-3.28.2/src/evadex.egg-info/requires.txt +31 -0
  153. evadex-3.2.0/PKG-INFO +0 -1456
  154. evadex-3.2.0/README.md +0 -1416
  155. evadex-3.2.0/pyproject.toml +0 -61
  156. evadex-3.2.0/src/evadex/cli/app.py +0 -37
  157. evadex-3.2.0/src/evadex/cli/commands/compare.py +0 -203
  158. evadex-3.2.0/src/evadex/cli/commands/falsepos.py +0 -272
  159. evadex-3.2.0/src/evadex/cli/commands/generate.py +0 -182
  160. evadex-3.2.0/src/evadex/cli/commands/history.py +0 -134
  161. evadex-3.2.0/src/evadex/cli/commands/list_techniques.py +0 -63
  162. evadex-3.2.0/src/evadex/cli/commands/scan.py +0 -654
  163. evadex-3.2.0/src/evadex/core/engine.py +0 -94
  164. evadex-3.2.0/src/evadex/core/registry.py +0 -53
  165. evadex-3.2.0/src/evadex/core/result.py +0 -1219
  166. evadex-3.2.0/src/evadex/falsepos/generators.py +0 -262
  167. evadex-3.2.0/src/evadex/generate/generator.py +0 -219
  168. evadex-3.2.0/src/evadex/generate/writers/__init__.py +0 -25
  169. evadex-3.2.0/src/evadex/generate/writers/csv_writer.py +0 -34
  170. evadex-3.2.0/src/evadex/generate/writers/docx_writer.py +0 -121
  171. evadex-3.2.0/src/evadex/payloads/builtins.py +0 -933
  172. evadex-3.2.0/src/evadex/reporters/html_reporter.py +0 -134
  173. evadex-3.2.0/src/evadex/reporters/json_reporter.py +0 -40
  174. evadex-3.2.0/src/evadex/variants/leetspeak.py +0 -36
  175. evadex-3.2.0/src/evadex/variants/structural.py +0 -39
  176. evadex-3.2.0/src/evadex.egg-info/PKG-INFO +0 -1456
  177. evadex-3.2.0/src/evadex.egg-info/requires.txt +0 -13
  178. {evadex-3.2.0 → evadex-3.28.2}/setup.cfg +0 -0
  179. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/adapters/__init__.py +0 -0
  180. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/adapters/dlpscan/__init__.py +0 -0
  181. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/adapters/dlpscan_cli/__init__.py +0 -0
  182. {evadex-3.2.0 → evadex-3.28.2}/src/evadex/adapters/presidio/__init__.py +0 -0
  183. {evadex-3.2.0/src/evadex/cli → evadex-3.28.2/src/evadex/adapters/siphon}/__init__.py +0 -0
  184. {evadex-3.2.0/src/evadex/cli/commands → evadex-3.28.2/src/evadex/adapters/siphon_cli}/__init__.py +0 -0
  185. {evadex-3.2.0/src/evadex/core → evadex-3.28.2/src/evadex/cli}/__init__.py +0 -0
  186. {evadex-3.2.0/src/evadex/feedback → evadex-3.28.2/src/evadex/cli/commands}/__init__.py +0 -0
  187. {evadex-3.2.0/src/evadex/generate → evadex-3.28.2/src/evadex/core}/__init__.py +0 -0
  188. {evadex-3.2.0/src/evadex/payloads → evadex-3.28.2/src/evadex/feedback}/__init__.py +0 -0
  189. {evadex-3.2.0/src/evadex/reporters → evadex-3.28.2/src/evadex/generate}/__init__.py +0 -0
  190. {evadex-3.2.0/src/evadex/variants → evadex-3.28.2/src/evadex/payloads}/__init__.py +0 -0
  191. {evadex-3.2.0 → evadex-3.28.2}/src/evadex.egg-info/dependency_links.txt +0 -0
  192. {evadex-3.2.0 → evadex-3.28.2}/src/evadex.egg-info/entry_points.txt +0 -0
  193. {evadex-3.2.0 → evadex-3.28.2}/src/evadex.egg-info/top_level.txt +0 -0
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 evadex contributors
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2026 evadex contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
evadex-3.28.2/PKG-INFO ADDED
@@ -0,0 +1,255 @@
1
+ Metadata-Version: 2.4
2
+ Name: evadex
3
+ Version: 3.28.2
4
+ Summary: Comprehensive DLP evasion test suite — scanner-agnostic, file-aware
5
+ License-Expression: MIT
6
+ Project-URL: Homepage, https://github.com/tbustenk/evadex
7
+ Project-URL: Repository, https://github.com/tbustenk/evadex
8
+ Project-URL: Bug Tracker, https://github.com/tbustenk/evadex/issues
9
+ Project-URL: Changelog, https://github.com/tbustenk/evadex/blob/main/CHANGELOG.md
10
+ Keywords: dlp,security,evasion,testing,compliance,pci-dss,scanner
11
+ Classifier: Development Status :: 4 - Beta
12
+ Classifier: Environment :: Console
13
+ Classifier: Intended Audience :: Information Technology
14
+ Classifier: Intended Audience :: System Administrators
15
+ Classifier: Operating System :: OS Independent
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: Programming Language :: Python :: 3.11
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Programming Language :: Python :: 3.13
20
+ Classifier: Topic :: Security
21
+ Classifier: Topic :: System :: Systems Administration
22
+ Classifier: Typing :: Typed
23
+ Requires-Python: >=3.11
24
+ Description-Content-Type: text/markdown
25
+ License-File: LICENSE
26
+ Requires-Dist: click<9,>=8.1
27
+ Requires-Dist: httpx<1,>=0.27
28
+ Requires-Dist: python-docx<2,>=1.1
29
+ Requires-Dist: fpdf2<3,>=2.7.9
30
+ Requires-Dist: openpyxl<4,>=3.1
31
+ Requires-Dist: jinja2<4,>=3.1
32
+ Requires-Dist: rich<14,>=13.0
33
+ Requires-Dist: pyyaml<7,>=6.0
34
+ Provides-Extra: dev
35
+ Requires-Dist: pytest<10,>=8.0; extra == "dev"
36
+ Requires-Dist: pytest-asyncio<2,>=0.23; extra == "dev"
37
+ Requires-Dist: respx<1,>=0.21; extra == "dev"
38
+ Requires-Dist: ruff<1,>=0.4; extra == "dev"
39
+ Provides-Extra: barcodes
40
+ Requires-Dist: qrcode[pil]<9,>=7.4; extra == "barcodes"
41
+ Requires-Dist: python-barcode[images]<1,>=0.15; extra == "barcodes"
42
+ Requires-Dist: Pillow<13,>=10.0; extra == "barcodes"
43
+ Provides-Extra: data-formats
44
+ Requires-Dist: pyarrow<24,>=14.0; extra == "data-formats"
45
+ Requires-Dist: pandas<4,>=2.0; extra == "data-formats"
46
+ Provides-Extra: archives
47
+ Requires-Dist: py7zr<2,>=0.20; extra == "archives"
48
+ Provides-Extra: bridge
49
+ Requires-Dist: fastapi<1,>=0.110; extra == "bridge"
50
+ Requires-Dist: uvicorn[standard]<1,>=0.27; extra == "bridge"
51
+ Requires-Dist: python-multipart<1,>=0.0.9; extra == "bridge"
52
+ Dynamic: license-file
53
+
54
+ # evadex
55
+
56
+ DLP quality assurance testing. Generate synthetic sensitive data, test your scanner, measure detection gaps.
57
+
58
+ ---
59
+
60
+ ## Install
61
+
62
+ ```bash
63
+ pip install evadex
64
+ ```
65
+
66
+ ## Quick start
67
+
68
+ ```bash
69
+ evadex quickstart
70
+ ```
71
+
72
+ The wizard detects your environment, configures your scanner, and runs a first test. Saves config to `evadex.yaml` so subsequent runs just work.
73
+
74
+ ---
75
+
76
+ ## Core commands
77
+
78
+ ```bash
79
+ evadex scan # test your scanner (northam tier, auto-detect scanner)
80
+ evadex scan --fast # top techniques only, ~5 min
81
+ evadex scan --tier full # comprehensive test, all payloads
82
+
83
+ evadex generate # interactive: pick format, count, output
84
+ evadex generate --format xlsx # 100-record spreadsheet
85
+ evadex generate --formats xlsx,docx,pdf --tier northam # all formats at once
86
+
87
+ evadex falsepos # measure false positive rate (100 values)
88
+ evadex falsepos --count 500 # more thorough
89
+
90
+ evadex report results/scan.json # generate HTML report
91
+ ```
92
+
93
+ ---
94
+
95
+ ## Tiers
96
+
97
+ | Tier | Focus | Est. Time | When to use |
98
+ |------|-------|-----------|-------------|
99
+ | `northam` **(default)** | Canada + US + capital markets | ~5 min | Daily North America testing |
100
+ | `banking` | Canadian banking focus | ~4 min | Banking compliance (CA-only) |
101
+ | `core` | Broad PII + international | ~10 min | Weekly benchmarks |
102
+ | `regional` | Full international coverage | ~20 min | Global deployments |
103
+ | `full` | Everything | ~30 min | Major releases |
104
+
105
+ ---
106
+
107
+ ## Formats
108
+
109
+ Generate test files in any of these formats:
110
+
111
+ ```
112
+ xlsx · docx · pdf · csv · txt · json · xml · sql · log · eml
113
+ parquet · sqlite · zip · 7z · mbox · png · jpg
114
+ ```
115
+
116
+ ---
117
+
118
+ ## Evasion techniques
119
+
120
+ evadex tests 13 technique families:
121
+
122
+ | Technique | Examples |
123
+ |---|---|
124
+ | `unicode_encoding` | Fullwidth digits, homoglyphs, zero-width chars, NFD normalization |
125
+ | `delimiter` | Space, hyphen, dot, tab, newline, mixed, doubled, none |
126
+ | `splitting` | Mid-value line break, HTML comment injection, JSON field split |
127
+ | `leetspeak` | Minimal, moderate, aggressive substitution tiers |
128
+ | `regional_digits` | Arabic-Indic, Devanagari, Bengali, Thai, and 6 more scripts |
129
+ | `encoding` | Base64, ROT13, double URL encoding, encoding chains |
130
+ | `context_injection` | Value in JSON record, XML element, SQL snippet |
131
+ | `bidirectional` | Unicode RLO/LRO/RLE control characters |
132
+ | `soft_hyphen` | U+00AD invisible separator at group boundaries |
133
+ | `morse_code` | Digits encoded as International Morse Code |
134
+
135
+ ---
136
+
137
+ ## Capital markets coverage
138
+
139
+ v3.24.0 adds securities identifiers and financial messaging references to the `banking` and `core` tiers:
140
+
141
+ | Category | Examples | Tier |
142
+ |---|---|---|
143
+ | `isin` | US0378331005 (Apple), CA7800871021 (RBC) | banking |
144
+ | `cusip_num` | 037833100 (Apple), 46625H100 (JPMorgan) | banking |
145
+ | `cins_num` | G0177J108 (UK-registered), F22797108 (French) | core |
146
+ | `sedol_num` | 2005973 (BP), 0540528 (HSBC) | core |
147
+ | `figi_num` | BBG000B9XRY4 (Apple), BBG000DMBXR2 (JPMorgan) | banking |
148
+ | `lei_num` | HWUPKR0MPOU8FGXBT394 (Apple), R0MUWSFPU8MPRO8K5P83 (BNP) | banking |
149
+ | `ticker_symbol` | AAPL, JPM, RY.TO, BRK.A | core |
150
+ | `reuters_ric` | AAPL.O, JPM.N, BP.L | core |
151
+ | `valor_num` | 3234936 (Apple/SIX), 1225514 (Nestlé) | core |
152
+ | `wkn_num` | 865985 (Apple/Frankfurt), 840400 (BMW) | core |
153
+ | `mt103_ref` | FT23148BTJK7LMNQ, PAYREF2024031401 | banking |
154
+ | `mifid_tx_id` | MIFID20230517ABC0000000012345678… | core |
155
+ | `chips_uid` | 0001JPMC | banking |
156
+ | `sepa_ref` | RF18539007547034 | banking |
157
+ | `fedwire_imad` | 20231015BNKUS33XXXX000123456789 | banking |
158
+
159
+ All securities identifiers include checksum-validated synthetic generators (CUSIP ANSI X9.6, SEDOL weighted mod-10, ISIN Luhn, FIGI Luhn, LEI ISO 17442 mod-97).
160
+
161
+ ---
162
+
163
+ ## Configuration
164
+
165
+ Run `evadex init` to create `evadex.yaml` in the current directory:
166
+
167
+ ```yaml
168
+ tool: siphon-cli
169
+ exe: /path/to/siphon
170
+ tier: northam
171
+ concurrency: 32
172
+ ```
173
+
174
+ CLI flags override config values. `evadex.yaml` is auto-discovered from the working directory.
175
+
176
+ ---
177
+
178
+ ## Analysis commands
179
+
180
+ ```bash
181
+ evadex history # past scan and falsepos runs
182
+ evadex trend # ASCII chart of detection rate over time
183
+ evadex techniques --top 10 # techniques with highest bypass rate
184
+ evadex doctor # environment health check
185
+ evadex benchmark # measure generate/scan performance
186
+ ```
187
+
188
+ ## Result commands (v3.27–3.28)
189
+
190
+ ```bash
191
+ # Compare two scan runs at the individual variant level
192
+ evadex diff before.json after.json
193
+ evadex diff before.json after.json --format html --output diff.html
194
+ evadex diff before.json after.json --format json --output diff.json
195
+
196
+ # Export scan results as CSV or Markdown
197
+ evadex export scan.json --format csv --output findings.csv
198
+ evadex export scan.json --format markdown --output findings.md
199
+ evadex export scan.json --format csv --only-bypassed # evasions only
200
+
201
+ # Validate that a document template generates a correct, openable file
202
+ evadex validate --template trade_confirmation --format docx
203
+ evadex validate --all-templates --format csv
204
+ evadex validate --template swift_mt103 --format docx --scan # also submit to scanner
205
+
206
+ # Current state at a glance: scanner, last scan, bridge, cache, scheduled jobs
207
+ evadex status
208
+ evadex status --json
209
+
210
+ # Manage the scan result cache (SQLite, 24-hour TTL by default)
211
+ evadex cache stats
212
+ evadex cache clear --yes
213
+
214
+ # Resume an interrupted scan from a saved checkpoint
215
+ evadex scan --resume
216
+ evadex scan --tier northam --resume --scanner-label post-patch
217
+ ```
218
+
219
+ ## Advanced commands (Siphon-specific)
220
+
221
+ ```bash
222
+ evadex entropy --url http://localhost:8080 # test entropy detection modes
223
+ evadex edm --url http://localhost:8080 # test Exact Data Match engine
224
+ evadex lsh --url http://localhost:8080 # test document-similarity detection
225
+ evadex bridge --port 9191 # start HTTP API bridge
226
+ ```
227
+
228
+ ---
229
+
230
+ ## Requirements
231
+
232
+ - Python 3.11+
233
+ - A DLP scanner (Siphon recommended, dlpscan-rs supported, any CLI scanner via adapter)
234
+
235
+ Optional extras:
236
+
237
+ ```bash
238
+ pip install evadex[barcodes] # PNG/JPG barcode generation (QR, Code128, EAN-13)
239
+ pip install evadex[data-formats] # Parquet and SQLite output
240
+ pip install evadex[archives] # 7z archive output
241
+ pip install evadex[bridge] # HTTP API bridge (FastAPI)
242
+ ```
243
+
244
+ ---
245
+
246
+ ## Full documentation
247
+
248
+ See [docs/REFERENCE.md](docs/REFERENCE.md) for the complete CLI reference:
249
+
250
+ - All flags and options for every command
251
+ - Payload coverage by region (593 payloads, 501 categories)
252
+ - Adapter configuration (Siphon, dlpscan-rs, Presidio)
253
+ - Profile system and scheduling
254
+ - Bridge/C2 integration
255
+ - Architecture overview
@@ -0,0 +1,202 @@
1
+ # evadex
2
+
3
+ DLP quality assurance testing. Generate synthetic sensitive data, test your scanner, measure detection gaps.
4
+
5
+ ---
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ pip install evadex
11
+ ```
12
+
13
+ ## Quick start
14
+
15
+ ```bash
16
+ evadex quickstart
17
+ ```
18
+
19
+ The wizard detects your environment, configures your scanner, and runs a first test. Saves config to `evadex.yaml` so subsequent runs just work.
20
+
21
+ ---
22
+
23
+ ## Core commands
24
+
25
+ ```bash
26
+ evadex scan # test your scanner (northam tier, auto-detect scanner)
27
+ evadex scan --fast # top techniques only, ~5 min
28
+ evadex scan --tier full # comprehensive test, all payloads
29
+
30
+ evadex generate # interactive: pick format, count, output
31
+ evadex generate --format xlsx # 100-record spreadsheet
32
+ evadex generate --formats xlsx,docx,pdf --tier northam # all formats at once
33
+
34
+ evadex falsepos # measure false positive rate (100 values)
35
+ evadex falsepos --count 500 # more thorough
36
+
37
+ evadex report results/scan.json # generate HTML report
38
+ ```
39
+
40
+ ---
41
+
42
+ ## Tiers
43
+
44
+ | Tier | Focus | Est. Time | When to use |
45
+ |------|-------|-----------|-------------|
46
+ | `northam` **(default)** | Canada + US + capital markets | ~5 min | Daily North America testing |
47
+ | `banking` | Canadian banking focus | ~4 min | Banking compliance (CA-only) |
48
+ | `core` | Broad PII + international | ~10 min | Weekly benchmarks |
49
+ | `regional` | Full international coverage | ~20 min | Global deployments |
50
+ | `full` | Everything | ~30 min | Major releases |
51
+
52
+ ---
53
+
54
+ ## Formats
55
+
56
+ Generate test files in any of these formats:
57
+
58
+ ```
59
+ xlsx · docx · pdf · csv · txt · json · xml · sql · log · eml
60
+ parquet · sqlite · zip · 7z · mbox · png · jpg
61
+ ```
62
+
63
+ ---
64
+
65
+ ## Evasion techniques
66
+
67
+ evadex tests 13 technique families:
68
+
69
+ | Technique | Examples |
70
+ |---|---|
71
+ | `unicode_encoding` | Fullwidth digits, homoglyphs, zero-width chars, NFD normalization |
72
+ | `delimiter` | Space, hyphen, dot, tab, newline, mixed, doubled, none |
73
+ | `splitting` | Mid-value line break, HTML comment injection, JSON field split |
74
+ | `leetspeak` | Minimal, moderate, aggressive substitution tiers |
75
+ | `regional_digits` | Arabic-Indic, Devanagari, Bengali, Thai, and 6 more scripts |
76
+ | `encoding` | Base64, ROT13, double URL encoding, encoding chains |
77
+ | `context_injection` | Value in JSON record, XML element, SQL snippet |
78
+ | `bidirectional` | Unicode RLO/LRO/RLE control characters |
79
+ | `soft_hyphen` | U+00AD invisible separator at group boundaries |
80
+ | `morse_code` | Digits encoded as International Morse Code |
81
+
82
+ ---
83
+
84
+ ## Capital markets coverage
85
+
86
+ v3.24.0 adds securities identifiers and financial messaging references to the `banking` and `core` tiers:
87
+
88
+ | Category | Examples | Tier |
89
+ |---|---|---|
90
+ | `isin` | US0378331005 (Apple), CA7800871021 (RBC) | banking |
91
+ | `cusip_num` | 037833100 (Apple), 46625H100 (JPMorgan) | banking |
92
+ | `cins_num` | G0177J108 (UK-registered), F22797108 (French) | core |
93
+ | `sedol_num` | 2005973 (BP), 0540528 (HSBC) | core |
94
+ | `figi_num` | BBG000B9XRY4 (Apple), BBG000DMBXR2 (JPMorgan) | banking |
95
+ | `lei_num` | HWUPKR0MPOU8FGXBT394 (Apple), R0MUWSFPU8MPRO8K5P83 (BNP) | banking |
96
+ | `ticker_symbol` | AAPL, JPM, RY.TO, BRK.A | core |
97
+ | `reuters_ric` | AAPL.O, JPM.N, BP.L | core |
98
+ | `valor_num` | 3234936 (Apple/SIX), 1225514 (Nestlé) | core |
99
+ | `wkn_num` | 865985 (Apple/Frankfurt), 840400 (BMW) | core |
100
+ | `mt103_ref` | FT23148BTJK7LMNQ, PAYREF2024031401 | banking |
101
+ | `mifid_tx_id` | MIFID20230517ABC0000000012345678… | core |
102
+ | `chips_uid` | 0001JPMC | banking |
103
+ | `sepa_ref` | RF18539007547034 | banking |
104
+ | `fedwire_imad` | 20231015BNKUS33XXXX000123456789 | banking |
105
+
106
+ All securities identifiers include checksum-validated synthetic generators (CUSIP ANSI X9.6, SEDOL weighted mod-10, ISIN Luhn, FIGI Luhn, LEI ISO 17442 mod-97).
107
+
108
+ ---
109
+
110
+ ## Configuration
111
+
112
+ Run `evadex init` to create `evadex.yaml` in the current directory:
113
+
114
+ ```yaml
115
+ tool: siphon-cli
116
+ exe: /path/to/siphon
117
+ tier: northam
118
+ concurrency: 32
119
+ ```
120
+
121
+ CLI flags override config values. `evadex.yaml` is auto-discovered from the working directory.
122
+
123
+ ---
124
+
125
+ ## Analysis commands
126
+
127
+ ```bash
128
+ evadex history # past scan and falsepos runs
129
+ evadex trend # ASCII chart of detection rate over time
130
+ evadex techniques --top 10 # techniques with highest bypass rate
131
+ evadex doctor # environment health check
132
+ evadex benchmark # measure generate/scan performance
133
+ ```
134
+
135
+ ## Result commands (v3.27–3.28)
136
+
137
+ ```bash
138
+ # Compare two scan runs at the individual variant level
139
+ evadex diff before.json after.json
140
+ evadex diff before.json after.json --format html --output diff.html
141
+ evadex diff before.json after.json --format json --output diff.json
142
+
143
+ # Export scan results as CSV or Markdown
144
+ evadex export scan.json --format csv --output findings.csv
145
+ evadex export scan.json --format markdown --output findings.md
146
+ evadex export scan.json --format csv --only-bypassed # evasions only
147
+
148
+ # Validate that a document template generates a correct, openable file
149
+ evadex validate --template trade_confirmation --format docx
150
+ evadex validate --all-templates --format csv
151
+ evadex validate --template swift_mt103 --format docx --scan # also submit to scanner
152
+
153
+ # Current state at a glance: scanner, last scan, bridge, cache, scheduled jobs
154
+ evadex status
155
+ evadex status --json
156
+
157
+ # Manage the scan result cache (SQLite, 24-hour TTL by default)
158
+ evadex cache stats
159
+ evadex cache clear --yes
160
+
161
+ # Resume an interrupted scan from a saved checkpoint
162
+ evadex scan --resume
163
+ evadex scan --tier northam --resume --scanner-label post-patch
164
+ ```
165
+
166
+ ## Advanced commands (Siphon-specific)
167
+
168
+ ```bash
169
+ evadex entropy --url http://localhost:8080 # test entropy detection modes
170
+ evadex edm --url http://localhost:8080 # test Exact Data Match engine
171
+ evadex lsh --url http://localhost:8080 # test document-similarity detection
172
+ evadex bridge --port 9191 # start HTTP API bridge
173
+ ```
174
+
175
+ ---
176
+
177
+ ## Requirements
178
+
179
+ - Python 3.11+
180
+ - A DLP scanner (Siphon recommended, dlpscan-rs supported, any CLI scanner via adapter)
181
+
182
+ Optional extras:
183
+
184
+ ```bash
185
+ pip install evadex[barcodes] # PNG/JPG barcode generation (QR, Code128, EAN-13)
186
+ pip install evadex[data-formats] # Parquet and SQLite output
187
+ pip install evadex[archives] # 7z archive output
188
+ pip install evadex[bridge] # HTTP API bridge (FastAPI)
189
+ ```
190
+
191
+ ---
192
+
193
+ ## Full documentation
194
+
195
+ See [docs/REFERENCE.md](docs/REFERENCE.md) for the complete CLI reference:
196
+
197
+ - All flags and options for every command
198
+ - Payload coverage by region (593 payloads, 501 categories)
199
+ - Adapter configuration (Siphon, dlpscan-rs, Presidio)
200
+ - Profile system and scheduling
201
+ - Bridge/C2 integration
202
+ - Architecture overview
@@ -0,0 +1,100 @@
1
+ [build-system]
2
+ requires = ["setuptools>=68"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "evadex"
7
+ version = "3.28.2"
8
+ description = "Comprehensive DLP evasion test suite — scanner-agnostic, file-aware"
9
+ readme = "README.md"
10
+ requires-python = ">=3.11"
11
+ license = "MIT"
12
+ license-files = ["LICENSE"]
13
+ keywords = ["dlp", "security", "evasion", "testing", "compliance", "pci-dss", "scanner"]
14
+ classifiers = [
15
+ "Development Status :: 4 - Beta",
16
+ "Environment :: Console",
17
+ "Intended Audience :: Information Technology",
18
+ "Intended Audience :: System Administrators",
19
+ "Operating System :: OS Independent",
20
+ "Programming Language :: Python :: 3",
21
+ "Programming Language :: Python :: 3.11",
22
+ "Programming Language :: Python :: 3.12",
23
+ "Programming Language :: Python :: 3.13",
24
+ "Topic :: Security",
25
+ "Topic :: System :: Systems Administration",
26
+ "Typing :: Typed",
27
+ ]
28
+ dependencies = [
29
+ "click>=8.1,<9",
30
+ "httpx>=0.27,<1",
31
+ "python-docx>=1.1,<2",
32
+ "fpdf2>=2.7.9,<3",
33
+ "openpyxl>=3.1,<4",
34
+ "jinja2>=3.1,<4",
35
+ "rich>=13.0,<14",
36
+ "pyyaml>=6.0,<7",
37
+ ]
38
+
39
+ [project.optional-dependencies]
40
+ dev = [
41
+ "pytest>=8.0,<10",
42
+ "pytest-asyncio>=0.23,<2",
43
+ "respx>=0.21,<1",
44
+ "ruff>=0.4,<1",
45
+ ]
46
+ # Optional barcode/QR image generation for `evadex generate --format png|jpg|multi_barcode_png`.
47
+ # Exercises DLP scanners (e.g. Siphon) that decode QR codes and 1D/2D
48
+ # barcodes from image inputs. Install with `pip install evadex[barcodes]`.
49
+ barcodes = [
50
+ "qrcode[pil]>=7.4,<9",
51
+ "python-barcode[images]>=0.15,<1",
52
+ "Pillow>=10.0,<13",
53
+ ]
54
+ # Parquet and SQLite generation for `evadex generate --format parquet|sqlite`.
55
+ # Exercises DLP scanners with data-formats extractors (e.g. Siphon built with
56
+ # `--features data-formats`, which pulls the parquet + rusqlite crates).
57
+ # sqlite is stdlib, so this extra only covers Parquet.
58
+ data-formats = [
59
+ "pyarrow>=14.0,<24",
60
+ "pandas>=2.0,<4",
61
+ ]
62
+ # Archive generation for `evadex generate --format zip|zip_nested|7z`.
63
+ # Exercises Siphon's archive extractors in `crates/siphon-core/src/extractors.rs`
64
+ # (zip is stdlib so only 7z needs an extra). mbox / ics / warc all use stdlib only.
65
+ # RAR generation is intentionally not supported here because writing RAR archives
66
+ # requires the proprietary RAR encoder which has no permissively-licensed
67
+ # Python implementation; consume real-world RAR samples instead.
68
+ archives = [
69
+ "py7zr>=0.20,<2",
70
+ ]
71
+ # HTTP bridge server for `evadex bridge` — exposes /v1/evadex/run,
72
+ # /v1/evadex/metrics, /v1/evadex/generate so frontends (siphon-c2,
73
+ # dashboards, automation) can drive evadex over HTTP.
74
+ bridge = [
75
+ "fastapi>=0.110,<1",
76
+ "uvicorn[standard]>=0.27,<1",
77
+ "python-multipart>=0.0.9,<1",
78
+ ]
79
+
80
+ [project.urls]
81
+ Homepage = "https://github.com/tbustenk/evadex"
82
+ Repository = "https://github.com/tbustenk/evadex"
83
+ "Bug Tracker" = "https://github.com/tbustenk/evadex/issues"
84
+ Changelog = "https://github.com/tbustenk/evadex/blob/main/CHANGELOG.md"
85
+
86
+ [project.scripts]
87
+ evadex = "evadex.cli.app:main"
88
+
89
+ [tool.setuptools.packages.find]
90
+ where = ["src"]
91
+
92
+ [tool.setuptools.package-data]
93
+ "evadex.profiles.builtins" = ["*.yaml"]
94
+
95
+ [tool.pytest.ini_options]
96
+ asyncio_mode = "auto"
97
+ testpaths = ["tests"]
98
+ markers = [
99
+ "slow: marks tests as slow (deselect with '-m \"not slow\"')",
100
+ ]
@@ -1,5 +1,6 @@
1
- from importlib.metadata import version, PackageNotFoundError
2
- try:
3
- __version__ = version("evadex")
4
- except PackageNotFoundError:
5
- __version__ = "0.1.0"
1
+ from importlib.metadata import version, PackageNotFoundError
2
+
3
+ try:
4
+ __version__ = version("evadex")
5
+ except PackageNotFoundError:
6
+ __version__ = "0.1.0"
@@ -1,4 +1,4 @@
1
- from evadex.cli.app import main
2
-
3
- if __name__ == "__main__":
4
- main()
1
+ from evadex.cli.app import main
2
+
3
+ if __name__ == "__main__":
4
+ main()