zen-ai-pentest 2.0.0__py3-none-any.whl

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 (75) hide show
  1. agents/__init__.py +28 -0
  2. agents/agent_base.py +239 -0
  3. agents/agent_orchestrator.py +346 -0
  4. agents/analysis_agent.py +225 -0
  5. agents/cli.py +258 -0
  6. agents/exploit_agent.py +224 -0
  7. agents/integration.py +211 -0
  8. agents/post_scan_agent.py +937 -0
  9. agents/react_agent.py +384 -0
  10. agents/react_agent_enhanced.py +616 -0
  11. agents/react_agent_vm.py +298 -0
  12. agents/research_agent.py +176 -0
  13. api/__init__.py +11 -0
  14. api/auth.py +123 -0
  15. api/main.py +1027 -0
  16. api/schemas.py +357 -0
  17. api/websocket.py +97 -0
  18. autonomous/__init__.py +122 -0
  19. autonomous/agent.py +253 -0
  20. autonomous/agent_loop.py +1370 -0
  21. autonomous/exploit_validator.py +1537 -0
  22. autonomous/memory.py +448 -0
  23. autonomous/react.py +339 -0
  24. autonomous/tool_executor.py +488 -0
  25. backends/__init__.py +16 -0
  26. backends/chatgpt_direct.py +133 -0
  27. backends/claude_direct.py +130 -0
  28. backends/duckduckgo.py +138 -0
  29. backends/openrouter.py +120 -0
  30. benchmarks/__init__.py +149 -0
  31. benchmarks/benchmark_engine.py +904 -0
  32. benchmarks/ci_benchmark.py +785 -0
  33. benchmarks/comparison.py +729 -0
  34. benchmarks/metrics.py +553 -0
  35. benchmarks/run_benchmarks.py +809 -0
  36. ci_cd/__init__.py +2 -0
  37. core/__init__.py +17 -0
  38. core/async_pool.py +282 -0
  39. core/asyncio_fix.py +222 -0
  40. core/cache.py +472 -0
  41. core/container.py +277 -0
  42. core/database.py +114 -0
  43. core/input_validator.py +353 -0
  44. core/models.py +288 -0
  45. core/orchestrator.py +611 -0
  46. core/plugin_manager.py +571 -0
  47. core/rate_limiter.py +405 -0
  48. core/secure_config.py +328 -0
  49. core/shield_integration.py +296 -0
  50. modules/__init__.py +46 -0
  51. modules/cve_database.py +362 -0
  52. modules/exploit_assist.py +330 -0
  53. modules/nuclei_integration.py +480 -0
  54. modules/osint.py +604 -0
  55. modules/protonvpn.py +554 -0
  56. modules/recon.py +165 -0
  57. modules/sql_injection_db.py +826 -0
  58. modules/tool_orchestrator.py +498 -0
  59. modules/vuln_scanner.py +292 -0
  60. modules/wordlist_generator.py +566 -0
  61. risk_engine/__init__.py +99 -0
  62. risk_engine/business_impact.py +267 -0
  63. risk_engine/business_impact_calculator.py +563 -0
  64. risk_engine/cvss.py +156 -0
  65. risk_engine/epss.py +190 -0
  66. risk_engine/example_usage.py +294 -0
  67. risk_engine/false_positive_engine.py +1073 -0
  68. risk_engine/scorer.py +304 -0
  69. web_ui/backend/main.py +471 -0
  70. zen_ai_pentest-2.0.0.dist-info/METADATA +795 -0
  71. zen_ai_pentest-2.0.0.dist-info/RECORD +75 -0
  72. zen_ai_pentest-2.0.0.dist-info/WHEEL +5 -0
  73. zen_ai_pentest-2.0.0.dist-info/entry_points.txt +2 -0
  74. zen_ai_pentest-2.0.0.dist-info/licenses/LICENSE +21 -0
  75. zen_ai_pentest-2.0.0.dist-info/top_level.txt +10 -0
