How lakshman-26/omnisec-analyzer works
CyberSentinel AI is an educational security-testing dashboard, not a general-purpose scanner: its documented OWASP tests are restricted to registered local labs. Users enter through the dashboard, choose a module, submit a test through the API client, and review results, history, or reports. The graph preserves the documented geolocation, SQL, OWASP, rate-limit, URL-analysis, settings, and reporting capabilities. Some backend routes and services were not sampled; uncertain implementation links are omitted rather than inferred.
Main entry points: app.ts Express API · App.tsx App Navigation · api.ts API Client · db.ts SQLite Store
Components 30
Dashboard UI
- App Navigation
client/src/App.tsx - Dashboard
client/src/components/pages/Overview.tsx - Geolocation
client/src/components/pages/Geolocation.tsx - SQL Tester
client/src/components/pages/SqlInjection.tsx - OWASP Assessment
client/src/components/pages/OwaspAssessment.tsx - Rate Limit Tester
client/src/components/pages/RateLimiter.tsx - Scan History
client/src/components/pages/ScanHistory.tsx - Report Viewer
client/src/components/pages/ReportViewer.tsx - Settings
client/src/components/pages/Settings.tsx
Security Analysis
- URL Safety Analysis
client/src/services/urlAnalyzer.ts - IP Lookup
server/src/services/ipService.ts - SQL Scan Engine
server/src/services/sqlScanner.ts - Realtime Scanner
server/src/services/realtimeScanner.ts - Lab Target Registry
server/src/services/targetRegistry.ts - Vulnerable and Secure Labs
server/src/routes/lab.ts - Rate Limit Tester
server/src/services/rateLimitTester.ts - Report Generator
server/src/services/reportGenerator.ts
API and Services
- API Client
client/src/services/api.ts - Express API
server/src/app.ts - Geolocation Route
server/src/routes/geolocation.ts - SQL Scan Route
server/src/routes/sqlInjection.ts - OWASP Scan Route
server/src/routes/owasp.ts - Realtime Scan Route
server/src/routes/realtimeScans.ts - Rate Limit Route
server/src/routes/rateLimit.ts - URL Analyzer Route
server/src/routes/urlAnalyzer.ts - History Routes
server/src/routes/scans.ts - Report Routes
server/src/routes/reports.ts - Settings Route
server/src/routes/settings.ts
Persistence
- SQLite Store
server/src/database/db.ts
Other components
- Student
Connections 44
- Student → App Navigation: uses
README.md - App Navigation → Dashboard: renders
client/src/App.tsx - App Navigation → Geolocation: renders
client/src/App.tsx - App Navigation → SQL Tester: renders
client/src/App.tsx - App Navigation → OWASP Assessment: renders
client/src/App.tsx - App Navigation → Rate Limit Tester: renders
client/src/App.tsx - App Navigation → Scan History: renders
client/src/App.tsx - App Navigation → Report Viewer: renders
client/src/App.tsx - App Navigation → Settings: renders
client/src/App.tsx - OWASP Assessment → URL Safety Analysis: analyzes locally
client/src/components/pages/OwaspAssessment.tsx - Dashboard → API Client: requests data
client/src/components/pages/Overview.tsx - Geolocation → API Client: requests lookup
client/src/components/pages/Geolocation.tsx - SQL Tester → API Client: submits scans
client/src/services/api.ts - OWASP Assessment → API Client: submits scans
client/src/components/pages/OwaspAssessment.tsx - Rate Limit Tester → API Client: submits test
client/src/services/api.ts - Scan History → API Client: requests history
client/src/services/api.ts - Report Viewer → API Client: gets report URL
client/src/services/api.ts - Settings → API Client: requests settings
client/src/services/api.ts - API Client → Express API: HTTP requests
README.md - Express API → Geolocation Route: routes requests
server/src/app.ts - Express API → SQL Scan Route: routes requests
server/src/app.ts - Express API → OWASP Scan Route: routes requests
server/src/app.ts - Express API → Realtime Scan Route: routes requests
server/src/app.ts - Express API → Rate Limit Route: routes requests
server/src/app.ts - Express API → URL Analyzer Route: routes requests
server/src/app.ts - Express API → History Routes: routes requests
server/src/app.ts - Express API → Report Routes: routes requests
server/src/app.ts - Express API → Settings Route: routes requests
server/src/app.ts - Geolocation Route → IP Lookup: calls lookup
server/src/routes/geolocation.ts - SQL Scan Route → SQL Scan Engine: calls scanner
server/src/routes/sqlInjection.ts - Rate Limit Route → Rate Limit Tester: calls tester
server/src/routes/rateLimit.ts - Realtime Scan Route → Realtime Scanner: starts scans
server/src/routes/realtimeScans.ts - Realtime Scan Route → Lab Target Registry: checks targets
server/src/routes/realtimeScans.ts - Realtime Scanner → Lab Target Registry: uses registry
server/src/services/realtimeScanner.ts - Realtime Scanner → Vulnerable and Secure Labs: tests lab
- Geolocation Route → SQLite Store: persists results
- SQL Scan Route → SQLite Store: persists scans
- Realtime Scan Route → SQLite Store: stores scan data
server/src/routes/realtimeScans.ts - Realtime Scanner → SQLite Store: records scan data
server/src/services/realtimeScanner.ts - Lab Target Registry → SQLite Store: reads registry
server/src/services/targetRegistry.ts - History Routes → SQLite Store: reads history
server/src/routes/scans.ts - Settings Route → SQLite Store: reads settings
server/src/routes/settings.ts - Report Routes → Report Generator: builds reports
- Report Routes → SQLite Store: reads scan data