erosolar-cli 2.1.269 → 2.1.271
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/dist/capabilities/index.d.ts +0 -1
- package/dist/capabilities/index.d.ts.map +1 -1
- package/dist/capabilities/index.js +1 -1
- package/dist/capabilities/index.js.map +1 -1
- package/dist/capabilities/orchestrationCapability.d.ts.map +1 -1
- package/dist/capabilities/orchestrationCapability.js +107 -62
- package/dist/capabilities/orchestrationCapability.js.map +1 -1
- package/dist/core/iMessageVerification.d.ts +1 -1
- package/dist/core/infrastructureTemplates.d.ts +1 -1
- package/dist/core/infrastructureTemplates.js +5 -5
- package/dist/core/infrastructureTemplates.js.map +1 -1
- package/dist/core/persistentObjectiveStore.d.ts +13 -1
- package/dist/core/persistentObjectiveStore.d.ts.map +1 -1
- package/dist/core/persistentObjectiveStore.js.map +1 -1
- package/dist/core/securityDeliverableGenerator.d.ts +1 -1
- package/dist/core/securityDeliverableGenerator.d.ts.map +1 -1
- package/dist/core/securityDeliverableGenerator.js +3 -3
- package/dist/core/securityDeliverableGenerator.js.map +1 -1
- package/dist/core/toolRuntime.d.ts.map +1 -1
- package/dist/core/toolRuntime.js +11 -5
- package/dist/core/toolRuntime.js.map +1 -1
- package/dist/core/types.js.map +1 -1
- package/dist/core/unifiedOrchestrator.d.ts +265 -77
- package/dist/core/unifiedOrchestrator.d.ts.map +1 -1
- package/dist/core/unifiedOrchestrator.js +915 -254
- package/dist/core/unifiedOrchestrator.js.map +1 -1
- package/dist/providers/anthropicProvider.d.ts +1 -1
- package/dist/shell/interactiveShell.d.ts +1 -1
- package/dist/shell/interactiveShell.d.ts.map +1 -1
- package/dist/shell/interactiveShell.js +188 -207
- package/dist/shell/interactiveShell.js.map +1 -1
- package/dist/tools/tao/rl.js +1 -1
- package/dist/tools/tao/rl.js.map +1 -1
- package/dist/tools/taoTools.js +5 -5
- package/dist/tools/taoTools.js.map +1 -1
- package/package.json +1 -1
- package/dist/capabilities/unifiedInvestigationCapability.d.ts +0 -22
- package/dist/capabilities/unifiedInvestigationCapability.d.ts.map +0 -1
- package/dist/capabilities/unifiedInvestigationCapability.js +0 -41
- package/dist/capabilities/unifiedInvestigationCapability.js.map +0 -1
- package/dist/core/agentOrchestrator.d.ts +0 -400
- package/dist/core/agentOrchestrator.d.ts.map +0 -1
- package/dist/core/agentOrchestrator.js +0 -2133
- package/dist/core/agentOrchestrator.js.map +0 -1
- package/dist/core/autoExecutionOrchestrator.d.ts +0 -172
- package/dist/core/autoExecutionOrchestrator.d.ts.map +0 -1
- package/dist/core/autoExecutionOrchestrator.js +0 -591
- package/dist/core/autoExecutionOrchestrator.js.map +0 -1
- package/dist/core/dualAgentOrchestrator.d.ts +0 -34
- package/dist/core/dualAgentOrchestrator.d.ts.map +0 -1
- package/dist/core/dualAgentOrchestrator.js +0 -94
- package/dist/core/dualAgentOrchestrator.js.map +0 -1
- package/dist/core/failureRecovery.d.ts +0 -26
- package/dist/core/failureRecovery.d.ts.map +0 -1
- package/dist/core/failureRecovery.js +0 -54
- package/dist/core/failureRecovery.js.map +0 -1
- package/dist/core/intelligentTestFlows.d.ts +0 -45
- package/dist/core/intelligentTestFlows.d.ts.map +0 -1
- package/dist/core/intelligentTestFlows.js +0 -25
- package/dist/core/intelligentTestFlows.js.map +0 -1
- package/dist/core/learningPersistence.d.ts +0 -58
- package/dist/core/learningPersistence.d.ts.map +0 -1
- package/dist/core/learningPersistence.js +0 -46
- package/dist/core/learningPersistence.js.map +0 -1
- package/dist/core/metricsTracker.d.ts +0 -40
- package/dist/core/metricsTracker.d.ts.map +0 -1
- package/dist/core/metricsTracker.js +0 -83
- package/dist/core/metricsTracker.js.map +0 -1
- package/dist/core/orchestration.d.ts +0 -534
- package/dist/core/orchestration.d.ts.map +0 -1
- package/dist/core/orchestration.js +0 -2009
- package/dist/core/orchestration.js.map +0 -1
- package/dist/core/performanceMonitor.d.ts +0 -30
- package/dist/core/performanceMonitor.d.ts.map +0 -1
- package/dist/core/performanceMonitor.js +0 -39
- package/dist/core/performanceMonitor.js.map +0 -1
- package/dist/core/selfEvolution.d.ts +0 -61
- package/dist/core/selfEvolution.d.ts.map +0 -1
- package/dist/core/selfEvolution.js +0 -38
- package/dist/core/selfEvolution.js.map +0 -1
- package/dist/core/selfImprovement.d.ts +0 -82
- package/dist/core/selfImprovement.d.ts.map +0 -1
- package/dist/core/selfImprovement.js +0 -25
- package/dist/core/selfImprovement.js.map +0 -1
- package/dist/core/unifiedFraudOrchestrator.d.ts +0 -738
- package/dist/core/unifiedFraudOrchestrator.d.ts.map +0 -1
- package/dist/core/unifiedFraudOrchestrator.js +0 -3312
- package/dist/core/unifiedFraudOrchestrator.js.map +0 -1
- package/dist/core/unifiedRealOrchestrator.d.ts +0 -126
- package/dist/core/unifiedRealOrchestrator.d.ts.map +0 -1
- package/dist/core/unifiedRealOrchestrator.js +0 -475
- package/dist/core/unifiedRealOrchestrator.js.map +0 -1
- package/dist/core/userDefenseOrchestrator.d.ts +0 -202
- package/dist/core/userDefenseOrchestrator.d.ts.map +0 -1
- package/dist/core/userDefenseOrchestrator.js +0 -1006
- package/dist/core/userDefenseOrchestrator.js.map +0 -1
- package/dist/plugins/tools/unifiedInvestigation/unifiedInvestigationPlugin.d.ts +0 -3
- package/dist/plugins/tools/unifiedInvestigation/unifiedInvestigationPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/unifiedInvestigation/unifiedInvestigationPlugin.js +0 -14
- package/dist/plugins/tools/unifiedInvestigation/unifiedInvestigationPlugin.js.map +0 -1
- package/dist/tools/frontendTestingTools.d.ts +0 -9
- package/dist/tools/frontendTestingTools.d.ts.map +0 -1
- package/dist/tools/frontendTestingTools.js +0 -291
- package/dist/tools/frontendTestingTools.js.map +0 -1
- package/dist/tools/unifiedInvestigationTools.d.ts +0 -19
- package/dist/tools/unifiedInvestigationTools.d.ts.map +0 -1
- package/dist/tools/unifiedInvestigationTools.js +0 -1163
- package/dist/tools/unifiedInvestigationTools.js.map +0 -1
- package/scripts/human-verification.mjs +0 -380
- package/scripts/isolated-verification-runner.mjs +0 -364
- package/scripts/isolated-verification-wrapper.mjs +0 -276
- package/scripts/verify-task-completion.mjs +0 -143
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "erosolar-cli",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.271",
|
|
4
4
|
"description": "Unified AI agent framework for the command line - Multi-provider support with schema-driven tools, code intelligence, and transparent reasoning",
|
|
5
5
|
"main": "dist/bin/erosolar.js",
|
|
6
6
|
"type": "module",
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Unified Investigation Capability
|
|
3
|
-
*
|
|
4
|
-
* Provides unified tech fraud investigation across multiple platforms:
|
|
5
|
-
* - Apple iMessage (key substitution, false E2E claims)
|
|
6
|
-
* - Google Gmail (hidden threads, draft manipulation, unauthorized access)
|
|
7
|
-
* - Google Chrome (unauthorized launches, session hijacking)
|
|
8
|
-
* - Cross-platform correlation
|
|
9
|
-
*/
|
|
10
|
-
import type { CapabilityContribution, CapabilityContext, CapabilityModule } from '../runtime/agentHost.js';
|
|
11
|
-
export interface UnifiedInvestigationCapabilityOptions {
|
|
12
|
-
workingDir?: string;
|
|
13
|
-
id?: string;
|
|
14
|
-
description?: string;
|
|
15
|
-
}
|
|
16
|
-
export declare class UnifiedInvestigationCapabilityModule implements CapabilityModule {
|
|
17
|
-
readonly id = "capability.unified-investigation";
|
|
18
|
-
private readonly options;
|
|
19
|
-
constructor(options?: UnifiedInvestigationCapabilityOptions);
|
|
20
|
-
create(context: CapabilityContext): Promise<CapabilityContribution>;
|
|
21
|
-
}
|
|
22
|
-
//# sourceMappingURL=unifiedInvestigationCapability.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"unifiedInvestigationCapability.d.ts","sourceRoot":"","sources":["../../src/capabilities/unifiedInvestigationCapability.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAG3G,MAAM,WAAW,qCAAqC;IACpD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,qBAAa,oCAAqC,YAAW,gBAAgB;IAC3E,QAAQ,CAAC,EAAE,sCAAsC;IACjD,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAwC;gBAEpD,OAAO,GAAE,qCAA0C;IAIzD,MAAM,CAAC,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC,sBAAsB,CAAC;CAuB1E"}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Unified Investigation Capability
|
|
3
|
-
*
|
|
4
|
-
* Provides unified tech fraud investigation across multiple platforms:
|
|
5
|
-
* - Apple iMessage (key substitution, false E2E claims)
|
|
6
|
-
* - Google Gmail (hidden threads, draft manipulation, unauthorized access)
|
|
7
|
-
* - Google Chrome (unauthorized launches, session hijacking)
|
|
8
|
-
* - Cross-platform correlation
|
|
9
|
-
*/
|
|
10
|
-
import { createUnifiedInvestigationTools } from '../tools/unifiedInvestigationTools.js';
|
|
11
|
-
export class UnifiedInvestigationCapabilityModule {
|
|
12
|
-
id = 'capability.unified-investigation';
|
|
13
|
-
options;
|
|
14
|
-
constructor(options = {}) {
|
|
15
|
-
this.options = options;
|
|
16
|
-
}
|
|
17
|
-
async create(context) {
|
|
18
|
-
const workingDir = this.options.workingDir ?? context.workingDir;
|
|
19
|
-
return {
|
|
20
|
-
id: this.options.id ?? 'unified-investigation.tools.core',
|
|
21
|
-
description: this.options.description ?? `Unified tech fraud investigation across Apple, Google, and other platforms.
|
|
22
|
-
|
|
23
|
-
Investigates:
|
|
24
|
-
• Apple iMessage: Key substitution, false E2E encryption claims
|
|
25
|
-
• Google Gmail: Hidden threads, draft manipulation, unauthorized access, filter tampering
|
|
26
|
-
• Google Chrome: Unauthorized launches, session hijacking, history manipulation
|
|
27
|
-
• Cross-platform: Coordinated manipulation patterns
|
|
28
|
-
|
|
29
|
-
Features:
|
|
30
|
-
• Investigation management with evidence chains
|
|
31
|
-
• Cross-vector correlation detection
|
|
32
|
-
• Legal evidence export
|
|
33
|
-
• Company claims vs reality analysis`,
|
|
34
|
-
toolSuite: createUnifiedInvestigationTools(workingDir),
|
|
35
|
-
metadata: {
|
|
36
|
-
workingDir,
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
//# sourceMappingURL=unifiedInvestigationCapability.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"unifiedInvestigationCapability.js","sourceRoot":"","sources":["../../src/capabilities/unifiedInvestigationCapability.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,OAAO,EAAE,+BAA+B,EAAE,MAAM,uCAAuC,CAAC;AAQxF,MAAM,OAAO,oCAAoC;IACtC,EAAE,GAAG,kCAAkC,CAAC;IAChC,OAAO,CAAwC;IAEhE,YAAY,UAAiD,EAAE;QAC7D,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,OAA0B;QACrC,MAAM,UAAU,GAAG,IAAI,CAAC,OAAO,CAAC,UAAU,IAAI,OAAO,CAAC,UAAU,CAAC;QACjE,OAAO;YACL,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,EAAE,IAAI,kCAAkC;YACzD,WAAW,EAAE,IAAI,CAAC,OAAO,CAAC,WAAW,IAAI;;;;;;;;;;;;qCAYV;YAC/B,SAAS,EAAE,+BAA+B,CAAC,UAAU,CAAC;YACtD,QAAQ,EAAE;gBACR,UAAU;aACX;SACF,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -1,400 +0,0 @@
|
|
|
1
|
-
import type { AgentRuntime } from './agent.js';
|
|
2
|
-
import { type CompletionAnalysis } from './taskCompletionDetector.js';
|
|
3
|
-
import { type AttackChain, type TechniqueResult, type KillChainPhase } from '../tools/tao/index.js';
|
|
4
|
-
import { type OperationalRegion, type InfrastructureStack } from './infrastructureTemplates.js';
|
|
5
|
-
import { type AgencyType } from './governmentProcedures.js';
|
|
6
|
-
export declare const KILL_CHAIN_PHASES: readonly ["reconnaissance", "initial_access", "persistence", "privilege_escalation", "defense_evasion", "credential_access", "discovery", "lateral_movement", "collection", "command_control", "exfiltration", "impact"];
|
|
7
|
-
export type FullKillChainPhase = typeof KILL_CHAIN_PHASES[number];
|
|
8
|
-
export type OrchestratorExitReason = 'complete' | 'verification-needed' | 'no-action' | 'empty-response' | 'blocked' | 'refusal' | 'incomplete' | 'attack-chain-complete' | 'attack-chain-aborted';
|
|
9
|
-
/** Unified orchestration mode - determines execution strategy */
|
|
10
|
-
export type UnifiedMode = 'standard' | 'attack-chain' | 'apt-simulation' | 'infrastructure' | 'red-team' | 'intel-collection' | 'compliance';
|
|
11
|
-
/** APT Goals for goal-oriented execution */
|
|
12
|
-
export type APTGoal = 'reconnaissance' | 'access' | 'persistence' | 'privilege' | 'lateral' | 'collection' | 'exfiltration' | 'impact' | 'stealth' | 'all';
|
|
13
|
-
export interface OrchestratorOptions {
|
|
14
|
-
/** Whether to stream provider responses */
|
|
15
|
-
streaming?: boolean;
|
|
16
|
-
/** Require observable action (tool usage or action language) before stopping */
|
|
17
|
-
enforceActions?: boolean;
|
|
18
|
-
/** Whether to inject a verification check before declaring completion */
|
|
19
|
-
verificationMode?: 'auto' | 'disabled';
|
|
20
|
-
/** Append single-pass execution guidance to the user request */
|
|
21
|
-
singlePassFocus?: boolean;
|
|
22
|
-
/** Maximum orchestration attempts before stopping. Defaults to Infinity for relentless pursuit. */
|
|
23
|
-
maxAttempts?: number;
|
|
24
|
-
/** Unified orchestration mode */
|
|
25
|
-
unifiedMode?: UnifiedMode;
|
|
26
|
-
/** Attack chain execution mode - enables TAO technique chains */
|
|
27
|
-
attackChainMode?: 'auto' | 'disabled' | 'forced';
|
|
28
|
-
/** Targets for attack chain operations */
|
|
29
|
-
attackTargets?: string[];
|
|
30
|
-
/** Depth of attack chain execution */
|
|
31
|
-
attackDepth?: 'quick' | 'standard' | 'deep';
|
|
32
|
-
/** Stealth mode - prioritize evasion over speed */
|
|
33
|
-
stealthMode?: boolean;
|
|
34
|
-
/** Authorization context for security operations */
|
|
35
|
-
authorizationContext?: string;
|
|
36
|
-
/** Primary APT goal */
|
|
37
|
-
goal?: APTGoal;
|
|
38
|
-
/** Multiple goals for complex operations */
|
|
39
|
-
goals?: APTGoal[];
|
|
40
|
-
/** Maintain persistent access after completion */
|
|
41
|
-
maintainAccess?: boolean;
|
|
42
|
-
/** Collect all available intelligence */
|
|
43
|
-
collectIntel?: boolean;
|
|
44
|
-
/** Minimize detection footprint */
|
|
45
|
-
minimizeFootprint?: boolean;
|
|
46
|
-
/** Operational region for infrastructure */
|
|
47
|
-
region?: OperationalRegion;
|
|
48
|
-
/** Generate infrastructure deployment scripts */
|
|
49
|
-
generateInfrastructure?: boolean;
|
|
50
|
-
/** Agency types for compliance frameworks */
|
|
51
|
-
agencyTypes?: AgencyType[];
|
|
52
|
-
/** Callback for attack chain progress */
|
|
53
|
-
onAttackChainProgress?: (chain: AttackChain, techniqueId: string, result: TechniqueResult) => void;
|
|
54
|
-
/** Callback when technique starts */
|
|
55
|
-
onTechniqueStart?: (techniqueId: string, target: string) => void;
|
|
56
|
-
/** Callback when technique completes */
|
|
57
|
-
onTechniqueComplete?: (result: RealExecutionResult) => void;
|
|
58
|
-
/** Callback when APT goal is achieved */
|
|
59
|
-
onGoalAchieved?: (goal: APTGoal, artifacts: Array<{
|
|
60
|
-
type: string;
|
|
61
|
-
data: string;
|
|
62
|
-
}>) => void;
|
|
63
|
-
/** Callback for infrastructure stack */
|
|
64
|
-
onInfrastructure?: (stack: InfrastructureStack) => void;
|
|
65
|
-
/** Callback for each kill-chain phase completion */
|
|
66
|
-
onPhaseComplete?: (phase: FullKillChainPhase, outputs: string[]) => void;
|
|
67
|
-
/** Callback for full chain completion */
|
|
68
|
-
onChainComplete?: (result: FullAttackChainResult) => void;
|
|
69
|
-
/** Execute full kill-chain attack */
|
|
70
|
-
fullKillChain?: boolean;
|
|
71
|
-
/** Specific phases to execute (default: all) */
|
|
72
|
-
killChainPhases?: FullKillChainPhase[];
|
|
73
|
-
/** Stealth level: loud, moderate, quiet, ghost */
|
|
74
|
-
stealthLevel?: 'loud' | 'moderate' | 'quiet' | 'ghost';
|
|
75
|
-
/** Chain-specific objectives */
|
|
76
|
-
chainObjectives?: string[];
|
|
77
|
-
/** Operational constraints */
|
|
78
|
-
operationalConstraints?: string[];
|
|
79
|
-
/** C2 configuration for command-control phase */
|
|
80
|
-
c2Config?: {
|
|
81
|
-
type: string;
|
|
82
|
-
domain?: string;
|
|
83
|
-
port?: number;
|
|
84
|
-
encryption?: string;
|
|
85
|
-
fallback?: string[];
|
|
86
|
-
};
|
|
87
|
-
/** Exfiltration configuration */
|
|
88
|
-
exfilConfig?: {
|
|
89
|
-
method: string;
|
|
90
|
-
destination?: string;
|
|
91
|
-
encryption?: boolean;
|
|
92
|
-
chunkSize?: number;
|
|
93
|
-
};
|
|
94
|
-
/** Time limit for entire chain (seconds) */
|
|
95
|
-
chainTimeLimit?: number;
|
|
96
|
-
/** Whether to continue after phase failures */
|
|
97
|
-
continueOnFailure?: boolean;
|
|
98
|
-
}
|
|
99
|
-
/** Full attack chain execution result */
|
|
100
|
-
export interface FullAttackChainResult {
|
|
101
|
-
chainId: string;
|
|
102
|
-
targets: string[];
|
|
103
|
-
startTime: number;
|
|
104
|
-
endTime: number;
|
|
105
|
-
duration: number;
|
|
106
|
-
phases: Array<{
|
|
107
|
-
phase: FullKillChainPhase;
|
|
108
|
-
status: 'success' | 'partial' | 'failed' | 'skipped';
|
|
109
|
-
techniques: Array<{
|
|
110
|
-
id: string;
|
|
111
|
-
name: string;
|
|
112
|
-
success: boolean;
|
|
113
|
-
duration: number;
|
|
114
|
-
risk: number;
|
|
115
|
-
outputs: string[];
|
|
116
|
-
}>;
|
|
117
|
-
outputs: string[];
|
|
118
|
-
}>;
|
|
119
|
-
artifacts: Array<{
|
|
120
|
-
type: string;
|
|
121
|
-
data: string;
|
|
122
|
-
phase: FullKillChainPhase;
|
|
123
|
-
}>;
|
|
124
|
-
credentials: Array<{
|
|
125
|
-
type: string;
|
|
126
|
-
value: string;
|
|
127
|
-
source: string;
|
|
128
|
-
}>;
|
|
129
|
-
persistence: Array<{
|
|
130
|
-
mechanism: string;
|
|
131
|
-
location: string;
|
|
132
|
-
status: string;
|
|
133
|
-
}>;
|
|
134
|
-
c2Channels: Array<{
|
|
135
|
-
type: string;
|
|
136
|
-
endpoint: string;
|
|
137
|
-
status: string;
|
|
138
|
-
}>;
|
|
139
|
-
exfilData: Array<{
|
|
140
|
-
type: string;
|
|
141
|
-
size: number;
|
|
142
|
-
destination: string;
|
|
143
|
-
}>;
|
|
144
|
-
detectionEvents: Array<{
|
|
145
|
-
time: number;
|
|
146
|
-
type: string;
|
|
147
|
-
severity: string;
|
|
148
|
-
}>;
|
|
149
|
-
overallSuccess: boolean;
|
|
150
|
-
successRate: number;
|
|
151
|
-
stealthScore: number;
|
|
152
|
-
}
|
|
153
|
-
/** Real technique execution result */
|
|
154
|
-
export interface RealExecutionResult {
|
|
155
|
-
techniqueId: string;
|
|
156
|
-
techniqueName: string;
|
|
157
|
-
phase: KillChainPhase;
|
|
158
|
-
success: boolean;
|
|
159
|
-
duration: number;
|
|
160
|
-
artifacts: Array<{
|
|
161
|
-
type: string;
|
|
162
|
-
data: string;
|
|
163
|
-
}>;
|
|
164
|
-
detectionRisk: number;
|
|
165
|
-
nextTechniques: string[];
|
|
166
|
-
}
|
|
167
|
-
/** Real-time execution metrics */
|
|
168
|
-
export interface RealExecutionMetrics {
|
|
169
|
-
totalTechniquesExecuted: number;
|
|
170
|
-
successfulTechniques: number;
|
|
171
|
-
failedTechniques: number;
|
|
172
|
-
totalDuration: number;
|
|
173
|
-
averageDetectionRisk: number;
|
|
174
|
-
phasesCompleted: KillChainPhase[];
|
|
175
|
-
artifactsCollected: number;
|
|
176
|
-
rlRewardAverage: number;
|
|
177
|
-
}
|
|
178
|
-
/** Result from attack chain execution */
|
|
179
|
-
export interface AttackChainResult {
|
|
180
|
-
chain: AttackChain;
|
|
181
|
-
techniques: Array<{
|
|
182
|
-
id: string;
|
|
183
|
-
name: string;
|
|
184
|
-
phase: KillChainPhase;
|
|
185
|
-
success: boolean;
|
|
186
|
-
duration: number;
|
|
187
|
-
artifacts: Array<{
|
|
188
|
-
type: string;
|
|
189
|
-
data: string;
|
|
190
|
-
}>;
|
|
191
|
-
}>;
|
|
192
|
-
totalDuration: number;
|
|
193
|
-
successRate: number;
|
|
194
|
-
phasesCompleted: KillChainPhase[];
|
|
195
|
-
}
|
|
196
|
-
/** Unified orchestrator result - includes all possible outputs */
|
|
197
|
-
export interface OrchestratorResult {
|
|
198
|
-
finalResponse: string;
|
|
199
|
-
toolsUsed: string[];
|
|
200
|
-
planOnly: boolean;
|
|
201
|
-
tookAction: boolean;
|
|
202
|
-
completion: CompletionAnalysis;
|
|
203
|
-
exitReason: OrchestratorExitReason;
|
|
204
|
-
statusSummary: string | null;
|
|
205
|
-
limitations: string[];
|
|
206
|
-
recommendations: string[];
|
|
207
|
-
/** Attack chain results when attack chain mode is enabled */
|
|
208
|
-
attackChainResult?: AttackChainResult;
|
|
209
|
-
/** Real technique execution results */
|
|
210
|
-
realExecutions?: RealExecutionResult[];
|
|
211
|
-
/** Real execution metrics */
|
|
212
|
-
realMetrics?: RealExecutionMetrics;
|
|
213
|
-
/** Active attack chains */
|
|
214
|
-
attackChains?: AttackChain[];
|
|
215
|
-
/** Completed kill-chain phases */
|
|
216
|
-
attackChainPhases?: string[];
|
|
217
|
-
/** Infrastructure stack when infrastructure mode is used */
|
|
218
|
-
infrastructureStack?: InfrastructureStack;
|
|
219
|
-
/** Deployment script */
|
|
220
|
-
deploymentScript?: string;
|
|
221
|
-
/** Teardown script */
|
|
222
|
-
teardownScript?: string;
|
|
223
|
-
/** OPSEC checklist */
|
|
224
|
-
opsecChecklist?: string;
|
|
225
|
-
/** Full attack chain result when fullKillChain mode is used */
|
|
226
|
-
fullAttackChainResult?: FullAttackChainResult;
|
|
227
|
-
/** Goals achieved during execution */
|
|
228
|
-
achievedGoals?: APTGoal[];
|
|
229
|
-
/** All collected artifacts */
|
|
230
|
-
collectedArtifacts?: Array<{
|
|
231
|
-
type: string;
|
|
232
|
-
data: string;
|
|
233
|
-
}>;
|
|
234
|
-
}
|
|
235
|
-
/**
|
|
236
|
-
* Single-pass orchestration: drive the agent to finish as much as possible
|
|
237
|
-
* in one go, with strong bias toward real actions over planning.
|
|
238
|
-
*/
|
|
239
|
-
export declare class AgentOrchestrator {
|
|
240
|
-
private readonly agent;
|
|
241
|
-
constructor(agent: AgentRuntime);
|
|
242
|
-
runToCompletion(request: string, options?: OrchestratorOptions): Promise<OrchestratorResult>;
|
|
243
|
-
private resolveExitReason;
|
|
244
|
-
private buildStatusSummary;
|
|
245
|
-
/**
|
|
246
|
-
* Generate comprehensive insight summary for user transparency.
|
|
247
|
-
* Shows what was done, what might be incomplete, and potential concerns.
|
|
248
|
-
*/
|
|
249
|
-
private generateInsightSummary;
|
|
250
|
-
/**
|
|
251
|
-
* Extract context AND limitations from the run.
|
|
252
|
-
* Be honest about what we know vs don't know.
|
|
253
|
-
*/
|
|
254
|
-
private extractContextAndLimitations;
|
|
255
|
-
private buildSinglePassPrompt;
|
|
256
|
-
private shouldContinue;
|
|
257
|
-
private buildContinuationPrompt;
|
|
258
|
-
private buildRecoveryGuidance;
|
|
259
|
-
private buildContextualGuidance;
|
|
260
|
-
private formatContextualGuidance;
|
|
261
|
-
private buildExecutionPlaybook;
|
|
262
|
-
private isEditTool;
|
|
263
|
-
private isValidationTool;
|
|
264
|
-
private hasValidationEvidence;
|
|
265
|
-
private describeContinuationReason;
|
|
266
|
-
private analyzeResponse;
|
|
267
|
-
private isPlanOnly;
|
|
268
|
-
private hasExplicitCompletion;
|
|
269
|
-
private hasCompletionContradiction;
|
|
270
|
-
private hasActionLanguage;
|
|
271
|
-
private hasContinuingSignal;
|
|
272
|
-
private isBlockedResponse;
|
|
273
|
-
/**
|
|
274
|
-
* Detects AI safety refusals - when the model declines to help with a request.
|
|
275
|
-
* These are terminal states that should not be retried.
|
|
276
|
-
*/
|
|
277
|
-
private isRefusalResponse;
|
|
278
|
-
private wordCount;
|
|
279
|
-
/**
|
|
280
|
-
* Compute a simple fingerprint of a response for repetition detection.
|
|
281
|
-
* Normalizes whitespace and takes first N significant words to detect
|
|
282
|
-
* when the model is producing the same response repeatedly.
|
|
283
|
-
*/
|
|
284
|
-
private computeResponseFingerprint;
|
|
285
|
-
/**
|
|
286
|
-
* Detects when a response is sufficiently detailed to stand on its own,
|
|
287
|
-
* avoiding false "incomplete" flags for thorough answers without explicit
|
|
288
|
-
* completion markers.
|
|
289
|
-
*/
|
|
290
|
-
private hasSubstantiveAnswer;
|
|
291
|
-
/**
|
|
292
|
-
* Early safety check for potentially harmful requests.
|
|
293
|
-
* Returns immediately with a helpful response instead of looping.
|
|
294
|
-
*
|
|
295
|
-
* This catches obvious cases before the model even processes them,
|
|
296
|
-
* preventing wasted compute and infinite "thinking" loops.
|
|
297
|
-
*/
|
|
298
|
-
private checkForHarmfulRequest;
|
|
299
|
-
/**
|
|
300
|
-
* Detect if a request should trigger attack chain execution.
|
|
301
|
-
* Uses natural language parsing to identify security operation intents.
|
|
302
|
-
*/
|
|
303
|
-
private shouldExecuteAttackChain;
|
|
304
|
-
/**
|
|
305
|
-
* Validate authorization context for attack chain execution.
|
|
306
|
-
* Ensures proper authorization before executing security techniques.
|
|
307
|
-
*/
|
|
308
|
-
private validateAttackAuthorization;
|
|
309
|
-
/**
|
|
310
|
-
* Execute an attack chain with TAO techniques.
|
|
311
|
-
* Returns results including all executed techniques and artifacts.
|
|
312
|
-
*/
|
|
313
|
-
executeAttackChain(request: string, options?: {
|
|
314
|
-
targets?: string[];
|
|
315
|
-
depth?: 'quick' | 'standard' | 'deep';
|
|
316
|
-
stealth?: boolean;
|
|
317
|
-
authContext?: string;
|
|
318
|
-
onProgress?: (chain: AttackChain, techniqueId: string, result: TechniqueResult) => void;
|
|
319
|
-
}): Promise<AttackChainResult>;
|
|
320
|
-
/**
|
|
321
|
-
* Run orchestration with optional attack chain integration.
|
|
322
|
-
* When attack chain mode is enabled, security operations are executed
|
|
323
|
-
* directly through TAO techniques rather than relying on LLM tool calls.
|
|
324
|
-
*/
|
|
325
|
-
runWithAttackChain(request: string, options?: OrchestratorOptions): Promise<OrchestratorResult>;
|
|
326
|
-
/**
|
|
327
|
-
* Build a human-readable summary of attack chain execution.
|
|
328
|
-
*/
|
|
329
|
-
private buildAttackChainSummary;
|
|
330
|
-
/** Goal-to-technique mapping for goal-oriented execution */
|
|
331
|
-
private readonly goalTechniques;
|
|
332
|
-
/**
|
|
333
|
-
* Unified orchestration entry point.
|
|
334
|
-
* Routes to appropriate execution strategy based on mode and options.
|
|
335
|
-
*
|
|
336
|
-
* This is the primary method for full-stack unified orchestration that
|
|
337
|
-
* combines LLM-driven orchestration with direct TAO technique execution,
|
|
338
|
-
* infrastructure deployment, and goal-oriented APT simulation.
|
|
339
|
-
*/
|
|
340
|
-
runUnified(request: string, options?: OrchestratorOptions): Promise<OrchestratorResult>;
|
|
341
|
-
/**
|
|
342
|
-
* Auto-detect the appropriate orchestration mode from request content.
|
|
343
|
-
*/
|
|
344
|
-
private detectMode;
|
|
345
|
-
/**
|
|
346
|
-
* Run full APT simulation with all kill-chain phases.
|
|
347
|
-
*/
|
|
348
|
-
private runAPTSimulation;
|
|
349
|
-
/**
|
|
350
|
-
* Run infrastructure deployment mode.
|
|
351
|
-
*/
|
|
352
|
-
private runInfrastructureMode;
|
|
353
|
-
/**
|
|
354
|
-
* Run combined red team mode.
|
|
355
|
-
*/
|
|
356
|
-
private runRedTeamMode;
|
|
357
|
-
/**
|
|
358
|
-
* Run intelligence collection mode.
|
|
359
|
-
*/
|
|
360
|
-
private runIntelCollectionMode;
|
|
361
|
-
/**
|
|
362
|
-
* Run compliance mode with legal frameworks.
|
|
363
|
-
*/
|
|
364
|
-
private runComplianceMode;
|
|
365
|
-
/**
|
|
366
|
-
* Run goal-oriented APT execution.
|
|
367
|
-
*/
|
|
368
|
-
private runGoalOriented;
|
|
369
|
-
private normalizeDepth;
|
|
370
|
-
private computeMetrics;
|
|
371
|
-
private buildCompletionAnalysis;
|
|
372
|
-
private buildAuthorizationError;
|
|
373
|
-
private buildExecutionSummary;
|
|
374
|
-
private buildRecommendations;
|
|
375
|
-
/** TAO tool suite instance for direct tool invocation */
|
|
376
|
-
private taoTools;
|
|
377
|
-
/**
|
|
378
|
-
* Get or create the TAO tools instance.
|
|
379
|
-
*/
|
|
380
|
-
private getTaoTools;
|
|
381
|
-
/**
|
|
382
|
-
* Execute full offensive attack chain using the UnifiedAttackChain tool.
|
|
383
|
-
* This integrates all 12 kill-chain phases with configurable stealth and objectives.
|
|
384
|
-
*/
|
|
385
|
-
executeFullAttackChain(targets: string[], options?: OrchestratorOptions): Promise<OrchestratorResult>;
|
|
386
|
-
/**
|
|
387
|
-
* Build summary for full attack chain execution.
|
|
388
|
-
*/
|
|
389
|
-
private buildFullAttackChainSummary;
|
|
390
|
-
/**
|
|
391
|
-
* Build recommendations for full chain execution.
|
|
392
|
-
*/
|
|
393
|
-
private buildFullChainRecommendations;
|
|
394
|
-
/**
|
|
395
|
-
* Run full offensive attack chain mode.
|
|
396
|
-
* This is the main entry point for full kill-chain operations.
|
|
397
|
-
*/
|
|
398
|
-
runFullOffensiveChain(request: string, options?: OrchestratorOptions): Promise<OrchestratorResult>;
|
|
399
|
-
}
|
|
400
|
-
//# sourceMappingURL=agentOrchestrator.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"agentOrchest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