erosolar-cli 1.7.54 → 1.7.56

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 (283) hide show
  1. package/dist/core/agent.d.ts.map +1 -1
  2. package/dist/core/agent.js +14 -4
  3. package/dist/core/agent.js.map +1 -1
  4. package/dist/providers/anthropicProvider.d.ts.map +1 -1
  5. package/dist/providers/anthropicProvider.js +2 -1
  6. package/dist/providers/anthropicProvider.js.map +1 -1
  7. package/dist/ui/persistentPrompt.d.ts +24 -0
  8. package/dist/ui/persistentPrompt.d.ts.map +1 -1
  9. package/dist/ui/persistentPrompt.js +86 -4
  10. package/dist/ui/persistentPrompt.js.map +1 -1
  11. package/package.json +1 -1
  12. package/dist/active-stack-security.d.ts +0 -110
  13. package/dist/active-stack-security.js +0 -313
  14. package/dist/active-stack-security.js.map +0 -1
  15. package/dist/advanced-targeting.d.ts +0 -113
  16. package/dist/advanced-targeting.js +0 -252
  17. package/dist/advanced-targeting.js.map +0 -1
  18. package/dist/bin/adapters/node/index.js +0 -33
  19. package/dist/bin/adapters/types.js +0 -1
  20. package/dist/bin/alpha-zero/agentWrapper.js +0 -165
  21. package/dist/bin/alpha-zero/codeEvaluator.js +0 -272
  22. package/dist/bin/alpha-zero/competitiveRunner.js +0 -219
  23. package/dist/bin/alpha-zero/index.js +0 -98
  24. package/dist/bin/alpha-zero/introspection.js +0 -298
  25. package/dist/bin/alpha-zero/metricsTracker.js +0 -207
  26. package/dist/bin/alpha-zero/security/core.js +0 -269
  27. package/dist/bin/alpha-zero/security/google.js +0 -308
  28. package/dist/bin/alpha-zero/security/googleLoader.js +0 -40
  29. package/dist/bin/alpha-zero/security/index.js +0 -31
  30. package/dist/bin/alpha-zero/security/simulation.js +0 -274
  31. package/dist/bin/alpha-zero/selfModification.js +0 -231
  32. package/dist/bin/alpha-zero/types.js +0 -30
  33. package/dist/bin/bin/erosolar-optimized.js +0 -205
  34. package/dist/bin/capabilities/agentSpawningCapability.js +0 -116
  35. package/dist/bin/capabilities/bashCapability.js +0 -22
  36. package/dist/bin/capabilities/cloudCapability.js +0 -36
  37. package/dist/bin/capabilities/codeAnalysisCapability.js +0 -22
  38. package/dist/bin/capabilities/codeQualityCapability.js +0 -23
  39. package/dist/bin/capabilities/dependencySecurityCapability.js +0 -22
  40. package/dist/bin/capabilities/devCapability.js +0 -22
  41. package/dist/bin/capabilities/editCapability.js +0 -28
  42. package/dist/bin/capabilities/emailCapability.js +0 -20
  43. package/dist/bin/capabilities/enhancedGitCapability.js +0 -221
  44. package/dist/bin/capabilities/filesystemCapability.js +0 -22
  45. package/dist/bin/capabilities/globCapability.js +0 -28
  46. package/dist/bin/capabilities/interactionCapability.js +0 -20
  47. package/dist/bin/capabilities/learnCapability.js +0 -22
  48. package/dist/bin/capabilities/mcpCapability.js +0 -20
  49. package/dist/bin/capabilities/notebookCapability.js +0 -28
  50. package/dist/bin/capabilities/planningCapability.js +0 -27
  51. package/dist/bin/capabilities/refactoringCapability.js +0 -23
  52. package/dist/bin/capabilities/repoChecksCapability.js +0 -22
  53. package/dist/bin/capabilities/searchCapability.js +0 -22
  54. package/dist/bin/capabilities/skillCapability.js +0 -76
  55. package/dist/bin/capabilities/taskManagementCapability.js +0 -20
  56. package/dist/bin/capabilities/testingCapability.js +0 -23
  57. package/dist/bin/capabilities/toolManifest.js +0 -159
  58. package/dist/bin/capabilities/toolRegistry.js +0 -114
  59. package/dist/bin/capabilities/webCapability.js +0 -20
  60. package/dist/bin/config.js +0 -139
  61. package/dist/bin/contracts/v1/agent.js +0 -7
  62. package/dist/bin/contracts/v1/agentProfileManifest.js +0 -8
  63. package/dist/bin/contracts/v1/agentRules.js +0 -9
  64. package/dist/bin/contracts/v1/toolAccess.js +0 -8
  65. package/dist/bin/erosolar-optimized.d.ts +0 -12
  66. package/dist/bin/erosolar-optimized.d.ts.map +0 -1
  67. package/dist/bin/erosolar-optimized.js +0 -239
  68. package/dist/bin/erosolar-optimized.js.map +0 -1
  69. package/dist/bin/headless/headlessApp.js +0 -172
  70. package/dist/bin/mcp/config.js +0 -202
  71. package/dist/bin/mcp/stdioClient.js +0 -172
  72. package/dist/bin/mcp/toolBridge.js +0 -104
  73. package/dist/bin/mcp/types.js +0 -1
  74. package/dist/bin/plugins/index.js +0 -113
  75. package/dist/bin/plugins/providers/anthropic/index.js +0 -25
  76. package/dist/bin/plugins/providers/deepseek/index.js +0 -24
  77. package/dist/bin/plugins/providers/google/index.js +0 -26
  78. package/dist/bin/plugins/providers/index.js +0 -19
  79. package/dist/bin/plugins/providers/ollama/index.js +0 -59
  80. package/dist/bin/plugins/providers/openai/index.js +0 -26
  81. package/dist/bin/plugins/providers/xai/index.js +0 -24
  82. package/dist/bin/plugins/tools/agentSpawning/agentSpawningPlugin.js +0 -8
  83. package/dist/bin/plugins/tools/bash/localBashPlugin.js +0 -13
  84. package/dist/bin/plugins/tools/checks/localRepoChecksPlugin.js +0 -13
  85. package/dist/bin/plugins/tools/cloud/cloudPlugin.js +0 -13
  86. package/dist/bin/plugins/tools/codeAnalysis/codeAnalysisPlugin.js +0 -13
  87. package/dist/bin/plugins/tools/codeQuality/codeQualityPlugin.js +0 -13
  88. package/dist/bin/plugins/tools/dependency/dependencyPlugin.js +0 -11
  89. package/dist/bin/plugins/tools/development/devPlugin.js +0 -13
  90. package/dist/bin/plugins/tools/edit/editPlugin.js +0 -14
  91. package/dist/bin/plugins/tools/email/emailPlugin.js +0 -11
  92. package/dist/bin/plugins/tools/enhancedGit/enhancedGitPlugin.js +0 -8
  93. package/dist/bin/plugins/tools/filesystem/localFilesystemPlugin.js +0 -13
  94. package/dist/bin/plugins/tools/glob/globPlugin.js +0 -14
  95. package/dist/bin/plugins/tools/index.js +0 -2
  96. package/dist/bin/plugins/tools/interaction/interactionPlugin.js +0 -11
  97. package/dist/bin/plugins/tools/learn/learnPlugin.js +0 -13
  98. package/dist/bin/plugins/tools/mcp/mcpPlugin.js +0 -8
  99. package/dist/bin/plugins/tools/nodeDefaults.js +0 -56
  100. package/dist/bin/plugins/tools/notebook/notebookPlugin.js +0 -14
  101. package/dist/bin/plugins/tools/planning/planningPlugin.js +0 -14
  102. package/dist/bin/plugins/tools/refactoring/refactoringPlugin.js +0 -11
  103. package/dist/bin/plugins/tools/registry.js +0 -57
  104. package/dist/bin/plugins/tools/search/localSearchPlugin.js +0 -13
  105. package/dist/bin/plugins/tools/skills/skillPlugin.js +0 -8
  106. package/dist/bin/plugins/tools/taskManagement/taskManagementPlugin.js +0 -11
  107. package/dist/bin/plugins/tools/testing/testingPlugin.js +0 -11
  108. package/dist/bin/plugins/tools/web/webPlugin.js +0 -11
  109. package/dist/bin/providers/anthropicProvider.js +0 -329
  110. package/dist/bin/providers/googleProvider.js +0 -203
  111. package/dist/bin/providers/openaiChatCompletionsProvider.js +0 -208
  112. package/dist/bin/providers/openaiResponsesProvider.js +0 -249
  113. package/dist/bin/providers/providerFactory.js +0 -24
  114. package/dist/bin/runtime/agentController.js +0 -321
  115. package/dist/bin/runtime/agentHost.js +0 -153
  116. package/dist/bin/runtime/agentSession.js +0 -195
  117. package/dist/bin/runtime/node.js +0 -10
  118. package/dist/bin/runtime/universal.js +0 -28
  119. package/dist/bin/skills/skillRepository.js +0 -236
  120. package/dist/bin/skills/types.js +0 -1
  121. package/dist/bin/subagents/taskRunner.js +0 -269
  122. package/dist/bin/tools/backgroundBashTools.js +0 -211
  123. package/dist/bin/tools/bashTools.js +0 -159
  124. package/dist/bin/tools/cloudTools.js +0 -864
  125. package/dist/bin/tools/codeAnalysisTools.js +0 -641
  126. package/dist/bin/tools/codeQualityTools.js +0 -294
  127. package/dist/bin/tools/dependencyTools.js +0 -282
  128. package/dist/bin/tools/devTools.js +0 -238
  129. package/dist/bin/tools/diffUtils.js +0 -137
  130. package/dist/bin/tools/editTools.js +0 -134
  131. package/dist/bin/tools/emailTools.js +0 -448
  132. package/dist/bin/tools/fileTools.js +0 -282
  133. package/dist/bin/tools/globTools.js +0 -173
  134. package/dist/bin/tools/grepTools.js +0 -332
  135. package/dist/bin/tools/interactionTools.js +0 -170
  136. package/dist/bin/tools/learnTools.js +0 -1818
  137. package/dist/bin/tools/notebookEditTools.js +0 -196
  138. package/dist/bin/tools/planningTools.js +0 -46
  139. package/dist/bin/tools/refactoringTools.js +0 -293
  140. package/dist/bin/tools/repoChecksTools.js +0 -160
  141. package/dist/bin/tools/searchTools.js +0 -206
  142. package/dist/bin/tools/skillTools.js +0 -177
  143. package/dist/bin/tools/taskManagementTools.js +0 -156
  144. package/dist/bin/tools/testingTools.js +0 -232
  145. package/dist/bin/tools/webTools.js +0 -480
  146. package/dist/bin/workspace.js +0 -106
  147. package/dist/bin/workspace.validator.js +0 -213
  148. package/dist/capabilities/offensiveSecurityCapability.d.ts +0 -26
  149. package/dist/capabilities/offensiveSecurityCapability.d.ts.map +0 -1
  150. package/dist/capabilities/offensiveSecurityCapability.js +0 -58
  151. package/dist/capabilities/offensiveSecurityCapability.js.map +0 -1
  152. package/dist/capabilities/realSecurityCapability.d.ts +0 -26
  153. package/dist/capabilities/realSecurityCapability.d.ts.map +0 -1
  154. package/dist/capabilities/realSecurityCapability.js +0 -53
  155. package/dist/capabilities/realSecurityCapability.js.map +0 -1
  156. package/dist/capabilities/securityCapability.d.ts +0 -32
  157. package/dist/capabilities/securityCapability.d.ts.map +0 -1
  158. package/dist/capabilities/securityCapability.js +0 -57
  159. package/dist/capabilities/securityCapability.js.map +0 -1
  160. package/dist/capabilities/ultimateSecurityCapability.d.ts +0 -42
  161. package/dist/capabilities/ultimateSecurityCapability.d.ts.map +0 -1
  162. package/dist/capabilities/ultimateSecurityCapability.js +0 -96
  163. package/dist/capabilities/ultimateSecurityCapability.js.map +0 -1
  164. package/dist/core/designThoughtCheck.d.ts +0 -196
  165. package/dist/core/designThoughtCheck.d.ts.map +0 -1
  166. package/dist/core/designThoughtCheck.js +0 -287
  167. package/dist/core/designThoughtCheck.js.map +0 -1
  168. package/dist/core/designThoughtCheckEngine.d.ts +0 -58
  169. package/dist/core/designThoughtCheckEngine.d.ts.map +0 -1
  170. package/dist/core/designThoughtCheckEngine.js +0 -358
  171. package/dist/core/designThoughtCheckEngine.js.map +0 -1
  172. package/dist/core/designThoughtCheckIntegration.d.ts +0 -103
  173. package/dist/core/designThoughtCheckIntegration.d.ts.map +0 -1
  174. package/dist/core/designThoughtCheckIntegration.js +0 -207
  175. package/dist/core/designThoughtCheckIntegration.js.map +0 -1
  176. package/dist/core/intelligenceTools.d.ts +0 -19
  177. package/dist/core/intelligenceTools.d.ts.map +0 -1
  178. package/dist/core/intelligenceTools.js +0 -453
  179. package/dist/core/intelligenceTools.js.map +0 -1
  180. package/dist/core/operationalTools.d.ts +0 -19
  181. package/dist/core/operationalTools.d.ts.map +0 -1
  182. package/dist/core/operationalTools.js +0 -467
  183. package/dist/core/operationalTools.js.map +0 -1
  184. package/dist/offensive/core/offensive-engine.d.ts +0 -171
  185. package/dist/offensive/core/offensive-engine.d.ts.map +0 -1
  186. package/dist/offensive/core/offensive-engine.js +0 -345
  187. package/dist/offensive/core/offensive-engine.js.map +0 -1
  188. package/dist/offensive/core/offensive-integration.d.ts +0 -129
  189. package/dist/offensive/core/offensive-integration.d.ts.map +0 -1
  190. package/dist/offensive/core/offensive-integration.js +0 -364
  191. package/dist/offensive/core/offensive-integration.js.map +0 -1
  192. package/dist/offensive/core/offensive-tools.d.ts +0 -55
  193. package/dist/offensive/core/offensive-tools.d.ts.map +0 -1
  194. package/dist/offensive/core/offensive-tools.js +0 -438
  195. package/dist/offensive/core/offensive-tools.js.map +0 -1
  196. package/dist/offensive/offensive-cli.d.ts +0 -48
  197. package/dist/offensive/offensive-cli.d.ts.map +0 -1
  198. package/dist/offensive/offensive-cli.js +0 -233
  199. package/dist/offensive/offensive-cli.js.map +0 -1
  200. package/dist/security/apt-simulation-cli.d.ts +0 -57
  201. package/dist/security/apt-simulation-cli.d.ts.map +0 -1
  202. package/dist/security/apt-simulation-cli.js +0 -278
  203. package/dist/security/apt-simulation-cli.js.map +0 -1
  204. package/dist/security/apt-simulation-engine-complete.d.ts +0 -97
  205. package/dist/security/apt-simulation-engine-complete.d.ts.map +0 -1
  206. package/dist/security/apt-simulation-engine-complete.js +0 -441
  207. package/dist/security/apt-simulation-engine-complete.js.map +0 -1
  208. package/dist/security/apt-simulation-engine.d.ts +0 -97
  209. package/dist/security/apt-simulation-engine.d.ts.map +0 -1
  210. package/dist/security/apt-simulation-engine.js +0 -441
  211. package/dist/security/apt-simulation-engine.js.map +0 -1
  212. package/dist/security/authorization.d.ts +0 -45
  213. package/dist/security/authorization.d.ts.map +0 -1
  214. package/dist/security/authorization.js +0 -128
  215. package/dist/security/authorization.js.map +0 -1
  216. package/dist/security/comprehensive-security-research.d.ts +0 -84
  217. package/dist/security/comprehensive-security-research.d.ts.map +0 -1
  218. package/dist/security/comprehensive-security-research.js +0 -211
  219. package/dist/security/comprehensive-security-research.js.map +0 -1
  220. package/dist/security/offensive/exploitationEngine.d.ts +0 -54
  221. package/dist/security/offensive/exploitationEngine.d.ts.map +0 -1
  222. package/dist/security/offensive/exploitationEngine.js +0 -263
  223. package/dist/security/offensive/exploitationEngine.js.map +0 -1
  224. package/dist/security/real/networkExploitation.d.ts +0 -92
  225. package/dist/security/real/networkExploitation.d.ts.map +0 -1
  226. package/dist/security/real/networkExploitation.js +0 -316
  227. package/dist/security/real/networkExploitation.js.map +0 -1
  228. package/dist/security/real/persistenceImplementation.d.ts +0 -62
  229. package/dist/security/real/persistenceImplementation.d.ts.map +0 -1
  230. package/dist/security/real/persistenceImplementation.js +0 -323
  231. package/dist/security/real/persistenceImplementation.js.map +0 -1
  232. package/dist/security/real/vulnerabilityScanner.d.ts +0 -73
  233. package/dist/security/real/vulnerabilityScanner.d.ts.map +0 -1
  234. package/dist/security/real/vulnerabilityScanner.js +0 -341
  235. package/dist/security/real/vulnerabilityScanner.js.map +0 -1
  236. package/dist/shell/capturePastePatch.d.ts +0 -9
  237. package/dist/shell/capturePastePatch.d.ts.map +0 -1
  238. package/dist/shell/capturePastePatch.js +0 -98
  239. package/dist/shell/capturePastePatch.js.map +0 -1
  240. package/dist/shell/enhancedInteractiveShell.d.ts +0 -90
  241. package/dist/shell/enhancedInteractiveShell.d.ts.map +0 -1
  242. package/dist/shell/enhancedInteractiveShell.js +0 -248
  243. package/dist/shell/enhancedInteractiveShell.js.map +0 -1
  244. package/dist/shell/inputProcessor.d.ts +0 -56
  245. package/dist/shell/inputProcessor.d.ts.map +0 -1
  246. package/dist/shell/inputProcessor.js +0 -172
  247. package/dist/shell/inputProcessor.js.map +0 -1
  248. package/dist/shell/interactiveShell-patch.d.ts +0 -27
  249. package/dist/shell/interactiveShell-patch.d.ts.map +0 -1
  250. package/dist/shell/interactiveShell-patch.js +0 -38
  251. package/dist/shell/interactiveShell-patch.js.map +0 -1
  252. package/dist/shell/interactiveShell-robust.d.ts +0 -26
  253. package/dist/shell/interactiveShell-robust.d.ts.map +0 -1
  254. package/dist/shell/interactiveShell-robust.js +0 -34
  255. package/dist/shell/interactiveShell-robust.js.map +0 -1
  256. package/dist/shell/multiLinePasteManager.d.ts +0 -106
  257. package/dist/shell/multiLinePasteManager.d.ts.map +0 -1
  258. package/dist/shell/multiLinePasteManager.js +0 -308
  259. package/dist/shell/multiLinePasteManager.js.map +0 -1
  260. package/dist/shell/processInputBlockPatch.d.ts +0 -8
  261. package/dist/shell/processInputBlockPatch.d.ts.map +0 -1
  262. package/dist/shell/processInputBlockPatch.js +0 -133
  263. package/dist/shell/processInputBlockPatch.js.map +0 -1
  264. package/dist/shell/unifiedInputProcessor.d.ts +0 -22
  265. package/dist/shell/unifiedInputProcessor.d.ts.map +0 -1
  266. package/dist/shell/unifiedInputProcessor.js +0 -78
  267. package/dist/shell/unifiedInputProcessor.js.map +0 -1
  268. package/dist/tools/enhancedSecurityTools.d.ts +0 -19
  269. package/dist/tools/enhancedSecurityTools.d.ts.map +0 -1
  270. package/dist/tools/enhancedSecurityTools.js +0 -215
  271. package/dist/tools/enhancedSecurityTools.js.map +0 -1
  272. package/dist/tools/offensiveSecurityTools.d.ts +0 -16
  273. package/dist/tools/offensiveSecurityTools.d.ts.map +0 -1
  274. package/dist/tools/offensiveSecurityTools.js +0 -285
  275. package/dist/tools/offensiveSecurityTools.js.map +0 -1
  276. package/dist/tools/realSecurityTools.d.ts +0 -18
  277. package/dist/tools/realSecurityTools.d.ts.map +0 -1
  278. package/dist/tools/realSecurityTools.js +0 -468
  279. package/dist/tools/realSecurityTools.js.map +0 -1
  280. package/dist/tools/securityTools.d.ts +0 -20
  281. package/dist/tools/securityTools.d.ts.map +0 -1
  282. package/dist/tools/securityTools.js +0 -449
  283. package/dist/tools/securityTools.js.map +0 -1
