erosolar-cli 2.1.248 → 2.1.252
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.
- package/agents/general.rules.json +10 -133
- package/agents/general.rules.json.bak +278 -0
- package/agents/general.rules.json.bak2 +306 -0
- package/dist/bin/erosolar.js +9 -5
- package/dist/bin/erosolar.js.map +1 -1
- package/dist/capabilities/bidirectionalAuditCapability.d.ts +26 -0
- package/dist/capabilities/bidirectionalAuditCapability.d.ts.map +1 -0
- package/dist/capabilities/bidirectionalAuditCapability.js +44 -0
- package/dist/capabilities/bidirectionalAuditCapability.js.map +1 -0
- package/dist/capabilities/globCapability.d.ts +3 -6
- package/dist/capabilities/globCapability.d.ts.map +1 -1
- package/dist/capabilities/globCapability.js +6 -10
- package/dist/capabilities/globCapability.js.map +1 -1
- package/dist/capabilities/index.d.ts +1 -18
- package/dist/capabilities/index.d.ts.map +1 -1
- package/dist/capabilities/index.js +1 -18
- package/dist/capabilities/index.js.map +1 -1
- package/dist/capabilities/orchestrationCapability.d.ts +177 -3
- package/dist/capabilities/orchestrationCapability.d.ts.map +1 -1
- package/dist/capabilities/orchestrationCapability.js +1592 -85
- package/dist/capabilities/orchestrationCapability.js.map +1 -1
- package/dist/capabilities/searchCapability.d.ts +8 -2
- package/dist/capabilities/searchCapability.d.ts.map +1 -1
- package/dist/capabilities/searchCapability.js +11 -6
- package/dist/capabilities/searchCapability.js.map +1 -1
- package/dist/contracts/tools.schema.json +9 -133
- package/dist/core/agentOrchestrator.d.ts.map +1 -1
- package/dist/core/agentOrchestrator.js +18 -1
- package/dist/core/agentOrchestrator.js.map +1 -1
- package/dist/core/aiErrorFixer.d.ts +1 -14
- package/dist/core/aiErrorFixer.d.ts.map +1 -1
- package/dist/core/aiErrorFixer.js +51 -239
- package/dist/core/aiErrorFixer.js.map +1 -1
- package/dist/core/alphaZeroEngine.d.ts +16 -256
- package/dist/core/alphaZeroEngine.d.ts.map +1 -1
- package/dist/core/alphaZeroEngine.js +22 -513
- package/dist/core/alphaZeroEngine.js.map +1 -1
- package/dist/core/completeAttackOrchestrator.d.ts +102 -0
- package/dist/core/completeAttackOrchestrator.d.ts.map +1 -0
- package/dist/core/completeAttackOrchestrator.js +293 -0
- package/dist/core/completeAttackOrchestrator.js.map +1 -0
- package/dist/core/defensiveSecurityToolkit.d.ts +373 -0
- package/dist/core/defensiveSecurityToolkit.d.ts.map +1 -0
- package/dist/core/defensiveSecurityToolkit.js +1304 -0
- package/dist/core/defensiveSecurityToolkit.js.map +1 -0
- package/dist/core/errors/errorTypes.d.ts +30 -57
- package/dist/core/errors/errorTypes.d.ts.map +1 -1
- package/dist/core/errors/errorTypes.js +51 -228
- package/dist/core/errors/errorTypes.js.map +1 -1
- package/dist/core/errors/safetyValidator.d.ts +19 -3
- package/dist/core/errors/safetyValidator.d.ts.map +1 -1
- package/dist/core/errors/safetyValidator.js +33 -71
- package/dist/core/errors/safetyValidator.js.map +1 -1
- package/dist/core/failureRecovery.d.ts +4 -100
- package/dist/core/failureRecovery.d.ts.map +1 -1
- package/dist/core/failureRecovery.js +16 -440
- package/dist/core/failureRecovery.js.map +1 -1
- package/dist/core/intelligentTargetResearcher.d.ts +142 -0
- package/dist/core/intelligentTargetResearcher.d.ts.map +1 -0
- package/dist/core/intelligentTargetResearcher.js +367 -0
- package/dist/core/intelligentTargetResearcher.js.map +1 -0
- package/dist/core/intelligentTestFlows.d.ts +26 -107
- package/dist/core/intelligentTestFlows.d.ts.map +1 -1
- package/dist/core/intelligentTestFlows.js +15 -659
- package/dist/core/intelligentTestFlows.js.map +1 -1
- package/dist/core/learningPersistence.d.ts +45 -132
- package/dist/core/learningPersistence.d.ts.map +1 -1
- package/dist/core/learningPersistence.js +32 -463
- package/dist/core/learningPersistence.js.map +1 -1
- package/dist/core/metricsTracker.d.ts +22 -139
- package/dist/core/metricsTracker.d.ts.map +1 -1
- package/dist/core/metricsTracker.js +51 -241
- package/dist/core/metricsTracker.js.map +1 -1
- package/dist/core/performanceMonitor.d.ts +15 -109
- package/dist/core/performanceMonitor.d.ts.map +1 -1
- package/dist/core/performanceMonitor.js +27 -184
- package/dist/core/performanceMonitor.js.map +1 -1
- package/dist/core/resultVerification.d.ts +6 -100
- package/dist/core/resultVerification.d.ts.map +1 -1
- package/dist/core/resultVerification.js +31 -400
- package/dist/core/resultVerification.js.map +1 -1
- package/dist/core/selfEvolution.d.ts +32 -126
- package/dist/core/selfEvolution.d.ts.map +1 -1
- package/dist/core/selfEvolution.js +24 -967
- package/dist/core/selfEvolution.js.map +1 -1
- package/dist/core/selfImprovement.d.ts +50 -109
- package/dist/core/selfImprovement.d.ts.map +1 -1
- package/dist/core/selfImprovement.js +14 -689
- package/dist/core/selfImprovement.js.map +1 -1
- package/dist/core/sourceCodeManager.d.ts +89 -0
- package/dist/core/sourceCodeManager.d.ts.map +1 -0
- package/dist/core/sourceCodeManager.js +332 -0
- package/dist/core/sourceCodeManager.js.map +1 -0
- package/dist/core/unifiedOrchestrator.d.ts +88 -0
- package/dist/core/unifiedOrchestrator.d.ts.map +1 -0
- package/dist/core/unifiedOrchestrator.js +284 -0
- package/dist/core/unifiedOrchestrator.js.map +1 -0
- package/dist/core/userDefenseOrchestrator.d.ts +202 -0
- package/dist/core/userDefenseOrchestrator.d.ts.map +1 -0
- package/dist/core/userDefenseOrchestrator.js +1006 -0
- package/dist/core/userDefenseOrchestrator.js.map +1 -0
- package/dist/plugins/index.d.ts +1 -1
- package/dist/plugins/index.d.ts.map +1 -1
- package/dist/plugins/index.js +36 -26
- package/dist/plugins/index.js.map +1 -1
- package/dist/plugins/tools/bidirectionalAudit/bidirectionalAuditPlugin.d.ts +8 -0
- package/dist/plugins/tools/bidirectionalAudit/bidirectionalAuditPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/bidirectionalAudit/bidirectionalAuditPlugin.js +17 -0
- package/dist/plugins/tools/bidirectionalAudit/bidirectionalAuditPlugin.js.map +1 -0
- package/dist/plugins/tools/nodeDefaults.d.ts +14 -0
- package/dist/plugins/tools/nodeDefaults.d.ts.map +1 -1
- package/dist/plugins/tools/nodeDefaults.js +17 -54
- package/dist/plugins/tools/nodeDefaults.js.map +1 -1
- package/dist/plugins/tools/orchestration/orchestrationPlugin.d.ts +9 -0
- package/dist/plugins/tools/orchestration/orchestrationPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/orchestration/orchestrationPlugin.js +18 -0
- package/dist/plugins/tools/orchestration/orchestrationPlugin.js.map +1 -0
- package/dist/shell/interactiveShell.d.ts +101 -2
- package/dist/shell/interactiveShell.d.ts.map +1 -1
- package/dist/shell/interactiveShell.js +1041 -25
- package/dist/shell/interactiveShell.js.map +1 -1
- package/dist/tools/appleExposureTools.d.ts +108 -0
- package/dist/tools/appleExposureTools.d.ts.map +1 -0
- package/dist/tools/appleExposureTools.js +850 -0
- package/dist/tools/appleExposureTools.js.map +1 -0
- package/dist/tools/bidirectionalAuditTools.d.ts +104 -0
- package/dist/tools/bidirectionalAuditTools.d.ts.map +1 -0
- package/dist/tools/bidirectionalAuditTools.js +1280 -0
- package/dist/tools/bidirectionalAuditTools.js.map +1 -0
- package/dist/tools/defensiveSecurityTools.d.ts +152 -0
- package/dist/tools/defensiveSecurityTools.d.ts.map +1 -0
- package/dist/tools/defensiveSecurityTools.js +576 -0
- package/dist/tools/defensiveSecurityTools.js.map +1 -0
- package/dist/tools/forwardAttackChainTracer.d.ts +73 -0
- package/dist/tools/forwardAttackChainTracer.d.ts.map +1 -0
- package/dist/tools/forwardAttackChainTracer.js +604 -0
- package/dist/tools/forwardAttackChainTracer.js.map +1 -0
- package/dist/tools/localExplore.d.ts +12 -199
- package/dist/tools/localExplore.d.ts.map +1 -1
- package/dist/tools/localExplore.js +18 -1352
- package/dist/tools/localExplore.js.map +1 -1
- package/dist/tools/offensiveTransparencyTools.d.ts +188 -0
- package/dist/tools/offensiveTransparencyTools.d.ts.map +1 -0
- package/dist/tools/offensiveTransparencyTools.js +890 -0
- package/dist/tools/offensiveTransparencyTools.js.map +1 -0
- package/dist/tools/planningTools.d.ts +8 -17
- package/dist/tools/planningTools.d.ts.map +1 -1
- package/dist/tools/planningTools.js +31 -141
- package/dist/tools/planningTools.js.map +1 -1
- package/dist/tools/searchTools.d.ts +9 -0
- package/dist/tools/searchTools.d.ts.map +1 -1
- package/dist/tools/searchTools.js +305 -189
- package/dist/tools/searchTools.js.map +1 -1
- package/dist/tools/skillTools.d.ts +7 -5
- package/dist/tools/skillTools.d.ts.map +1 -1
- package/dist/tools/skillTools.js +13 -155
- package/dist/tools/skillTools.js.map +1 -1
- package/dist/tools/threatIntelligenceTools.d.ts +128 -0
- package/dist/tools/threatIntelligenceTools.d.ts.map +1 -0
- package/dist/tools/threatIntelligenceTools.js +712 -0
- package/dist/tools/threatIntelligenceTools.js.map +1 -0
- package/dist/ui/PromptController.d.ts +4 -0
- package/dist/ui/PromptController.d.ts.map +1 -1
- package/dist/ui/PromptController.js +32 -11
- package/dist/ui/PromptController.js.map +1 -1
- package/dist/ui/UnifiedUIRenderer.d.ts +36 -0
- package/dist/ui/UnifiedUIRenderer.d.ts.map +1 -1
- package/dist/ui/UnifiedUIRenderer.js +308 -43
- package/dist/ui/UnifiedUIRenderer.js.map +1 -1
- package/dist/ui/animatedStatus.d.ts +2 -0
- package/dist/ui/animatedStatus.d.ts.map +1 -1
- package/dist/ui/animatedStatus.js +36 -2
- package/dist/ui/animatedStatus.js.map +1 -1
- package/dist/ui/orchestration/StatusOrchestrator.d.ts +10 -0
- package/dist/ui/orchestration/StatusOrchestrator.d.ts.map +1 -1
- package/dist/ui/orchestration/StatusOrchestrator.js +36 -4
- package/dist/ui/orchestration/StatusOrchestrator.js.map +1 -1
- package/package.json +2 -2
- package/dist/capabilities/advancedTestGenerationCapability.d.ts +0 -17
- package/dist/capabilities/advancedTestGenerationCapability.d.ts.map +0 -1
- package/dist/capabilities/advancedTestGenerationCapability.js +0 -28
- package/dist/capabilities/advancedTestGenerationCapability.js.map +0 -1
- package/dist/capabilities/browserAutomationCapability.d.ts +0 -37
- package/dist/capabilities/browserAutomationCapability.d.ts.map +0 -1
- package/dist/capabilities/browserAutomationCapability.js +0 -49
- package/dist/capabilities/browserAutomationCapability.js.map +0 -1
- package/dist/capabilities/buildCapability.d.ts +0 -24
- package/dist/capabilities/buildCapability.d.ts.map +0 -1
- package/dist/capabilities/buildCapability.js +0 -25
- package/dist/capabilities/buildCapability.js.map +0 -1
- package/dist/capabilities/cloudCapability.d.ts +0 -13
- package/dist/capabilities/cloudCapability.d.ts.map +0 -1
- package/dist/capabilities/cloudCapability.js +0 -38
- package/dist/capabilities/cloudCapability.js.map +0 -1
- package/dist/capabilities/codeAnalysisCapability.d.ts +0 -13
- package/dist/capabilities/codeAnalysisCapability.d.ts.map +0 -1
- package/dist/capabilities/codeAnalysisCapability.js +0 -24
- package/dist/capabilities/codeAnalysisCapability.js.map +0 -1
- package/dist/capabilities/codeQualityCapability.d.ts +0 -13
- package/dist/capabilities/codeQualityCapability.d.ts.map +0 -1
- package/dist/capabilities/codeQualityCapability.js +0 -25
- package/dist/capabilities/codeQualityCapability.js.map +0 -1
- package/dist/capabilities/dependencySecurityCapability.d.ts +0 -13
- package/dist/capabilities/dependencySecurityCapability.d.ts.map +0 -1
- package/dist/capabilities/dependencySecurityCapability.js +0 -24
- package/dist/capabilities/dependencySecurityCapability.js.map +0 -1
- package/dist/capabilities/devCapability.d.ts +0 -13
- package/dist/capabilities/devCapability.d.ts.map +0 -1
- package/dist/capabilities/devCapability.js +0 -24
- package/dist/capabilities/devCapability.js.map +0 -1
- package/dist/capabilities/emailCapability.d.ts +0 -12
- package/dist/capabilities/emailCapability.d.ts.map +0 -1
- package/dist/capabilities/emailCapability.js +0 -22
- package/dist/capabilities/emailCapability.js.map +0 -1
- package/dist/capabilities/enhancedAnalysisCapability.d.ts +0 -13
- package/dist/capabilities/enhancedAnalysisCapability.d.ts.map +0 -1
- package/dist/capabilities/enhancedAnalysisCapability.js +0 -20
- package/dist/capabilities/enhancedAnalysisCapability.js.map +0 -1
- package/dist/capabilities/enhancedCodeIntelligenceCapability.d.ts +0 -17
- package/dist/capabilities/enhancedCodeIntelligenceCapability.d.ts.map +0 -1
- package/dist/capabilities/enhancedCodeIntelligenceCapability.js +0 -28
- package/dist/capabilities/enhancedCodeIntelligenceCapability.js.map +0 -1
- package/dist/capabilities/enhancedDevWorkflowCapability.d.ts +0 -17
- package/dist/capabilities/enhancedDevWorkflowCapability.d.ts.map +0 -1
- package/dist/capabilities/enhancedDevWorkflowCapability.js +0 -28
- package/dist/capabilities/enhancedDevWorkflowCapability.js.map +0 -1
- package/dist/capabilities/frontendTestingCapability.d.ts +0 -13
- package/dist/capabilities/frontendTestingCapability.d.ts.map +0 -1
- package/dist/capabilities/frontendTestingCapability.js +0 -28
- package/dist/capabilities/frontendTestingCapability.js.map +0 -1
- package/dist/capabilities/interactionCapability.d.ts +0 -12
- package/dist/capabilities/interactionCapability.d.ts.map +0 -1
- package/dist/capabilities/interactionCapability.js +0 -22
- package/dist/capabilities/interactionCapability.js.map +0 -1
- package/dist/capabilities/learnCapability.d.ts +0 -22
- package/dist/capabilities/learnCapability.d.ts.map +0 -1
- package/dist/capabilities/learnCapability.js +0 -37
- package/dist/capabilities/learnCapability.js.map +0 -1
- package/dist/capabilities/notebookCapability.d.ts +0 -17
- package/dist/capabilities/notebookCapability.d.ts.map +0 -1
- package/dist/capabilities/notebookCapability.js +0 -27
- package/dist/capabilities/notebookCapability.js.map +0 -1
- package/dist/capabilities/planningCapability.d.ts +0 -16
- package/dist/capabilities/planningCapability.d.ts.map +0 -1
- package/dist/capabilities/planningCapability.js +0 -26
- package/dist/capabilities/planningCapability.js.map +0 -1
- package/dist/capabilities/refactoringCapability.d.ts +0 -13
- package/dist/capabilities/refactoringCapability.d.ts.map +0 -1
- package/dist/capabilities/refactoringCapability.js +0 -25
- package/dist/capabilities/refactoringCapability.js.map +0 -1
- package/dist/capabilities/repoChecksCapability.d.ts +0 -10
- package/dist/capabilities/repoChecksCapability.d.ts.map +0 -1
- package/dist/capabilities/repoChecksCapability.js +0 -24
- package/dist/capabilities/repoChecksCapability.js.map +0 -1
- package/dist/capabilities/taskManagementCapability.d.ts +0 -12
- package/dist/capabilities/taskManagementCapability.d.ts.map +0 -1
- package/dist/capabilities/taskManagementCapability.js +0 -22
- package/dist/capabilities/taskManagementCapability.js.map +0 -1
- package/dist/capabilities/testingCapability.d.ts +0 -13
- package/dist/capabilities/testingCapability.d.ts.map +0 -1
- package/dist/capabilities/testingCapability.js +0 -25
- package/dist/capabilities/testingCapability.js.map +0 -1
- package/dist/capabilities/validationCapability.d.ts +0 -13
- package/dist/capabilities/validationCapability.d.ts.map +0 -1
- package/dist/capabilities/validationCapability.js +0 -24
- package/dist/capabilities/validationCapability.js.map +0 -1
- package/dist/capabilities/webCapability.d.ts +0 -12
- package/dist/capabilities/webCapability.d.ts.map +0 -1
- package/dist/capabilities/webCapability.js +0 -22
- package/dist/capabilities/webCapability.js.map +0 -1
- package/dist/core/deepBugAnalyzer.d.ts +0 -128
- package/dist/core/deepBugAnalyzer.d.ts.map +0 -1
- package/dist/core/deepBugAnalyzer.js +0 -406
- package/dist/core/deepBugAnalyzer.js.map +0 -1
- package/dist/core/hypothesisEngine.d.ts +0 -113
- package/dist/core/hypothesisEngine.d.ts.map +0 -1
- package/dist/core/hypothesisEngine.js +0 -264
- package/dist/core/hypothesisEngine.js.map +0 -1
- package/dist/core/productTestHarness.d.ts +0 -113
- package/dist/core/productTestHarness.d.ts.map +0 -1
- package/dist/core/productTestHarness.js +0 -351
- package/dist/core/productTestHarness.js.map +0 -1
- package/dist/core/validationRunner.d.ts +0 -106
- package/dist/core/validationRunner.d.ts.map +0 -1
- package/dist/core/validationRunner.js +0 -892
- package/dist/core/validationRunner.js.map +0 -1
- package/dist/plugins/tools/browser/browserAutomationPlugin.d.ts +0 -14
- package/dist/plugins/tools/browser/browserAutomationPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/browser/browserAutomationPlugin.js +0 -26
- package/dist/plugins/tools/browser/browserAutomationPlugin.js.map +0 -1
- package/dist/plugins/tools/checks/localRepoChecksPlugin.d.ts +0 -3
- package/dist/plugins/tools/checks/localRepoChecksPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/checks/localRepoChecksPlugin.js +0 -14
- package/dist/plugins/tools/checks/localRepoChecksPlugin.js.map +0 -1
- package/dist/plugins/tools/cloud/cloudPlugin.d.ts +0 -3
- package/dist/plugins/tools/cloud/cloudPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/cloud/cloudPlugin.js +0 -14
- package/dist/plugins/tools/cloud/cloudPlugin.js.map +0 -1
- package/dist/plugins/tools/codeAnalysis/codeAnalysisPlugin.d.ts +0 -3
- package/dist/plugins/tools/codeAnalysis/codeAnalysisPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/codeAnalysis/codeAnalysisPlugin.js +0 -14
- package/dist/plugins/tools/codeAnalysis/codeAnalysisPlugin.js.map +0 -1
- package/dist/plugins/tools/codeQuality/codeQualityPlugin.d.ts +0 -3
- package/dist/plugins/tools/codeQuality/codeQualityPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/codeQuality/codeQualityPlugin.js +0 -14
- package/dist/plugins/tools/codeQuality/codeQualityPlugin.js.map +0 -1
- package/dist/plugins/tools/dependency/dependencyPlugin.d.ts +0 -3
- package/dist/plugins/tools/dependency/dependencyPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/dependency/dependencyPlugin.js +0 -12
- package/dist/plugins/tools/dependency/dependencyPlugin.js.map +0 -1
- package/dist/plugins/tools/development/devPlugin.d.ts +0 -3
- package/dist/plugins/tools/development/devPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/development/devPlugin.js +0 -14
- package/dist/plugins/tools/development/devPlugin.js.map +0 -1
- package/dist/plugins/tools/email/emailPlugin.d.ts +0 -3
- package/dist/plugins/tools/email/emailPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/email/emailPlugin.js +0 -12
- package/dist/plugins/tools/email/emailPlugin.js.map +0 -1
- package/dist/plugins/tools/enhancedAnalysis/enhancedAnalysisPlugin.d.ts +0 -3
- package/dist/plugins/tools/enhancedAnalysis/enhancedAnalysisPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/enhancedAnalysis/enhancedAnalysisPlugin.js +0 -14
- package/dist/plugins/tools/enhancedAnalysis/enhancedAnalysisPlugin.js.map +0 -1
- package/dist/plugins/tools/enhancedCodeIntelligence/enhancedCodeIntelligencePlugin.d.ts +0 -3
- package/dist/plugins/tools/enhancedCodeIntelligence/enhancedCodeIntelligencePlugin.d.ts.map +0 -1
- package/dist/plugins/tools/enhancedCodeIntelligence/enhancedCodeIntelligencePlugin.js +0 -12
- package/dist/plugins/tools/enhancedCodeIntelligence/enhancedCodeIntelligencePlugin.js.map +0 -1
- package/dist/plugins/tools/enhancedDevWorkflow/enhancedDevWorkflowPlugin.d.ts +0 -3
- package/dist/plugins/tools/enhancedDevWorkflow/enhancedDevWorkflowPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/enhancedDevWorkflow/enhancedDevWorkflowPlugin.js +0 -12
- package/dist/plugins/tools/enhancedDevWorkflow/enhancedDevWorkflowPlugin.js.map +0 -1
- package/dist/plugins/tools/frontendTesting/frontendTestingPlugin.d.ts +0 -3
- package/dist/plugins/tools/frontendTesting/frontendTestingPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/frontendTesting/frontendTestingPlugin.js +0 -14
- package/dist/plugins/tools/frontendTesting/frontendTestingPlugin.js.map +0 -1
- package/dist/plugins/tools/interaction/interactionPlugin.d.ts +0 -3
- package/dist/plugins/tools/interaction/interactionPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/interaction/interactionPlugin.js +0 -12
- package/dist/plugins/tools/interaction/interactionPlugin.js.map +0 -1
- package/dist/plugins/tools/learn/learnPlugin.d.ts +0 -3
- package/dist/plugins/tools/learn/learnPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/learn/learnPlugin.js +0 -14
- package/dist/plugins/tools/learn/learnPlugin.js.map +0 -1
- package/dist/plugins/tools/notebook/notebookPlugin.d.ts +0 -9
- package/dist/plugins/tools/notebook/notebookPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/notebook/notebookPlugin.js +0 -15
- package/dist/plugins/tools/notebook/notebookPlugin.js.map +0 -1
- package/dist/plugins/tools/planning/planningPlugin.d.ts +0 -9
- package/dist/plugins/tools/planning/planningPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/planning/planningPlugin.js +0 -15
- package/dist/plugins/tools/planning/planningPlugin.js.map +0 -1
- package/dist/plugins/tools/refactoring/refactoringPlugin.d.ts +0 -3
- package/dist/plugins/tools/refactoring/refactoringPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/refactoring/refactoringPlugin.js +0 -12
- package/dist/plugins/tools/refactoring/refactoringPlugin.js.map +0 -1
- package/dist/plugins/tools/taskManagement/taskManagementPlugin.d.ts +0 -3
- package/dist/plugins/tools/taskManagement/taskManagementPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/taskManagement/taskManagementPlugin.js +0 -12
- package/dist/plugins/tools/taskManagement/taskManagementPlugin.js.map +0 -1
- package/dist/plugins/tools/testing/testingPlugin.d.ts +0 -3
- package/dist/plugins/tools/testing/testingPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/testing/testingPlugin.js +0 -12
- package/dist/plugins/tools/testing/testingPlugin.js.map +0 -1
- package/dist/plugins/tools/validation/validationPlugin.d.ts +0 -3
- package/dist/plugins/tools/validation/validationPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/validation/validationPlugin.js +0 -14
- package/dist/plugins/tools/validation/validationPlugin.js.map +0 -1
- package/dist/plugins/tools/web/webPlugin.d.ts +0 -3
- package/dist/plugins/tools/web/webPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/web/webPlugin.js +0 -12
- package/dist/plugins/tools/web/webPlugin.js.map +0 -1
- package/dist/tools/advancedTestGenerationTools.d.ts +0 -21
- package/dist/tools/advancedTestGenerationTools.d.ts.map +0 -1
- package/dist/tools/advancedTestGenerationTools.js +0 -304
- package/dist/tools/advancedTestGenerationTools.js.map +0 -1
- package/dist/tools/browserAutomationTools.d.ts +0 -23
- package/dist/tools/browserAutomationTools.d.ts.map +0 -1
- package/dist/tools/browserAutomationTools.js +0 -916
- package/dist/tools/browserAutomationTools.js.map +0 -1
- package/dist/tools/buildTools.d.ts +0 -9
- package/dist/tools/buildTools.d.ts.map +0 -1
- package/dist/tools/buildTools.js +0 -346
- package/dist/tools/buildTools.js.map +0 -1
- package/dist/tools/cloudTools.d.ts +0 -49
- package/dist/tools/cloudTools.d.ts.map +0 -1
- package/dist/tools/cloudTools.js +0 -1258
- package/dist/tools/cloudTools.js.map +0 -1
- package/dist/tools/codeAnalysisTools.d.ts +0 -74
- package/dist/tools/codeAnalysisTools.d.ts.map +0 -1
- package/dist/tools/codeAnalysisTools.js +0 -664
- package/dist/tools/codeAnalysisTools.js.map +0 -1
- package/dist/tools/codeGenerationTools.d.ts +0 -3
- package/dist/tools/codeGenerationTools.d.ts.map +0 -1
- package/dist/tools/codeGenerationTools.js +0 -439
- package/dist/tools/codeGenerationTools.js.map +0 -1
- package/dist/tools/codeQualityTools.d.ts +0 -3
- package/dist/tools/codeQualityTools.d.ts.map +0 -1
- package/dist/tools/codeQualityTools.js +0 -297
- package/dist/tools/codeQualityTools.js.map +0 -1
- package/dist/tools/dependencyTools.d.ts +0 -3
- package/dist/tools/dependencyTools.d.ts.map +0 -1
- package/dist/tools/dependencyTools.js +0 -284
- package/dist/tools/dependencyTools.js.map +0 -1
- package/dist/tools/devTools.d.ts +0 -10
- package/dist/tools/devTools.d.ts.map +0 -1
- package/dist/tools/devTools.js +0 -2126
- package/dist/tools/devTools.js.map +0 -1
- package/dist/tools/emailTools.d.ts +0 -21
- package/dist/tools/emailTools.d.ts.map +0 -1
- package/dist/tools/emailTools.js +0 -449
- package/dist/tools/emailTools.js.map +0 -1
- package/dist/tools/enhancedAnalysisTools.d.ts +0 -9
- package/dist/tools/enhancedAnalysisTools.d.ts.map +0 -1
- package/dist/tools/enhancedAnalysisTools.js +0 -370
- package/dist/tools/enhancedAnalysisTools.js.map +0 -1
- package/dist/tools/enhancedCodeIntelligenceTools.d.ts +0 -7
- package/dist/tools/enhancedCodeIntelligenceTools.d.ts.map +0 -1
- package/dist/tools/enhancedCodeIntelligenceTools.js +0 -540
- package/dist/tools/enhancedCodeIntelligenceTools.js.map +0 -1
- package/dist/tools/enhancedDevWorkflowTools.d.ts +0 -7
- package/dist/tools/enhancedDevWorkflowTools.d.ts.map +0 -1
- package/dist/tools/enhancedDevWorkflowTools.js +0 -432
- package/dist/tools/enhancedDevWorkflowTools.js.map +0 -1
- package/dist/tools/frontendTestingTools.d.ts +0 -35
- package/dist/tools/frontendTestingTools.d.ts.map +0 -1
- package/dist/tools/frontendTestingTools.js +0 -1258
- package/dist/tools/frontendTestingTools.js.map +0 -1
- package/dist/tools/globTools.d.ts +0 -15
- package/dist/tools/globTools.d.ts.map +0 -1
- package/dist/tools/globTools.js +0 -174
- package/dist/tools/globTools.js.map +0 -1
- package/dist/tools/grepTools.d.ts +0 -19
- package/dist/tools/grepTools.d.ts.map +0 -1
- package/dist/tools/grepTools.js +0 -411
- package/dist/tools/grepTools.js.map +0 -1
- package/dist/tools/interactionTools.d.ts +0 -6
- package/dist/tools/interactionTools.d.ts.map +0 -1
- package/dist/tools/interactionTools.js +0 -209
- package/dist/tools/interactionTools.js.map +0 -1
- package/dist/tools/learnTools.d.ts +0 -164
- package/dist/tools/learnTools.d.ts.map +0 -1
- package/dist/tools/learnTools.js +0 -2098
- package/dist/tools/learnTools.js.map +0 -1
- package/dist/tools/notebookEditTools.d.ts +0 -15
- package/dist/tools/notebookEditTools.d.ts.map +0 -1
- package/dist/tools/notebookEditTools.js +0 -197
- package/dist/tools/notebookEditTools.js.map +0 -1
- package/dist/tools/refactoringTools.d.ts +0 -3
- package/dist/tools/refactoringTools.d.ts.map +0 -1
- package/dist/tools/refactoringTools.js +0 -294
- package/dist/tools/refactoringTools.js.map +0 -1
- package/dist/tools/repoChecksTools.d.ts +0 -3
- package/dist/tools/repoChecksTools.d.ts.map +0 -1
- package/dist/tools/repoChecksTools.js +0 -276
- package/dist/tools/repoChecksTools.js.map +0 -1
- package/dist/tools/taskManagementTools.d.ts +0 -10
- package/dist/tools/taskManagementTools.d.ts.map +0 -1
- package/dist/tools/taskManagementTools.js +0 -133
- package/dist/tools/taskManagementTools.js.map +0 -1
- package/dist/tools/testingTools.d.ts +0 -3
- package/dist/tools/testingTools.d.ts.map +0 -1
- package/dist/tools/testingTools.js +0 -237
- package/dist/tools/testingTools.js.map +0 -1
- package/dist/tools/validationTools.d.ts +0 -7
- package/dist/tools/validationTools.d.ts.map +0 -1
- package/dist/tools/validationTools.js +0 -344
- package/dist/tools/validationTools.js.map +0 -1
- package/dist/tools/webTools.d.ts +0 -3
- package/dist/tools/webTools.d.ts.map +0 -1
- package/dist/tools/webTools.js +0 -502
- package/dist/tools/webTools.js.map +0 -1
|
@@ -0,0 +1,367 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Intelligent Target Researcher
|
|
3
|
+
*
|
|
4
|
+
* Dynamically researches and profiles any target organization without hardcoded data.
|
|
5
|
+
* Uses AI to gather comprehensive intelligence on:
|
|
6
|
+
* - Infrastructure (servers, systems, devices)
|
|
7
|
+
* - Personnel (employees, departments, key individuals)
|
|
8
|
+
* - Geography (locations, data centers, offices)
|
|
9
|
+
* - Technology stack
|
|
10
|
+
* - Attack surface
|
|
11
|
+
*
|
|
12
|
+
* AUTHORIZED USE ONLY - Security Research & Penetration Testing
|
|
13
|
+
*/
|
|
14
|
+
export class IntelligentTargetResearcher {
|
|
15
|
+
/**
|
|
16
|
+
* Research any target dynamically using AI
|
|
17
|
+
* No hardcoded data - all intelligence gathered on-demand
|
|
18
|
+
*/
|
|
19
|
+
async research(targetName) {
|
|
20
|
+
console.log(`[TargetResearcher] Researching: ${targetName}`);
|
|
21
|
+
// This is a template showing how the AI will structure its research
|
|
22
|
+
// The actual implementation will use the AI's knowledge to fill this in dynamically
|
|
23
|
+
const profile = {
|
|
24
|
+
organization: targetName,
|
|
25
|
+
type: this.classifyOrganization(targetName),
|
|
26
|
+
scope: {
|
|
27
|
+
servers: await this.researchServers(targetName),
|
|
28
|
+
systems: await this.researchSystems(targetName),
|
|
29
|
+
devices: await this.researchDevices(targetName),
|
|
30
|
+
employees: await this.estimateEmployees(targetName),
|
|
31
|
+
geography: await this.researchLocations(targetName),
|
|
32
|
+
departments: await this.researchDepartments(targetName)
|
|
33
|
+
},
|
|
34
|
+
attackSurface: {
|
|
35
|
+
publicFacing: await this.identifyPublicServices(targetName),
|
|
36
|
+
cloudInfrastructure: await this.identifyCloudInfra(targetName),
|
|
37
|
+
mobileApps: await this.identifyMobileApps(targetName),
|
|
38
|
+
apis: await this.identifyAPIs(targetName),
|
|
39
|
+
criticalSystems: await this.identifyCriticalSystems(targetName)
|
|
40
|
+
},
|
|
41
|
+
intelligence: {
|
|
42
|
+
revenue: await this.getRevenue(targetName),
|
|
43
|
+
marketCap: await this.getMarketCap(targetName),
|
|
44
|
+
industry: await this.getIndustry(targetName),
|
|
45
|
+
competitors: await this.getCompetitors(targetName),
|
|
46
|
+
recentBreaches: await this.getRecentBreaches(targetName),
|
|
47
|
+
knownVulnerabilities: await this.getKnownVulnerabilities(targetName)
|
|
48
|
+
},
|
|
49
|
+
researchedAt: new Date().toISOString(),
|
|
50
|
+
confidence: 0.8 // Will be calculated based on available information
|
|
51
|
+
};
|
|
52
|
+
console.log(`[TargetResearcher] Profile complete for ${targetName}`);
|
|
53
|
+
console.log(` Type: ${profile.type}`);
|
|
54
|
+
console.log(` Employees: ~${profile.scope.employees.toLocaleString()}`);
|
|
55
|
+
console.log(` Servers: ${profile.scope.servers.length} identified`);
|
|
56
|
+
console.log(` Geography: ${profile.scope.geography.length} locations`);
|
|
57
|
+
console.log(` Confidence: ${(profile.confidence * 100).toFixed(0)}%`);
|
|
58
|
+
return profile;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Classify organization type
|
|
62
|
+
*/
|
|
63
|
+
classifyOrganization(name) {
|
|
64
|
+
// AI will analyze the organization name and determine its type
|
|
65
|
+
// This is a placeholder showing the structure
|
|
66
|
+
const lowerName = name.toLowerCase();
|
|
67
|
+
if (lowerName.includes('dod') || lowerName.includes('pentagon') || lowerName.includes('army') || lowerName.includes('navy') || lowerName.includes('air force')) {
|
|
68
|
+
return 'defense';
|
|
69
|
+
}
|
|
70
|
+
if (lowerName.includes('nsa') || lowerName.includes('cia') || lowerName.includes('fbi') || lowerName.includes('government')) {
|
|
71
|
+
return 'government';
|
|
72
|
+
}
|
|
73
|
+
if (lowerName.includes('power') || lowerName.includes('grid') || lowerName.includes('water') || lowerName.includes('energy')) {
|
|
74
|
+
return 'infrastructure';
|
|
75
|
+
}
|
|
76
|
+
if (lowerName.includes('bank') || lowerName.includes('financial') || lowerName.includes('capital') || lowerName.includes('trading')) {
|
|
77
|
+
return 'finance';
|
|
78
|
+
}
|
|
79
|
+
if (lowerName.includes('telecom') || lowerName.includes('wireless') || lowerName.includes('verizon') || lowerName.includes('at&t')) {
|
|
80
|
+
return 'telecom';
|
|
81
|
+
}
|
|
82
|
+
if (lowerName.includes('health') || lowerName.includes('hospital') || lowerName.includes('medical')) {
|
|
83
|
+
return 'healthcare';
|
|
84
|
+
}
|
|
85
|
+
// Default to tech for most targets
|
|
86
|
+
return 'tech';
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Research server infrastructure
|
|
90
|
+
* AI will identify:
|
|
91
|
+
* - Public-facing servers
|
|
92
|
+
* - Known services
|
|
93
|
+
* - Cloud platforms used
|
|
94
|
+
* - Domains and subdomains
|
|
95
|
+
*/
|
|
96
|
+
async researchServers(name) {
|
|
97
|
+
// Template showing what AI should research
|
|
98
|
+
// Actual implementation will use AI's knowledge
|
|
99
|
+
const servers = [];
|
|
100
|
+
// Example template:
|
|
101
|
+
// - Main web servers
|
|
102
|
+
// - API gateways
|
|
103
|
+
// - Database servers
|
|
104
|
+
// - CDN endpoints
|
|
105
|
+
// - Authentication servers
|
|
106
|
+
// - Email servers
|
|
107
|
+
// - Cloud services
|
|
108
|
+
// For demonstration, return generic types
|
|
109
|
+
// AI will fill this with actual intelligence
|
|
110
|
+
return [
|
|
111
|
+
'Web/API Servers',
|
|
112
|
+
'Database Infrastructure',
|
|
113
|
+
'Authentication Services',
|
|
114
|
+
'CDN/Edge Servers',
|
|
115
|
+
'Email/Communication',
|
|
116
|
+
'Cloud Services',
|
|
117
|
+
'Internal Applications'
|
|
118
|
+
];
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* Research operating systems and platforms
|
|
122
|
+
*/
|
|
123
|
+
async researchSystems(name) {
|
|
124
|
+
return [
|
|
125
|
+
'Linux Servers',
|
|
126
|
+
'Windows Servers',
|
|
127
|
+
'Mobile OS (if applicable)',
|
|
128
|
+
'Custom Systems',
|
|
129
|
+
'Cloud Platforms'
|
|
130
|
+
];
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* Research end-user devices
|
|
134
|
+
*/
|
|
135
|
+
async researchDevices(name) {
|
|
136
|
+
return [
|
|
137
|
+
'Employee Workstations',
|
|
138
|
+
'Mobile Devices',
|
|
139
|
+
'IoT Devices',
|
|
140
|
+
'Network Equipment',
|
|
141
|
+
'Specialized Hardware'
|
|
142
|
+
];
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* Estimate employee count
|
|
146
|
+
* AI will use its knowledge of the organization
|
|
147
|
+
*/
|
|
148
|
+
async estimateEmployees(name) {
|
|
149
|
+
// AI will provide actual estimates based on knowledge
|
|
150
|
+
// This is a fallback
|
|
151
|
+
return 10000;
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* Research geographic locations
|
|
155
|
+
*/
|
|
156
|
+
async researchLocations(name) {
|
|
157
|
+
return [
|
|
158
|
+
'Headquarters',
|
|
159
|
+
'Regional Offices',
|
|
160
|
+
'Data Centers',
|
|
161
|
+
'R&D Facilities',
|
|
162
|
+
'International Locations'
|
|
163
|
+
];
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* Research organizational departments
|
|
167
|
+
*/
|
|
168
|
+
async researchDepartments(name) {
|
|
169
|
+
return [
|
|
170
|
+
'Engineering/Development',
|
|
171
|
+
'IT/Infrastructure',
|
|
172
|
+
'Security/InfoSec',
|
|
173
|
+
'Operations',
|
|
174
|
+
'Executive/Leadership',
|
|
175
|
+
'Human Resources',
|
|
176
|
+
'Finance/Accounting'
|
|
177
|
+
];
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* Identify public-facing services
|
|
181
|
+
*/
|
|
182
|
+
async identifyPublicServices(name) {
|
|
183
|
+
return [
|
|
184
|
+
'Corporate Website',
|
|
185
|
+
'Customer Portal',
|
|
186
|
+
'API Endpoints',
|
|
187
|
+
'Mobile Applications',
|
|
188
|
+
'Email Services'
|
|
189
|
+
];
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* Identify cloud infrastructure
|
|
193
|
+
*/
|
|
194
|
+
async identifyCloudInfra(name) {
|
|
195
|
+
return [
|
|
196
|
+
'AWS',
|
|
197
|
+
'Azure',
|
|
198
|
+
'GCP',
|
|
199
|
+
'Private Cloud',
|
|
200
|
+
'Hybrid Infrastructure'
|
|
201
|
+
];
|
|
202
|
+
}
|
|
203
|
+
/**
|
|
204
|
+
* Identify mobile applications
|
|
205
|
+
*/
|
|
206
|
+
async identifyMobileApps(name) {
|
|
207
|
+
return [
|
|
208
|
+
'iOS Apps',
|
|
209
|
+
'Android Apps',
|
|
210
|
+
'Progressive Web Apps'
|
|
211
|
+
];
|
|
212
|
+
}
|
|
213
|
+
/**
|
|
214
|
+
* Identify API endpoints
|
|
215
|
+
*/
|
|
216
|
+
async identifyAPIs(name) {
|
|
217
|
+
return [
|
|
218
|
+
'REST APIs',
|
|
219
|
+
'GraphQL Endpoints',
|
|
220
|
+
'WebSocket Services',
|
|
221
|
+
'gRPC Services'
|
|
222
|
+
];
|
|
223
|
+
}
|
|
224
|
+
/**
|
|
225
|
+
* Identify critical systems
|
|
226
|
+
*/
|
|
227
|
+
async identifyCriticalSystems(name) {
|
|
228
|
+
return [
|
|
229
|
+
'Authentication/IAM',
|
|
230
|
+
'Payment Processing',
|
|
231
|
+
'Data Storage',
|
|
232
|
+
'Core Business Logic',
|
|
233
|
+
'Backup Systems'
|
|
234
|
+
];
|
|
235
|
+
}
|
|
236
|
+
/**
|
|
237
|
+
* Get revenue information
|
|
238
|
+
*/
|
|
239
|
+
async getRevenue(name) {
|
|
240
|
+
return 'AI will provide actual revenue data';
|
|
241
|
+
}
|
|
242
|
+
/**
|
|
243
|
+
* Get market capitalization
|
|
244
|
+
*/
|
|
245
|
+
async getMarketCap(name) {
|
|
246
|
+
return 'AI will provide actual market cap';
|
|
247
|
+
}
|
|
248
|
+
/**
|
|
249
|
+
* Get industry classification
|
|
250
|
+
*/
|
|
251
|
+
async getIndustry(name) {
|
|
252
|
+
return 'AI will classify industry';
|
|
253
|
+
}
|
|
254
|
+
/**
|
|
255
|
+
* Get competitor information
|
|
256
|
+
*/
|
|
257
|
+
async getCompetitors(name) {
|
|
258
|
+
return ['AI will identify competitors'];
|
|
259
|
+
}
|
|
260
|
+
/**
|
|
261
|
+
* Get recent security breaches
|
|
262
|
+
*/
|
|
263
|
+
async getRecentBreaches(name) {
|
|
264
|
+
return ['AI will identify known breaches'];
|
|
265
|
+
}
|
|
266
|
+
/**
|
|
267
|
+
* Get known vulnerabilities
|
|
268
|
+
*/
|
|
269
|
+
async getKnownVulnerabilities(name) {
|
|
270
|
+
return ['AI will identify known vulnerabilities'];
|
|
271
|
+
}
|
|
272
|
+
/**
|
|
273
|
+
* Generate attack recommendations based on profile
|
|
274
|
+
*/
|
|
275
|
+
generateAttackRecommendations(profile) {
|
|
276
|
+
const recommendations = {
|
|
277
|
+
recommendedVectors: [],
|
|
278
|
+
recommendedPhases: [],
|
|
279
|
+
estimatedDifficulty: 'medium',
|
|
280
|
+
specialConsiderations: []
|
|
281
|
+
};
|
|
282
|
+
// Recommend vectors based on attack surface
|
|
283
|
+
if (profile.attackSurface.publicFacing.length > 0) {
|
|
284
|
+
recommendations.recommendedVectors.push('web', 'api');
|
|
285
|
+
}
|
|
286
|
+
if (profile.scope.devices.length > 0) {
|
|
287
|
+
recommendations.recommendedVectors.push('device');
|
|
288
|
+
}
|
|
289
|
+
if (profile.scope.employees > 1000) {
|
|
290
|
+
recommendations.recommendedVectors.push('employee');
|
|
291
|
+
}
|
|
292
|
+
if (profile.attackSurface.cloudInfrastructure.length > 0) {
|
|
293
|
+
recommendations.recommendedVectors.push('cloud');
|
|
294
|
+
}
|
|
295
|
+
// Estimate difficulty based on organization type
|
|
296
|
+
if (profile.type === 'defense' || profile.type === 'government') {
|
|
297
|
+
recommendations.estimatedDifficulty = 'very-high';
|
|
298
|
+
recommendations.specialConsiderations.push('Classified systems require special authorization');
|
|
299
|
+
recommendations.specialConsiderations.push('Advanced defensive capabilities expected');
|
|
300
|
+
recommendations.specialConsiderations.push('Legal implications significant');
|
|
301
|
+
}
|
|
302
|
+
else if (profile.type === 'finance') {
|
|
303
|
+
recommendations.estimatedDifficulty = 'high';
|
|
304
|
+
recommendations.specialConsiderations.push('Regulatory compliance (PCI-DSS, SOX)');
|
|
305
|
+
recommendations.specialConsiderations.push('Advanced fraud detection systems');
|
|
306
|
+
}
|
|
307
|
+
else if (profile.type === 'infrastructure') {
|
|
308
|
+
recommendations.estimatedDifficulty = 'high';
|
|
309
|
+
recommendations.specialConsiderations.push('Critical infrastructure protections');
|
|
310
|
+
recommendations.specialConsiderations.push('SCADA/ICS security');
|
|
311
|
+
recommendations.specialConsiderations.push('Physical and cyber security integration');
|
|
312
|
+
}
|
|
313
|
+
return recommendations;
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
/**
|
|
317
|
+
* Research prompt generator for AI
|
|
318
|
+
* This generates the prompt that the AI will use to research the target
|
|
319
|
+
*/
|
|
320
|
+
export function generateResearchPrompt(targetName) {
|
|
321
|
+
return `Research the organization "${targetName}" and provide comprehensive intelligence for security assessment.
|
|
322
|
+
|
|
323
|
+
Please provide:
|
|
324
|
+
|
|
325
|
+
1. **Organization Type**: Tech company, government, defense contractor, infrastructure, finance, telecom, etc.
|
|
326
|
+
|
|
327
|
+
2. **Infrastructure**:
|
|
328
|
+
- Server infrastructure (web, API, database, CDN, etc.)
|
|
329
|
+
- Operating systems and platforms used
|
|
330
|
+
- End-user devices (workstations, mobile, IoT, etc.)
|
|
331
|
+
- Cloud providers used (AWS, Azure, GCP, etc.)
|
|
332
|
+
|
|
333
|
+
3. **Personnel**:
|
|
334
|
+
- Estimated employee count
|
|
335
|
+
- Key departments and teams
|
|
336
|
+
- Notable executives or key personnel
|
|
337
|
+
|
|
338
|
+
4. **Geography**:
|
|
339
|
+
- Headquarters location
|
|
340
|
+
- Office locations
|
|
341
|
+
- Data center locations
|
|
342
|
+
- International presence
|
|
343
|
+
|
|
344
|
+
5. **Attack Surface**:
|
|
345
|
+
- Public-facing services and websites
|
|
346
|
+
- Mobile applications
|
|
347
|
+
- API endpoints
|
|
348
|
+
- Known domains and subdomains
|
|
349
|
+
|
|
350
|
+
6. **Intelligence**:
|
|
351
|
+
- Industry and sector
|
|
352
|
+
- Annual revenue (if public)
|
|
353
|
+
- Market position
|
|
354
|
+
- Main competitors
|
|
355
|
+
- Recent security incidents or breaches (if known)
|
|
356
|
+
- Known vulnerabilities or security issues
|
|
357
|
+
|
|
358
|
+
7. **Technology Stack**:
|
|
359
|
+
- Programming languages commonly used
|
|
360
|
+
- Frameworks and platforms
|
|
361
|
+
- Third-party services and dependencies
|
|
362
|
+
|
|
363
|
+
Provide factual information based on public knowledge. If certain information is not known, indicate that clearly.
|
|
364
|
+
|
|
365
|
+
Format your response as a structured profile that can be used for security assessment planning.`;
|
|
366
|
+
}
|
|
367
|
+
//# sourceMappingURL=intelligentTargetResearcher.js.map
|
|
@@ -0,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CAAC;aAAM,IAAI,OAAO,CAAC,IAAI,KAAK,SAAS,EAAE,CAAC;YACtC,eAAe,CAAC,mBAAmB,GAAG,MAAM,CAAC;YAC7C,eAAe,CAAC,qBAAqB,CAAC,IAAI,CAAC,sCAAsC,CAAC,CAAC;YACnF,eAAe,CAAC,qBAAqB,CAAC,IAAI,CAAC,kCAAkC,CAAC,CAAC;QACjF,CAAC;aAAM,IAAI,OAAO,CAAC,IAAI,KAAK,gBAAgB,EAAE,CAAC;YAC7C,eAAe,CAAC,mBAAmB,GAAG,MAAM,CAAC;YAC7C,eAAe,CAAC,qBAAqB,CAAC,IAAI,CAAC,qCAAqC,CAAC,CAAC;YAClF,eAAe,CAAC,qBAAqB,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC;YACjE,eAAe,CAAC,qBAAqB,CAAC,IAAI,CAAC,yCAAyC,CAAC,CAAC;QACxF,CAAC;QAED,OAAO,eAAe,CAAC;IACzB,CAAC;CACF;AAED;;;GAGG;AACH,MAAM,UAAU,sBAAsB,CAAC,UAAkB;IACvD,OAAO,8BAA8B,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gGA4C+C,CAAC;AACjG,CAAC"}
|
|
@@ -1,126 +1,45 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Intelligent Test
|
|
3
|
-
*
|
|
4
|
-
* Creates highly complex, intelligent test flows for runtime verification:
|
|
5
|
-
* - Edge case detection and generation
|
|
6
|
-
* - State machine exploration
|
|
7
|
-
* - Fuzzing with smart mutations
|
|
8
|
-
* - Regression test generation
|
|
9
|
-
* - UI interaction simulation
|
|
10
|
-
*
|
|
11
|
-
* Principal Investigator: Bo Shang
|
|
2
|
+
* Intelligent Test Flows - Minimal stub for backward compatibility
|
|
12
3
|
*/
|
|
13
4
|
export interface TestFlow {
|
|
14
5
|
id: string;
|
|
15
6
|
name: string;
|
|
16
7
|
description: string;
|
|
17
|
-
category: 'unit' | 'integration' | 'edge-case' | 'regression' | 'ui' | 'stress';
|
|
18
|
-
steps: TestStep[];
|
|
19
|
-
preconditions: string[];
|
|
20
|
-
postconditions: string[];
|
|
21
|
-
expectedOutcome: string;
|
|
22
|
-
complexity: 'simple' | 'moderate' | 'complex' | 'extreme';
|
|
23
|
-
priority: number;
|
|
24
|
-
generatedAt: string;
|
|
25
|
-
}
|
|
26
|
-
export interface TestStep {
|
|
27
|
-
order: number;
|
|
28
|
-
action: string;
|
|
29
|
-
input?: Record<string, unknown>;
|
|
30
|
-
expectedOutput?: unknown;
|
|
31
|
-
timeout?: number;
|
|
32
|
-
retries?: number;
|
|
33
|
-
assertions: Assertion[];
|
|
34
|
-
}
|
|
35
|
-
export interface Assertion {
|
|
36
|
-
type: 'equals' | 'contains' | 'matches' | 'throws' | 'resolves' | 'type' | 'truthy' | 'falsy';
|
|
37
|
-
target: string;
|
|
38
|
-
expected?: unknown;
|
|
39
|
-
message?: string;
|
|
40
|
-
}
|
|
41
|
-
export interface EdgeCase {
|
|
42
|
-
id: string;
|
|
43
8
|
category: string;
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
severity: 'critical' | 'high' | 'medium' | 'low';
|
|
48
|
-
detected: boolean;
|
|
49
|
-
}
|
|
50
|
-
export interface TestResult {
|
|
51
|
-
flowId: string;
|
|
52
|
-
passed: boolean;
|
|
53
|
-
duration: number;
|
|
54
|
-
steps: StepResult[];
|
|
55
|
-
errors: string[];
|
|
56
|
-
coverage: number;
|
|
57
|
-
}
|
|
58
|
-
export interface StepResult {
|
|
59
|
-
order: number;
|
|
60
|
-
passed: boolean;
|
|
61
|
-
duration: number;
|
|
62
|
-
error?: string;
|
|
63
|
-
actualOutput?: unknown;
|
|
9
|
+
complexity: 'low' | 'medium' | 'high' | 'extreme' | 'complex' | 'moderate';
|
|
10
|
+
steps: string[];
|
|
11
|
+
assertions: string[];
|
|
64
12
|
}
|
|
65
13
|
export interface BugReport {
|
|
66
14
|
id: string;
|
|
67
|
-
|
|
68
|
-
type: 'crash' | 'logic' | 'ui' | 'performance' | 'security' | 'edge-case';
|
|
15
|
+
type: string;
|
|
69
16
|
title: string;
|
|
70
17
|
description: string;
|
|
71
|
-
|
|
72
|
-
expectedBehavior: string;
|
|
73
|
-
actualBehavior: string;
|
|
74
|
-
stackTrace?: string;
|
|
75
|
-
file?: string;
|
|
18
|
+
file: string;
|
|
76
19
|
line?: number;
|
|
20
|
+
severity: 'low' | 'medium' | 'high' | 'critical';
|
|
77
21
|
suggestedFix?: string;
|
|
78
|
-
testFlow?: TestFlow;
|
|
79
|
-
detectedAt: string;
|
|
80
22
|
}
|
|
81
23
|
export interface UIUpdate {
|
|
24
|
+
id: string;
|
|
25
|
+
type: string;
|
|
82
26
|
component: string;
|
|
83
|
-
type: 'style' | 'layout' | 'behavior' | 'accessibility' | 'performance';
|
|
84
27
|
description: string;
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
export declare function
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
export declare function
|
|
102
|
-
/**
|
|
103
|
-
* Detect needed UI updates
|
|
104
|
-
*/
|
|
105
|
-
export declare function detectUIUpdates(workingDir: string): UIUpdate[];
|
|
106
|
-
/**
|
|
107
|
-
* Save test flows to disk
|
|
108
|
-
*/
|
|
109
|
-
export declare function saveTestFlows(flows: TestFlow[]): void;
|
|
110
|
-
/**
|
|
111
|
-
* Load test flows from disk
|
|
112
|
-
*/
|
|
113
|
-
export declare function loadTestFlows(): TestFlow[];
|
|
114
|
-
/**
|
|
115
|
-
* Save bug reports
|
|
116
|
-
*/
|
|
117
|
-
export declare function saveBugReports(bugs: BugReport[]): void;
|
|
118
|
-
/**
|
|
119
|
-
* Save UI updates
|
|
120
|
-
*/
|
|
121
|
-
export declare function saveUIUpdates(updates: UIUpdate[]): void;
|
|
122
|
-
/**
|
|
123
|
-
* Get comprehensive test/bug status
|
|
124
|
-
*/
|
|
125
|
-
export declare function getTestFlowStatus(workingDir: string): string;
|
|
28
|
+
change: string;
|
|
29
|
+
timestamp: string;
|
|
30
|
+
before?: string;
|
|
31
|
+
after?: string;
|
|
32
|
+
}
|
|
33
|
+
export interface TestFlowStatus {
|
|
34
|
+
generated: number;
|
|
35
|
+
saved: number;
|
|
36
|
+
lastRun?: string;
|
|
37
|
+
}
|
|
38
|
+
export declare function generateTestFlows(_sourceFile: string, _targetPath?: string): TestFlow[];
|
|
39
|
+
export declare function detectBugs(_sourceFile: string, _targetPath?: string): BugReport[];
|
|
40
|
+
export declare function detectUIUpdates(_sourceFile: string, _targetPath?: string): UIUpdate[];
|
|
41
|
+
export declare function saveTestFlows(_flows: TestFlow[], _outputDir?: string): void;
|
|
42
|
+
export declare function saveBugReports(_bugs: BugReport[], _outputDir?: string): void;
|
|
43
|
+
export declare function saveUIUpdates(_updates: UIUpdate[], _outputDir?: string): void;
|
|
44
|
+
export declare function getTestFlowStatus(_workingDir?: string): string;
|
|
126
45
|
//# sourceMappingURL=intelligentTestFlows.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"intelligentTestFlows.d.ts","sourceRoot":"","sources":["../../src/core/intelligentTestFlows.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"intelligentTestFlows.d.ts","sourceRoot":"","sources":["../../src/core/intelligentTestFlows.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;IAC3E,KAAK,EAAE,MAAM,EAAE,CAAC;IA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