How threat-finder/cyberguardai works
Cyber Guard is a web-based security assessment platform. An operator signs in, configures a target and scan profile, and starts an assessment; the application sends requests to its Express API, which performs the scan and can use Gemini for remediation analysis. Results support dashboard and finding views, historical scans, threat visualization, and report export. The graph reflects the shown API calls and imports; several capabilities are represented by their component paths, but their runtime wiring was not excerpted.
Main entry points: App.tsx App controller · server.ts Express API · NewScanScreen.tsx Scan configuration · DashboardScreen.tsx Dashboard
Components 20
Operator interface
- App controller
src/App.tsx - Sign-in
src/components/LoginScreen.tsx - Scan configuration
src/components/screens/NewScanScreen.tsx - Dashboard
src/components/screens/DashboardScreen.tsx - Scan history
src/components/screens/HistoryScreen.tsx - Realtime charts
src/components/RealtimeCharts.tsx - API health
src/components/ApiHealthIndicator.tsx
Assessment and analysis
- Express API
server.ts - Website assessment
server.ts
Findings and response
- Findings and CVE audit
src/components/screens/ResultsScreen.tsx - CVE mapping
src/utils/cveMapping.ts - Threat scoring
src/utils/threatHeatmap.ts - Threat visualization
src/components/ThreatRadarMap.tsx - AI remediation
src/components/AiRemediationPanel.tsx - Scan annotations
src/components/ScanAnnotationsModal.tsx - Alert thresholds
src/components/AlertThresholdModal.tsx
Reporting
- Report export
src/components/ReportingModal.tsx - HTML report template
src/utils/reportTemplate.ts
Other components
- Operator
- Gemini AI
Connections 14
- Operator → Sign-in: signs in
- Operator → Scan configuration: configures scan
src/components/screens/NewScanScreen.tsx - Scan configuration → App controller: starts scan
src/App.tsx - App controller → Express API: requests metrics
src/App.tsx - App controller → Express API: submits scan
src/App.tsx - Express API → Website assessment: assesses target
server.ts - App controller → Dashboard: renders
src/App.tsx - App controller → Findings and CVE audit: renders
src/App.tsx - App controller → Scan history: renders
src/App.tsx - Findings and CVE audit → CVE mapping: maps findings
src/components/screens/ResultsScreen.tsx - Dashboard → CVE mapping: maps findings
src/components/screens/DashboardScreen.tsx - Report export → HTML report template: generates HTML
src/components/ReportingModal.tsx - Express API → HTML report template: generates HTML
server.ts - Express API → Gemini AI: requests analysis
server.ts