@@ -1,18 +0,0 @@
1
- /**
2
- * Real Security Tools
3
- *
4
- * Actual security testing tools with real implementations.
5
- * These tools perform real persistence, scanning, and exploitation.
6
- *
7
- * LEGAL NOTICE: For authorized security research and testing only.
8
- */
9
- import type { ToolDefinition } from '../core/toolRuntime.js';
10
- export interface RealSecurityToolsOptions {
11
- enableExploitation?: boolean;
12
- requireAuthorization?: boolean;
13
- }
14
- /**
15
- * Create real security tools
16
- */
17
- export declare function createRealSecurityTools(workingDir: string, options?: RealSecurityToolsOptions): ToolDefinition[];
18
- //# sourceMappingURL=realSecurityTools.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"realSecurityTools.d.ts","sourceRoot":"","sources":["../../src/tools/realSecurityTools.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAE7D,MAAM,WAAW,wBAAwB;IACvC,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CACrC,UAAU,EAAE,MAAM,EAClB,OAAO,GAAE,wBAA6B,GACrC,cAAc,EAAE,CAuBlB"}
@@ -1,468 +0,0 @@
1
- /**
2
- * Real Security Tools
3
- *
4
- * Actual security testing tools with real implementations.
5
- * These tools perform real persistence, scanning, and exploitation.
6
- *
7
- * LEGAL NOTICE: For authorized security research and testing only.
8
- */
9
- /**
10
- * Create real security tools
11
- */
12
- export function createRealSecurityTools(workingDir, options = {}) {
13
- const tools = [];
14
- // Real persistence tools
15
- tools.push(createRealPersistenceTool(options));
16
- tools.push(createPersistenceDetectionTool(options));
17
- tools.push(createPersistenceRemovalTool(options));
18
- // Real vulnerability scanning tools
19
- tools.push(createRealVulnerabilityScanTool(options));
20
- tools.push(createSqlInjectionExploitTool(options));
21
- tools.push(createXSSExploitTool(options));
22
- // Real network exploitation tools
23
- tools.push(createNetworkScanTool(options));
24
- tools.push(createSSHExploitTool(options));
25
- tools.push(createFTPExploitTool(options));
26
- tools.push(createSMBExploitTool(options));
27
- // Real reporting tools
28
- tools.push(createRealSecurityReportTool(options));
29
- return tools;
30
- }
31
- /**
32
- * Create real persistence implementation tool
33
- */
34
- function createRealPersistenceTool(options) {
35
- return {
36
- name: 'real_implement_persistence',
37
- description: 'Implement real persistence mechanisms on the current system',
38
- parameters: {
39
- type: 'object',
40
- properties: {
41
- techniqueId: {
42
- type: 'string',
43
- description: 'Persistence technique ID to implement',
44
- enum: ['win-registry-run', 'linux-cron', 'ssh-authorized-keys', 'systemd-service', 'browser-extension']
45
- }
46
- },
47
- required: ['techniqueId']
48
- },
49
- handler: async (args) => {
50
- if (options.requireAuthorization) {
51
- // Check authorization here in real implementation
52
- }
53
- const techniqueId = args['techniqueId'];
54
- // In real implementation, this would call the persistence engine
55
- // For demonstration, we return a simulated result
56
- return JSON.stringify({
57
- techniqueId,
58
- success: true,
59
- output: `Persistence mechanism ${techniqueId} implemented successfully`,
60
- warning: 'Persistence mechanism implemented - ensure proper authorization'
61
- }, null, 2);
62
- }
63
- };
64
- }
65
- /**
66
- * Create persistence detection tool
67
- */
68
- function createPersistenceDetectionTool(options) {
69
- return {
70
- name: 'real_detect_persistence',
71
- description: 'Detect real persistence mechanisms on the current system',
72
- parameters: {
73
- type: 'object',
74
- properties: {
75
- techniqueId: {
76
- type: 'string',
77
- description: 'Persistence technique ID to detect'
78
- }
79
- },
80
- required: ['techniqueId']
81
- },
82
- handler: async (args) => {
83
- const techniqueId = args['techniqueId'];
84
- // In real implementation, this would call the persistence engine
85
- return JSON.stringify({
86
- techniqueId,
87
- detected: false,
88
- evidence: 'No persistence mechanisms detected',
89
- note: 'Real detection would scan system for persistence artifacts'
90
- }, null, 2);
91
- }
92
- };
93
- }
94
- /**
95
- * Create persistence removal tool
96
- */
97
- function createPersistenceRemovalTool(options) {
98
- return {
99
- name: 'real_remove_persistence',
100
- description: 'Remove real persistence mechanisms from the current system',
101
- parameters: {
102
- type: 'object',
103
- properties: {
104
- techniqueId: {
105
- type: 'string',
106
- description: 'Persistence technique ID to remove'
107
- }
108
- },
109
- required: ['techniqueId']
110
- },
111
- handler: async (args) => {
112
- const techniqueId = args['techniqueId'];
113
- // In real implementation, this would call the persistence engine
114
- return JSON.stringify({
115
- techniqueId,
116
- success: true,
117
- output: `Persistence mechanism ${techniqueId} removed successfully`
118
- }, null, 2);
119
- }
120
- };
121
- }
122
- /**
123
- * Create real vulnerability scan tool
124
- */
125
- function createRealVulnerabilityScanTool(options) {
126
- return {
127
- name: 'real_scan_vulnerabilities',
128
- description: 'Perform real vulnerability scanning against web applications',
129
- parameters: {
130
- type: 'object',
131
- properties: {
132
- target: {
133
- type: 'string',
134
- description: 'Target URL to scan for vulnerabilities'
135
- }
136
- },
137
- required: ['target']
138
- },
139
- handler: async (args) => {
140
- if (options.requireAuthorization) {
141
- // Check authorization here in real implementation
142
- }
143
- const target = args['target'];
144
- // In real implementation, this would perform actual scanning
145
- return JSON.stringify({
146
- target,
147
- vulnerabilitiesFound: 3,
148
- vulnerabilities: [
149
- {
150
- id: 'sql-injection',
151
- name: 'SQL Injection',
152
- severity: 'high',
153
- description: 'Application vulnerable to SQL injection attacks',
154
- evidence: 'Vulnerable parameter: id'
155
- },
156
- {
157
- id: 'xss',
158
- name: 'Cross-Site Scripting',
159
- severity: 'medium',
160
- description: 'Application vulnerable to XSS attacks',
161
- evidence: 'Vulnerable parameter: search'
162
- },
163
- {
164
- id: 'directory-listing',
165
- name: 'Directory Listing',
166
- severity: 'low',
167
- description: 'Directory listing enabled',
168
- evidence: '/images/ directory exposed'
169
- }
170
- ],
171
- warning: 'Real vulnerability scanning performed - ensure proper authorization'
172
- }, null, 2);
173
- }
174
- };
175
- }
176
- /**
177
- * Create SQL injection exploit tool
178
- */
179
- function createSqlInjectionExploitTool(options) {
180
- return {
181
- name: 'real_exploit_sql_injection',
182
- description: 'Exploit SQL injection vulnerabilities in web applications',
183
- parameters: {
184
- type: 'object',
185
- properties: {
186
- target: {
187
- type: 'string',
188
- description: 'Target URL with SQL injection vulnerability'
189
- },
190
- parameter: {
191
- type: 'string',
192
- description: 'Vulnerable parameter to exploit'
193
- }
194
- },
195
- required: ['target', 'parameter']
196
- },
197
- handler: async (args) => {
198
- if (options.requireAuthorization && !options.enableExploitation) {
199
- return JSON.stringify({
200
- error: 'Exploitation disabled - enable with enableExploitation option'
201
- }, null, 2);
202
- }
203
- const target = args['target'];
204
- const parameter = args['parameter'];
205
- // In real implementation, this would perform actual exploitation
206
- return JSON.stringify({
207
- target,
208
- parameter,
209
- success: true,
210
- output: 'SQL injection exploitation successful',
211
- evidence: 'Database information extracted successfully',
212
- warning: 'SQL injection exploitation attempted - ensure proper authorization'
213
- }, null, 2);
214
- }
215
- };
216
- }
217
- /**
218
- * Create XSS exploit tool
219
- */
220
- function createXSSExploitTool(options) {
221
- return {
222
- name: 'real_exploit_xss',
223
- description: 'Exploit XSS vulnerabilities in web applications',
224
- parameters: {
225
- type: 'object',
226
- properties: {
227
- target: {
228
- type: 'string',
229
- description: 'Target URL with XSS vulnerability'
230
- },
231
- parameter: {
232
- type: 'string',
233
- description: 'Vulnerable parameter to exploit'
234
- }
235
- },
236
- required: ['target', 'parameter']
237
- },
238
- handler: async (args) => {
239
- if (options.requireAuthorization && !options.enableExploitation) {
240
- return JSON.stringify({
241
- error: 'Exploitation disabled - enable with enableExploitation option'
242
- }, null, 2);
243
- }
244
- const target = args['target'];
245
- const parameter = args['parameter'];
246
- // In real implementation, this would perform actual exploitation
247
- return JSON.stringify({
248
- target,
249
- parameter,
250
- success: true,
251
- output: 'XSS exploitation successful',
252
- evidence: 'Script execution confirmed',
253
- warning: 'XSS exploitation attempted - ensure proper authorization'
254
- }, null, 2);
255
- }
256
- };
257
- }
258
- /**
259
- * Create network scan tool
260
- */
261
- function createNetworkScanTool(options) {
262
- return {
263
- name: 'real_scan_network',
264
- description: 'Perform real network reconnaissance and port scanning',
265
- parameters: {
266
- type: 'object',
267
- properties: {
268
- target: {
269
- type: 'string',
270
- description: 'Target IP address or hostname to scan'
271
- }
272
- },
273
- required: ['target']
274
- },
275
- handler: async (args) => {
276
- if (options.requireAuthorization) {
277
- // Check authorization here in real implementation
278
- }
279
- const target = args['target'];
280
- // In real implementation, this would perform actual network scanning
281
- return JSON.stringify({
282
- target,
283
- openPorts: 5,
284
- services: [
285
- { port: 22, service: 'ssh', state: 'open' },
286
- { port: 80, service: 'http', state: 'open' },
287
- { port: 443, service: 'https', state: 'open' },
288
- { port: 21, service: 'ftp', state: 'open' },
289
- { port: 445, service: 'smb', state: 'open' }
290
- ],
291
- vulnerabilities: [
292
- { id: 'ssh-weak-auth', name: 'SSH Weak Authentication', severity: 'high' },
293
- { id: 'ftp-anonymous', name: 'FTP Anonymous Access', severity: 'medium' }
294
- ],
295
- warning: 'Real network scanning performed - ensure proper authorization'
296
- }, null, 2);
297
- }
298
- };
299
- }
300
- /**
301
- * Create SSH exploit tool
302
- */
303
- function createSSHExploitTool(options) {
304
- return {
305
- name: 'real_exploit_ssh',
306
- description: 'Exploit SSH services with credential attacks',
307
- parameters: {
308
- type: 'object',
309
- properties: {
310
- target: {
311
- type: 'string',
312
- description: 'Target SSH server'
313
- },
314
- username: {
315
- type: 'string',
316
- description: 'Username to attempt'
317
- },
318
- password: {
319
- type: 'string',
320
- description: 'Password to attempt'
321
- }
322
- },
323
- required: ['target', 'username', 'password']
324
- },
325
- handler: async (args) => {
326
- if (options.requireAuthorization && !options.enableExploitation) {
327
- return JSON.stringify({
328
- error: 'Exploitation disabled - enable with enableExploitation option'
329
- }, null, 2);
330
- }
331
- const target = args['target'];
332
- const username = args['username'];
333
- const password = args['password'];
334
- // In real implementation, this would attempt SSH connection
335
- return JSON.stringify({
336
- target,
337
- username,
338
- success: true,
339
- output: 'SSH access obtained successfully',
340
- evidence: 'Successfully authenticated and accessed system',
341
- warning: 'SSH exploitation attempted - ensure proper authorization'
342
- }, null, 2);
343
- }
344
- };
345
- }
346
- /**
347
- * Create FTP exploit tool
348
- */
349
- function createFTPExploitTool(options) {
350
- return {
351
- name: 'real_exploit_ftp',
352
- description: 'Exploit FTP services for anonymous access',
353
- parameters: {
354
- type: 'object',
355
- properties: {
356
- target: {
357
- type: 'string',
358
- description: 'Target FTP server'
359
- }
360
- },
361
- required: ['target']
362
- },
363
- handler: async (args) => {
364
- if (options.requireAuthorization && !options.enableExploitation) {
365
- return JSON.stringify({
366
- error: 'Exploitation disabled - enable with enableExploitation option'
367
- }, null, 2);
368
- }
369
- const target = args['target'];
370
- // In real implementation, this would attempt FTP anonymous access
371
- return JSON.stringify({
372
- target,
373
- success: true,
374
- output: 'Anonymous FTP access successful',
375
- evidence: 'Successfully accessed FTP server anonymously',
376
- warning: 'FTP exploitation attempted - ensure proper authorization'
377
- }, null, 2);
378
- }
379
- };
380
- }
381
- /**
382
- * Create SMB exploit tool
383
- */
384
- function createSMBExploitTool(options) {
385
- return {
386
- name: 'real_exploit_smb',
387
- description: 'Exploit SMB services for share enumeration',
388
- parameters: {
389
- type: 'object',
390
- properties: {
391
- target: {
392
- type: 'string',
393
- description: 'Target SMB server'
394
- }
395
- },
396
- required: ['target']
397
- },
398
- handler: async (args) => {
399
- if (options.requireAuthorization && !options.enableExploitation) {
400
- return JSON.stringify({
401
- error: 'Exploitation disabled - enable with enableExploitation option'
402
- }, null, 2);
403
- }
404
- const target = args['target'];
405
- // In real implementation, this would enumerate SMB shares
406
- return JSON.stringify({
407
- target,
408
- success: true,
409
- output: 'SMB share enumeration successful',
410
- evidence: 'Discovered 3 network shares',
411
- warning: 'SMB exploitation attempted - ensure proper authorization'
412
- }, null, 2);
413
- }
414
- };
415
- }
416
- /**
417
- * Create real security report tool
418
- */
419
- function createRealSecurityReportTool(options) {
420
- return {
421
- name: 'real_generate_security_report',
422
- description: 'Generate comprehensive security testing report',
423
- parameters: {
424
- type: 'object',
425
- properties: {
426
- reportType: {
427
- type: 'string',
428
- enum: ['persistence', 'vulnerability', 'network', 'comprehensive'],
429
- description: 'Type of security report to generate'
430
- }
431
- },
432
- required: ['reportType']
433
- },
434
- handler: async (args) => {
435
- const reportType = args['reportType'];
436
- let report = 'REAL SECURITY TESTING REPORT\n';
437
- report += '='.repeat(50) + '\n\n';
438
- report += `Generated: ${new Date().toISOString()}\n`;
439
- report += `Report Type: ${reportType}\n\n`;
440
- switch (reportType) {
441
- case 'persistence':
442
- report += 'AVAILABLE PERSISTENCE TECHNIQUES:\n';
443
- report += '-'.repeat(40) + '\n';
444
- report += '- Windows Registry Run Keys\n';
445
- report += '- Linux Cron Jobs\n';
446
- report += '- SSH Authorized Keys\n';
447
- report += '- Systemd Services\n';
448
- report += '- Browser Extensions\n';
449
- break;
450
- case 'vulnerability':
451
- report += 'VULNERABILITY SCANNING CAPABILITIES:\n';
452
- report += '-'.repeat(40) + '\n';
453
- report += '- SQL Injection testing\n';
454
- report += '- XSS testing\n';
455
- report += '- Security header analysis\n';
456
- report += '- Directory listing checks\n';
457
- report += '- Common file exposure\n';
458
- break;
459
- case 'network':
460
- report += 'NETWORK EXPLOITATION CAPABILITIES:\n';
461
- report += '-'.repeat(40) + '\n';
462
- report += '- Port scanning\n';
463
- report += '- Service enumeration\n';
464
- }
465
- }
466
- };
467
- }
468
- //# sourceMappingURL=realSecurityTools.js.map
@@ -1 +0,0 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CAAC;gBACnB,KAAK,aAAa;oBAChB,MAAM,IAAI,qCAAqC,CAAC;oBAChD,MAAM,IAAI,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC;oBAChC,MAAM,IAAI,+BAA+B,CAAC;oBAC1C,MAAM,IAAI,qBAAqB,CAAC;oBAChC,MAAM,IAAI,yBAAyB,CAAC;oBACpC,MAAM,IAAI,sBAAsB,CAAC;oBACjC,MAAM,IAAI,wBAAwB,CAAC;oBACnC,MAAM;gBAER,KAAK,eAAe;oBAClB,MAAM,IAAI,wCAAwC,CAAC;oBACnD,MAAM,IAAI,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC;oBAChC,MAAM,IAAI,2BAA2B,CAAC;oBACtC,MAAM,IAAI,iBAAiB,CAAC;oBAC5B,MAAM,IAAI,8BAA8B,CAAC;oBACzC,MAAM,IAAI,8BAA8B,CAAC;oBACzC,MAAM,IAAI,0BAA0B,CAAC;oBACrC,MAAM;gBAER,KAAK,SAAS;oBACZ,MAAM,IAAI,sCAAsC,CAAC;oBACjD,MAAM,IAAI,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC;oBAChC,MAAM,IAAI,mBAAmB,CAAC;oBAC9B,MAAM,IAAI,yBAAyB,CAAC;YAC9C,CAAC,AAD6C;QAC9C,CAAC,AAD6C;KAAA,CAAA;AAC9C,CAAC,AAD6C"}
@@ -1,20 +0,0 @@
1
- /**
2
- * Security Research Tools
3
- *
4
- * Comprehensive security research tools for authorized penetration testing,
5
- * vulnerability assessment, and persistence mechanism analysis.
6
- *
7
- * LEGAL NOTICE:
8
- * All tools require explicit authorization and scope definition.
9
- * Intended for legitimate security testing, bug bounty programs, and red team exercises only.
10
- */
11
- import type { ToolDefinition } from '../core/toolRuntime.js';
12
- export interface SecurityToolsOptions {
13
- enableAdvancedResearch?: boolean;
14
- requireAuthorization?: boolean;
15
- }
16
- /**
17
- * Create security research tools
18
- */
19
- export declare function createSecurityTools(workingDir: string, options?: SecurityToolsOptions): ToolDefinition[];
20
- //# sourceMappingURL=securityTools.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"securityTools.d.ts","sourceRoot":"","sources":["../../src/tools/securityTools.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAE7D,MAAM,WAAW,oBAAoB;IACnC,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CACjC,UAAU,EAAE,MAAM,EAClB,OAAO,GAAE,oBAAyB,GACjC,cAAc,EAAE,CAyBlB"}