# shuiii129/global-ai-cyberattack-radar architecture

> Architecture diagram of the GitHub repository shuiii129/global-ai-cyberattack-radar, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-01). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/shuiii129/global-ai-cyberattack-radar
- Repository: https://github.com/shuiii129/global-ai-cyberattack-radar

## Overview

This is a SOC threat-intelligence dashboard for monitoring historical and live AI-related cyber incidents. The main user workflow is to open the hosted dashboard, review and filter threat telemetry, and optionally export an executive PDF briefing; a live-feed request can trigger a background harvest. Historical incident curation, regional and ecosystem coverage, visualization, and reporting are distinct product areas. The excerpts show the dashboard’s feed merge and server routing, while several documented capabilities are represented without asserting unsampled implementation details.

Main entry points: [`generate_dashboard.py`](https://github.com/shuiii129/global-ai-cyberattack-radar/blob/main/generate_dashboard.py) (Dashboard Compiler), [`server.py`](https://github.com/shuiii129/global-ai-cyberattack-radar/blob/main/server.py) (Telemetry Server), [`harvest_all_it_ai.py`](https://github.com/shuiii129/global-ai-cyberattack-radar/blob/main/harvest_all_it_ai.py) (Live Feed Harvester), [`build_10year_dataset.py`](https://github.com/shuiii129/global-ai-cyberattack-radar/blob/main/build_10year_dataset.py) (Historical Incident Dataset)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_ingest["Threat Ingestion"]
  node_harvester["Live Feed Harvester"]
  node_server["Telemetry Server<br/>[server.py]"]
end

subgraph group_data["Incident Intelligence"]
  node_historical[("Historical Incident Dataset")]
  node_verified[("Verified Incident Curation")]
  node_malaysia["Malaysia Telemetry"]
  node_ecosystem["AI Ecosystem Cases"]
end

subgraph group_dashboard["SOC Dashboard"]
  node_dashboard["Dashboard Compiler"]
  node_visuals["Threat Visualizations"]
  node_filters["Entity Filters"]
  node_events["Dashboard Interactions"]
  node_horizon["Horizon and Filters"]
  node_live_ui["Live Telemetry UI"]
end

subgraph group_report["Executive Reporting"]
  node_pdf["PDF Briefing Generator<br/>[pdf_generator.py]"]
end

node_analyst(("SOC Analyst"))
node_news_sources(("Public CTI Feeds"))
node_executive(("Executive User"))

node_news_sources -->|"publishes feeds"| node_harvester
node_analyst -->|"requests dashboard"| node_server
node_server -->|"triggers sweep"| node_harvester
node_harvester -->|"provides dispatches"| node_server
node_server -->|"serves dashboard"| node_dashboard
node_dashboard -->|"requests live feed"| node_server
node_historical -.->|"supplies history"| node_dashboard
node_verified -.->|"supplies incidents"| node_dashboard
node_malaysia -.->|"adds regional data"| node_dashboard
node_ecosystem -.->|"adds tracked cases"| node_dashboard
node_dashboard -.->|"renders charts"| node_visuals
node_dashboard -.->|"offers filtering"| node_filters
node_dashboard -.->|"handles interactions"| node_events
node_dashboard -.->|"supports time horizons"| node_horizon
node_dashboard -.->|"shows live telemetry"| node_live_ui
node_analyst -->|"reviews threats"| node_dashboard
node_executive -->|"requests PDF"| node_server
node_server -->|"generates report"| node_pdf

click node_harvester "https://github.com/shuiii129/global-ai-cyberattack-radar/blob/main/harvest_all_it_ai.py"
click node_server "https://github.com/shuiii129/global-ai-cyberattack-radar/blob/main/server.py"
click node_historical "https://github.com/shuiii129/global-ai-cyberattack-radar/blob/main/build_10year_dataset.py"
click node_verified "https://github.com/shuiii129/global-ai-cyberattack-radar/blob/main/build_real_authorized_dataset.py"
click node_malaysia "https://github.com/shuiii129/global-ai-cyberattack-radar/blob/main/add_malaysia_data.py"
click node_ecosystem "https://github.com/shuiii129/global-ai-cyberattack-radar/blob/main/add_famous_company_cases.py"
click node_dashboard "https://github.com/shuiii129/global-ai-cyberattack-radar/blob/main/generate_dashboard.py"
click node_visuals "https://github.com/shuiii129/global-ai-cyberattack-radar/blob/main/add_advanced_visualizations.py"
click node_filters "https://github.com/shuiii129/global-ai-cyberattack-radar/blob/main/add_entity_filter_dropdown.py"
click node_events "https://github.com/shuiii129/global-ai-cyberattack-radar/blob/main/add_event_listeners.py"
click node_horizon "https://github.com/shuiii129/global-ai-cyberattack-radar/blob/main/apply_10year_and_filters.py"
click node_live_ui "https://github.com/shuiii129/global-ai-cyberattack-radar/blob/main/apply_live_and_reader_modal.py"
click node_pdf "https://github.com/shuiii129/global-ai-cyberattack-radar/blob/main/pdf_generator.py"

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_harvester,node_server,node_executive toneBlue
class node_historical,node_verified,node_malaysia,node_ecosystem toneAmber
class node_dashboard,node_visuals,node_filters,node_events,node_horizon,node_live_ui toneMint
class node_pdf toneRose
class node_analyst,node_news_sources toneIndigo
```

## Components

### Threat Ingestion

- [Live Feed Harvester](https://github.com/shuiii129/global-ai-cyberattack-radar/blob/main/harvest_all_it_ai.py): `harvest_all_it_ai.py`
- [Telemetry Server](https://github.com/shuiii129/global-ai-cyberattack-radar/blob/main/server.py): `server.py`

### Incident Intelligence

- [Historical Incident Dataset](https://github.com/shuiii129/global-ai-cyberattack-radar/blob/main/build_10year_dataset.py): `build_10year_dataset.py`
- [Verified Incident Curation](https://github.com/shuiii129/global-ai-cyberattack-radar/blob/main/build_real_authorized_dataset.py): `build_real_authorized_dataset.py`
- [Malaysia Telemetry](https://github.com/shuiii129/global-ai-cyberattack-radar/blob/main/add_malaysia_data.py): `add_malaysia_data.py`
- [AI Ecosystem Cases](https://github.com/shuiii129/global-ai-cyberattack-radar/blob/main/add_famous_company_cases.py): `add_famous_company_cases.py`

### SOC Dashboard

- [Dashboard Compiler](https://github.com/shuiii129/global-ai-cyberattack-radar/blob/main/generate_dashboard.py): `generate_dashboard.py`
- [Threat Visualizations](https://github.com/shuiii129/global-ai-cyberattack-radar/blob/main/add_advanced_visualizations.py): `add_advanced_visualizations.py`
- [Entity Filters](https://github.com/shuiii129/global-ai-cyberattack-radar/blob/main/add_entity_filter_dropdown.py): `add_entity_filter_dropdown.py`
- [Dashboard Interactions](https://github.com/shuiii129/global-ai-cyberattack-radar/blob/main/add_event_listeners.py): `add_event_listeners.py`
- [Horizon and Filters](https://github.com/shuiii129/global-ai-cyberattack-radar/blob/main/apply_10year_and_filters.py): `apply_10year_and_filters.py`
- [Live Telemetry UI](https://github.com/shuiii129/global-ai-cyberattack-radar/blob/main/apply_live_and_reader_modal.py): `apply_live_and_reader_modal.py`

### Executive Reporting

- [PDF Briefing Generator](https://github.com/shuiii129/global-ai-cyberattack-radar/blob/main/pdf_generator.py): `pdf_generator.py`

### Other components

- **SOC Analyst**
- **Public CTI Feeds**
- **Executive User**

## Connections

- Public CTI Feeds → Live Feed Harvester: publishes feeds (evidence: `README.md`)
- SOC Analyst → Telemetry Server: requests dashboard (evidence: `README.md`)
- Telemetry Server → Live Feed Harvester: triggers sweep (evidence: `server.py`)
- Live Feed Harvester → Telemetry Server: provides dispatches (evidence: `README.md`)
- Telemetry Server → Dashboard Compiler: serves dashboard (evidence: `README.md`)
- Dashboard Compiler → Telemetry Server: requests live feed (evidence: `README.md`)
- Historical Incident Dataset → Dashboard Compiler: supplies history
- Verified Incident Curation → Dashboard Compiler: supplies incidents
- Malaysia Telemetry → Dashboard Compiler: adds regional data
- AI Ecosystem Cases → Dashboard Compiler: adds tracked cases
- Dashboard Compiler → Threat Visualizations: renders charts
- Dashboard Compiler → Entity Filters: offers filtering
- Dashboard Compiler → Dashboard Interactions: handles interactions
- Dashboard Compiler → Horizon and Filters: supports time horizons
- Dashboard Compiler → Live Telemetry UI: shows live telemetry
- SOC Analyst → Dashboard Compiler: reviews threats (evidence: `README.md`)
- Executive User → Telemetry Server: requests PDF (evidence: `README.md`)
- Telemetry Server → PDF Briefing Generator: generates report (evidence: `README.md`)
