# rathodbhagita/socverse_ architecture

> Architecture diagram of the GitHub repository rathodbhagita/socverse_, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-28). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/rathodbhagita/socverse_
- Repository: https://github.com/rathodbhagita/socverse_

## Overview

SOCVerse is a browser-based SOC training and cyber-range application. A user selects an operations area, works through generated investigation scenarios or a specialized learning/lab module, and can receive deterministic assessment feedback. The scenario path is evidenced from application state through scenario generation and solution synthesis; dataset import and cyber-range simulation are additional capabilities. Several major UI branches are present in the tree but their runtime wiring was not sampled, so those links are marked unverified rather than inferred as a workflow.

Main entry points: [`src/App.tsx`](https://github.com/rathodbhagita/socverse_/blob/main/src/App.tsx) (SOCVerse app), [`src/services/scenarioGeneratorEngine.ts`](https://github.com/rathodbhagita/socverse_/blob/main/src/services/scenarioGeneratorEngine.ts) (Scenario generation), [`src/components/cyberRange/DetectionEngineViewer.tsx`](https://github.com/rathodbhagita/socverse_/blob/main/src/components/cyberRange/DetectionEngineViewer.tsx) (Detection viewer), [`src/components/DatasetManagerView.tsx`](https://github.com/rathodbhagita/socverse_/blob/main/src/components/DatasetManagerView.tsx) (Dataset manager)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Application shell"]
  node_app["SOCVerse app<br/>[App.tsx]"]
end

subgraph group_soc["SOC investigations"]
  node_scenario_engine["Scenario generation"]
  node_scenario_data["Scenario templates"]
  node_datasets["Initial datasets<br/>[initialDatasets.ts]"]
  node_solution["Solution synthesis"]
  node_workspace["Investigation workspace"]
  node_scoring["Deterministic scoring"]
  node_dataset_ui["Dataset manager"]
  node_ingestion["Evidence ingestion"]
  node_soc_types["SOC domain types<br/>[soc.ts]"]
end

subgraph group_range["Cyber range"]
  node_range_ui["Cyber range modules"]
  node_range_module["Range simulator UI"]
  node_range_engine["Range simulation engine"]
  node_range_storage[("Range event storage")]
  node_detection_view["Detection viewer"]
  node_range_telemetry_types["Range telemetry types"]
end

subgraph group_learning["Training domains"]
  node_learning["Learning resources"]
  node_threat_hunting["Threat hunting academy"]
  node_playground["SOC playground"]
end

subgraph group_intel["Threat research"]
  node_mitre["MITRE coverage"]
  node_yaral["YARA-L workspace"]
  node_yaral_data["YARA-L use cases<br/>[yaralUseCases.ts]"]
  node_osint["OSINT toolkit"]
  node_real_world_intel["Real-world threat intel"]
end

node_learner(("Learner / analyst"))

node_learner -->|"uses"| node_app
node_app -->|"generates scenarios"| node_scenario_engine
node_scenario_engine -->|"uses"| node_datasets
node_scenario_engine -->|"uses"| node_scenario_data
node_scenario_engine -->|"synthesizes solution"| node_solution
node_app -.->|"opens workspace"| node_workspace
node_app -.->|"scores submissions"| node_scoring
node_app -.->|"opens manager"| node_dataset_ui
node_dataset_ui -->|"parses records"| node_ingestion
node_app -.->|"opens range"| node_range_ui
node_range_ui -.->|"selects module"| node_range_module
node_range_module -.->|"runs simulation"| node_range_engine
node_detection_view -->|"uses capacity counters"| node_range_storage
node_detection_view -->|"uses trackers"| node_range_telemetry_types
node_app -.->|"opens resources"| node_learning
node_app -.->|"opens academy"| node_threat_hunting
node_app -.->|"opens playground"| node_playground
node_app -.->|"opens coverage"| node_mitre
node_app -.->|"opens YARA-L"| node_yaral
node_yaral -.->|"uses use cases"| node_yaral_data
node_app -.->|"opens toolkit"| node_osint
node_app -.->|"opens threat intel"| node_real_world_intel

click node_app "https://github.com/rathodbhagita/socverse_/blob/main/src/App.tsx"
click node_scenario_engine "https://github.com/rathodbhagita/socverse_/blob/main/src/services/scenarioGeneratorEngine.ts"
click node_scenario_data "https://github.com/rathodbhagita/socverse_/blob/main/src/data/scenarioTemplates.ts"
click node_datasets "https://github.com/rathodbhagita/socverse_/blob/main/src/data/initialDatasets.ts"
click node_solution "https://github.com/rathodbhagita/socverse_/blob/main/src/services/solutionSynthesisEngine.ts"
click node_workspace "https://github.com/rathodbhagita/socverse_/blob/main/src/components/InvestigationWorkspace.tsx"
click node_scoring "https://github.com/rathodbhagita/socverse_/blob/main/src/services/deterministicScoringEngine.ts"
click node_dataset_ui "https://github.com/rathodbhagita/socverse_/blob/main/src/components/DatasetManagerView.tsx"
click node_ingestion "https://github.com/rathodbhagita/socverse_/blob/main/src/services/evidenceIngestionEngine.ts"
click node_soc_types "https://github.com/rathodbhagita/socverse_/blob/main/src/types/soc.ts"
click node_range_ui "https://github.com/rathodbhagita/socverse_/blob/main/src/components/CyberRangeModulesView.tsx"
click node_range_module "https://github.com/rathodbhagita/socverse_/blob/main/src/components/cyberRange/CyberRangeModule.tsx"
click node_range_engine "https://github.com/rathodbhagita/socverse_/blob/main/src/services/cyberRangeSimulatorEngine.ts"
click node_range_storage "https://github.com/rathodbhagita/socverse_/blob/main/src/services/cyberRangeStorage.ts"
click node_detection_view "https://github.com/rathodbhagita/socverse_/blob/main/src/components/cyberRange/DetectionEngineViewer.tsx"
click node_range_telemetry_types "https://github.com/rathodbhagita/socverse_/blob/main/src/types/cyberRangeTelemetry.ts"
click node_learning "https://github.com/rathodbhagita/socverse_/blob/main/src/components/LearningResourcesView.tsx"
click node_threat_hunting "https://github.com/rathodbhagita/socverse_/blob/main/src/components/threatHunting/ThreatHuntingAcademyModule.tsx"
click node_playground "https://github.com/rathodbhagita/socverse_/blob/main/src/components/playground/SocPlaygroundModule.tsx"
click node_mitre "https://github.com/rathodbhagita/socverse_/blob/main/src/components/MitreMatrixCoverageView.tsx"
click node_yaral "https://github.com/rathodbhagita/socverse_/blob/main/src/components/YaraLWorkspaceView.tsx"
click node_yaral_data "https://github.com/rathodbhagita/socverse_/blob/main/src/data/yaralUseCases.ts"
click node_osint "https://github.com/rathodbhagita/socverse_/blob/main/src/components/OsintToolkitView.tsx"
click node_real_world_intel "https://github.com/rathodbhagita/socverse_/blob/main/src/components/ThreatIntelRealWorldView.tsx"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_app toneBlue
class node_scenario_engine,node_scenario_data,node_datasets,node_solution,node_workspace,node_scoring,node_dataset_ui,node_ingestion,node_soc_types toneAmber
class node_range_ui,node_range_module,node_range_engine,node_range_storage,node_detection_view,node_range_telemetry_types toneMint
class node_learning,node_threat_hunting,node_playground toneRose
class node_mitre,node_yaral,node_yaral_data,node_osint,node_real_world_intel,node_learner toneIndigo
```

## Components

### Application shell

- [SOCVerse app](https://github.com/rathodbhagita/socverse_/blob/main/src/App.tsx): `src/App.tsx`

### SOC investigations

- [Scenario generation](https://github.com/rathodbhagita/socverse_/blob/main/src/services/scenarioGeneratorEngine.ts): `src/services/scenarioGeneratorEngine.ts`
- [Scenario templates](https://github.com/rathodbhagita/socverse_/blob/main/src/data/scenarioTemplates.ts): `src/data/scenarioTemplates.ts`
- [Initial datasets](https://github.com/rathodbhagita/socverse_/blob/main/src/data/initialDatasets.ts): `src/data/initialDatasets.ts`
- [Solution synthesis](https://github.com/rathodbhagita/socverse_/blob/main/src/services/solutionSynthesisEngine.ts): `src/services/solutionSynthesisEngine.ts`
- [Investigation workspace](https://github.com/rathodbhagita/socverse_/blob/main/src/components/InvestigationWorkspace.tsx): `src/components/InvestigationWorkspace.tsx`
- [Deterministic scoring](https://github.com/rathodbhagita/socverse_/blob/main/src/services/deterministicScoringEngine.ts): `src/services/deterministicScoringEngine.ts`
- [Dataset manager](https://github.com/rathodbhagita/socverse_/blob/main/src/components/DatasetManagerView.tsx): `src/components/DatasetManagerView.tsx`
- [Evidence ingestion](https://github.com/rathodbhagita/socverse_/blob/main/src/services/evidenceIngestionEngine.ts): `src/services/evidenceIngestionEngine.ts`
- [SOC domain types](https://github.com/rathodbhagita/socverse_/blob/main/src/types/soc.ts): `src/types/soc.ts`

### Cyber range

- [Cyber range modules](https://github.com/rathodbhagita/socverse_/blob/main/src/components/CyberRangeModulesView.tsx): `src/components/CyberRangeModulesView.tsx`
- [Range simulator UI](https://github.com/rathodbhagita/socverse_/blob/main/src/components/cyberRange/CyberRangeModule.tsx): `src/components/cyberRange/CyberRangeModule.tsx`
- [Range simulation engine](https://github.com/rathodbhagita/socverse_/blob/main/src/services/cyberRangeSimulatorEngine.ts): `src/services/cyberRangeSimulatorEngine.ts`
- [Range event storage](https://github.com/rathodbhagita/socverse_/blob/main/src/services/cyberRangeStorage.ts): `src/services/cyberRangeStorage.ts`
- [Detection viewer](https://github.com/rathodbhagita/socverse_/blob/main/src/components/cyberRange/DetectionEngineViewer.tsx): `src/components/cyberRange/DetectionEngineViewer.tsx`
- [Range telemetry types](https://github.com/rathodbhagita/socverse_/blob/main/src/types/cyberRangeTelemetry.ts): `src/types/cyberRangeTelemetry.ts`

### Training domains

- [Learning resources](https://github.com/rathodbhagita/socverse_/blob/main/src/components/LearningResourcesView.tsx): `src/components/LearningResourcesView.tsx`
- [Threat hunting academy](https://github.com/rathodbhagita/socverse_/blob/main/src/components/threatHunting/ThreatHuntingAcademyModule.tsx): `src/components/threatHunting/ThreatHuntingAcademyModule.tsx`
- [SOC playground](https://github.com/rathodbhagita/socverse_/blob/main/src/components/playground/SocPlaygroundModule.tsx): `src/components/playground/SocPlaygroundModule.tsx`

### Threat research

- [MITRE coverage](https://github.com/rathodbhagita/socverse_/blob/main/src/components/MitreMatrixCoverageView.tsx): `src/components/MitreMatrixCoverageView.tsx`
- [YARA-L workspace](https://github.com/rathodbhagita/socverse_/blob/main/src/components/YaraLWorkspaceView.tsx): `src/components/YaraLWorkspaceView.tsx`
- [YARA-L use cases](https://github.com/rathodbhagita/socverse_/blob/main/src/data/yaralUseCases.ts): `src/data/yaralUseCases.ts`
- [OSINT toolkit](https://github.com/rathodbhagita/socverse_/blob/main/src/components/OsintToolkitView.tsx): `src/components/OsintToolkitView.tsx`
- [Real-world threat intel](https://github.com/rathodbhagita/socverse_/blob/main/src/components/ThreatIntelRealWorldView.tsx): `src/components/ThreatIntelRealWorldView.tsx`

### Other components

- **Learner / analyst**

## Connections

- Learner / analyst → SOCVerse app: uses
- SOCVerse app → Scenario generation: generates scenarios (evidence: `src/App.tsx`)
- Scenario generation → Initial datasets: uses (evidence: `src/services/scenarioGeneratorEngine.ts`)
- Scenario generation → Scenario templates: uses (evidence: `src/services/scenarioGeneratorEngine.ts`)
- Scenario generation → Solution synthesis: synthesizes solution (evidence: `src/services/scenarioGeneratorEngine.ts`)
- SOCVerse app → Investigation workspace: opens workspace (evidence: `src/App.tsx`)
- SOCVerse app → Deterministic scoring: scores submissions (evidence: `src/App.tsx`)
- SOCVerse app → Dataset manager: opens manager (evidence: `src/App.tsx`)
- Dataset manager → Evidence ingestion: parses records (evidence: `src/components/DatasetManagerView.tsx`)
- SOCVerse app → Cyber range modules: opens range (evidence: `src/App.tsx`)
- Cyber range modules → Range simulator UI: selects module
- Range simulator UI → Range simulation engine: runs simulation
- Detection viewer → Range event storage: uses capacity counters (evidence: `src/components/cyberRange/DetectionEngineViewer.tsx`)
- Detection viewer → Range telemetry types: uses trackers (evidence: `src/components/cyberRange/DetectionEngineViewer.tsx`)
- SOCVerse app → Learning resources: opens resources (evidence: `src/App.tsx`)
- SOCVerse app → Threat hunting academy: opens academy (evidence: `src/App.tsx`)
- SOCVerse app → SOC playground: opens playground (evidence: `src/App.tsx`)
- SOCVerse app → MITRE coverage: opens coverage (evidence: `src/App.tsx`)
- SOCVerse app → YARA-L workspace: opens YARA-L (evidence: `src/App.tsx`)
- YARA-L workspace → YARA-L use cases: uses use cases
- SOCVerse app → OSINT toolkit: opens toolkit (evidence: `src/App.tsx`)
- SOCVerse app → Real-world threat intel: opens threat intel (evidence: `src/App.tsx`)