@@ -0,0 +1,75 @@
1
+ agents/__init__.py,sha256=8VF5jsclaE5veuv8_HrjBxViCG6klEOf1nRLdiUu9UY,795
2
+ agents/agent_base.py,sha256=NTtuBukjXNh3fj8DT_Tpx384cyqHxd03lr-1EWBeZ-8,7906
3
+ agents/agent_orchestrator.py,sha256=d2tCQccPys5BMM3LlCjf-NRHGg-amsTfrtyn_Bp0228,12964
4
+ agents/analysis_agent.py,sha256=dbBB18iro4I0CCmXv1xDkR3331s2A6pexeKXHP7SN30,8001
5
+ agents/cli.py,sha256=Ucq9JK_PlV_ECNrqUHkeda9ZaGUeTjq-v7qSyoRriUs,10048
6
+ agents/exploit_agent.py,sha256=Hxgq4j8c4AyD4Z60Y4vFJuxu9ida2vz5Kh-q3rEkOSk,8280
7
+ agents/integration.py,sha256=XInwVxcmhiO_bSLq6wbcmWzvpx4Wp5mY4cd3Bn4dRLk,6825
8
+ agents/post_scan_agent.py,sha256=Cqxuf5r1pRuYUG-x0KVpatD8FHvdtY8oXgC6b7tuNNQ,33831
9
+ agents/react_agent.py,sha256=_ogvML4_3yNtyZLj6Sya_dJde_ySMjcsnE5i-m_Or2I,13537
10
+ agents/react_agent_enhanced.py,sha256=MGdilEKEK2Kly9kSegJnSZW8UUOvfd8DNaad_MJvERo,23328
11
+ agents/react_agent_vm.py,sha256=DF_TMWG_AfWbtvw9s4TB1MAwkFLMRaWpKw2UcM7Pa5U,11128
12
+ agents/research_agent.py,sha256=f_OjmEvgQX1mUdLRlsj3-QMyB1m5J0oHIsTvFkcRijc,6394
13
+ api/__init__.py,sha256=HQ2cFR8t_PlbtgLzir7P1Umzh-syS5iEfCNZky5uL_Y,256
14
+ api/auth.py,sha256=ZqIvj0L0BTAFsytjCznGF53i1kz6DOunhLxd0mPUykA,3934
15
+ api/main.py,sha256=NGXwzpd0LuVMGA2f65PdpIDT3veHNZ4Z0fRDkJxWbx8,32324
16
+ api/schemas.py,sha256=nnE-97OOOWpAAenD_sCsCpcLy-SpWW1g2WW902mbihY,10306
17
+ api/websocket.py,sha256=DTDKr48g6RBNCBX6LM1WljR1FLTkoYB-BTm1TtMNaOY,3602
18
+ autonomous/__init__.py,sha256=Gv83jnjasidFfyD6ggCXjJlqjn6YwANLi_b0-kpBSok,2858
19
+ autonomous/agent.py,sha256=LG937JGTdiywhjDr9wCxuYaysgL7dRMbPguYWTnjrt0,8021
20
+ autonomous/agent_loop.py,sha256=a_WvxaKgImXyMdddXmdoJCANVbjmWz-FBiptHJn2608,47216
21
+ autonomous/exploit_validator.py,sha256=ZBFqh7v55_6yInqO9bcoEABH0ZxdZBPQYVP0jiSw_JQ,50148
22
+ autonomous/memory.py,sha256=l-YeUVAlbI_o44WM3aO5Yn01LlZ0O5iaaBBb6q1pRWY,14891
23
+ autonomous/react.py,sha256=xkIGTZyaJexSFcLoaOPfQl5XOnpbJXgp1ItppBSh1Ec,11448
24
+ autonomous/tool_executor.py,sha256=vyDtfyPmg9MzLHlX8p7GlSIMwTN6DzQUD-OHXeOSrfQ,16095
25
+ backends/__init__.py,sha256=n1gC3JSteVUemDK5D98KxXkhrp05JBBSsO43oR6wouQ,388
26
+ backends/chatgpt_direct.py,sha256=bDlX0d-HkTjI2VSfCTKzwvwOBVpZwCepmivyr7r1lho,4650
27
+ backends/claude_direct.py,sha256=Dh3U5d1BdRnoRseV7UM2djxvo40YwinmVp1V3F5F7tg,4280
28
+ backends/duckduckgo.py,sha256=btWfM2laDTIRwmzdLevpT0KMFTyV-DpnkDH1tSeHIps,4478
29
+ backends/openrouter.py,sha256=kMOp81yGlVyQcqswh__psapjFHwr05NeGP23OTuSx5Y,3728
30
+ benchmarks/__init__.py,sha256=b53wH3SJKA7svRMSelFJY6rkhMFs8ALQDUSqTYCNAHg,3129
31
+ benchmarks/benchmark_engine.py,sha256=FP-Cr6nhZDozmST7fewjdgL47qFwESqtvtbYgycufRE,31260
32
+ benchmarks/ci_benchmark.py,sha256=XOzRmTVmYZCLzh9lPieg6rCo2bl9AiOsM-UFLtC6aLE,24815
33
+ benchmarks/comparison.py,sha256=6hLaCUWiNuBzFSFSr4fCjIcYDln1mhLcpkdhBB82EPQ,23587
34
+ benchmarks/metrics.py,sha256=p4cb27iX-LjVrAVSUpVWIQ9PHIDF8Y7s7NnRzG8buRA,19476
35
+ benchmarks/run_benchmarks.py,sha256=c6Q3qYVb2auICSRjw4KeK13mgosGcibDc6n7yH0iYPg,31509
36
+ ci_cd/__init__.py,sha256=ALd3sI-uoMzu1yYH6Fk0KHla8Rst2r9-XoYE1SiYaT8,72
37
+ core/__init__.py,sha256=N0dzS6fnWpbcLe7tegwmK4pkMnGq8zeaFjjowfaBinQ,486
38
+ core/async_pool.py,sha256=n3fqTVfbwa9jGed7bPVUaCpcjK5ksF-ol9B6bfyn4q8,9016
39
+ core/asyncio_fix.py,sha256=2I8evhB50P4vo9k3vDrXXXWz4h-1ufU0ZkSuD0-t9RI,6198
40
+ core/cache.py,sha256=RMyhsuHzgVzwNFwPjpw052z23KXMP0p7sXJZ4XLURw8,13772
41
+ core/container.py,sha256=uCtxGZ9kxprRccA-GY3_bTc2l_2wT03nsfSzz9Qk-O4,8014
42
+ core/database.py,sha256=04iYCf0iRd5PjRFSKIw29Kr-1UVpg3xY7UP60vLhAm8,3164
43
+ core/input_validator.py,sha256=XkGhHYiczvUI03vFeCUMCKypXkzYi-QZyiRK_M_c_wg,10050
44
+ core/models.py,sha256=IaO7jlAAEsy3oUhbCrfMSD7kvKnPYyviYH8zxpYafzo,8602
45
+ core/orchestrator.py,sha256=Iv7oi2SbDGWvuVdHyezZMLm5EOl31y_4osniiL6LSU4,21727
46
+ core/plugin_manager.py,sha256=3sG2DMiWbyjAaoydtyz2pXmdJ-G_-SWgCLGs-w_QoSA,19167
47
+ core/rate_limiter.py,sha256=poEYln6DGFs6C6n2rSnqRykax-YDi5NySk4LJnkgCpk,12423
48
+ core/secure_config.py,sha256=tTDVXKoLiGKdfCQkLorgEKw2qdVyPjwhaxwyuFlGD_8,10361
49
+ core/shield_integration.py,sha256=ktL_25WY0JBH5dBNvqcJLw42mQFkKr6ku5lkgH119Mw,9997
50
+ modules/__init__.py,sha256=N9gvXDXbB1jAzQuImM8oZky2W9QwURup6SMEets4BJ0,1366
51
+ modules/cve_database.py,sha256=46ucXLdWjEUed4qh4wznn3oWEyoxWay2r3EVgVMmBrg,13137
52
+ modules/exploit_assist.py,sha256=xMcIYgwP6XSNuJDw8hI3FM1GsvvL9B3uMiYE8w-OBbY,10254
53
+ modules/nuclei_integration.py,sha256=2pvFCcTpEpC6M6YV2QWoHBxpKYswoYnD7dX4GJTQnX4,14814
54
+ modules/osint.py,sha256=SZG1rfMQ-zPIasYtKRzFlsjXR3wDSrVLRUtg6extUok,20600
55
+ modules/protonvpn.py,sha256=4G-tLL3JyjJm-ryQIt4-hQTX4eKX_OTZnKFkZaK_F8Q,18133
56
+ modules/recon.py,sha256=utS-wfdRBS7XaGtr1mcpMuetyJcCi2B8LZrAmVJjhcM,5002
57
+ modules/sql_injection_db.py,sha256=x9VVIaXkykXo0zFmcPqIMk9gh_CF-Lrs9Ht2hrb9DLk,28945
58
+ modules/tool_orchestrator.py,sha256=6FwR-EMR-HIrLFFimWf5MUMf_AYIYPUuZPaL8oTUNVU,15868
59
+ modules/vuln_scanner.py,sha256=L68uCM1YezXrnbqjhJlslVyQOlM9jejnZHWR8j0B1m8,8617
60
+ modules/wordlist_generator.py,sha256=3qAZseHDKI55x3gAnxKtwN1iMjXSJi1N0uMBnCnogV8,15429
61
+ risk_engine/__init__.py,sha256=LKP5c_eYjSlROfSjXc_5mzmTGsi6odEOg3K1yIdR23U,2360
62
+ risk_engine/business_impact.py,sha256=gAjhNdMLdjx5iQkpPqxb6ugfRL6_1VCc6AIli95kS0E,8657
63
+ risk_engine/business_impact_calculator.py,sha256=9SgIXfhF-EFVwULyWepv1_Wcr_UOSg2E0oO2_VwwTWk,21222
64
+ risk_engine/cvss.py,sha256=iI8clKFSwi9w1xIW2Z9tCScUOmGSGWJrowA9jGWW86I,5397
65
+ risk_engine/epss.py,sha256=16zwDeMVSjcZ9MXUyRdqzH9qyMt7UxpmS5r88O6BBxA,5696
66
+ risk_engine/example_usage.py,sha256=eM54wLDy3eZtiDGjOSZ4YrsCcEUzfVKjV_A_Pkn07is,10108
67
+ risk_engine/false_positive_engine.py,sha256=8u0wI3W25fsEq9eXfskUtcHfV3D2V6ElzVSgY_TAA-c,37961
68
+ risk_engine/scorer.py,sha256=BklUfMo26IaOYOJse-mjvY8NwjpbI4UEIlqZ6MhCmwU,10282
69
+ web_ui/backend/main.py,sha256=DTVmsvbDH7EvMmeohbcl8vYyKPyaLU8oHMvwWAqAF8k,15402
70
+ zen_ai_pentest-2.0.0.dist-info/licenses/LICENSE,sha256=C1sNTmgBbFuCm9vPCctuz6pQr4khkgqoQEMUE6cP-FY,1068
71
+ zen_ai_pentest-2.0.0.dist-info/METADATA,sha256=zeQNw06OBTKqWe_7IqybABC71F-g4m_EfXmf9ePDgz8,29663
72
+ zen_ai_pentest-2.0.0.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
73
+ zen_ai_pentest-2.0.0.dist-info/entry_points.txt,sha256=qZRuz7yjZdEMiUrfflMiGzMUHUZWasT49-HNE-EKmTE,55
74
+ zen_ai_pentest-2.0.0.dist-info/top_level.txt,sha256=ExWeAuK-0xRpcWS7QsL8LEdPVJy1-Z-83qwOJ1-CERA,80
75
+ zen_ai_pentest-2.0.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.10.2)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ zen-ai-pentest = zen_ai_pentest:main
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 SHAdd0WTAka
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.
@@ -0,0 +1,10 @@
1
+ agents
2
+ api
3
+ autonomous
4
+ backends
5
+ benchmarks
6
+ ci_cd
7
+ core
8
+ modules
9
+ risk_engine
10
+ web_ui