How p-saiprasanth/cyber_squad_sih works
Cyber Squad is a cyber-investigation case platform: investigators use a web interface to work cases, evidence, entities, and relationship graphs, with analysis, dashboards, and AI-assisted link prediction as supporting capabilities. The FastAPI app registers the domain routers, and the frontend routes to landing, login, dashboard, and investigation pages. AIService coordinates feature extraction, temporal analysis, prediction, and explanations. The README is empty and most route and page implementations were not sampled, so links between UI, API, storage, and security components are not asserted.
Main entry points: main.py FastAPI App · App.tsx UI Router · ai_service.py AI Service · Landing.tsx Landing Page
Components 29
Investigation UI
- UI Router
frontend/src/App.tsx - Landing Page
frontend/src/pages/Landing.tsx - Login Page
frontend/src/pages/Login.tsx - Dashboard
frontend/src/pages/Dashboard.tsx - Investigation Page
frontend/src/pages/Investigation.tsx
Backend API
- FastAPI App
backend/backend/main.py - Cases API
backend/backend/routes/cases.py - Evidence API
backend/backend/routes/evidence.py - Analysis API
backend/backend/routes/analysis.py - Graph API
backend/backend/routes/graph.py - Entities API
backend/backend/routes/entities.py - Dashboard API
backend/backend/routes/dashboard.py - Authentication API
backend/backend/routes/auth.py - Security API
backend/backend/routes/security.py - AI API
backend/backend/routes/ai.py - Case Store
backend/backend/services/database.py - Graph Service
backend/backend/services/neo4j_service.py
AI Analysis
- AI Service
AI_layer/ai_service.py - Graph Features
AI_layer/graph_features.py - Temporal Analysis
AI_layer/temporal_analysis.py - Link Prediction
AI_layer/link_prediction.py - AI Explanation
AI_layer/explanation.py
Security
- Security Module API
security_module/api.py - Auth and RBAC
security_module/security/auth.py - Input Validation
security_module/security/input_validation.py - AI Guardrails
security_module/security/ai_guardrails.py - Evidence Integrity
security_module/security/blockchain.py - Audit Logging
security_module/security/audit.py
Other components
- Investigator
Connections 18
- Investigator → UI Router: uses
- UI Router → Landing Page: routes to
- UI Router → Login Page: routes to
- UI Router → Dashboard: routes to
- UI Router → Investigation Page: routes to
- FastAPI App → Cases API: registers
- FastAPI App → Evidence API: registers
- FastAPI App → Analysis API: registers
- FastAPI App → Graph API: registers
- FastAPI App → Dashboard API: registers
- FastAPI App → Authentication API: registers
- FastAPI App → Entities API: registers
- FastAPI App → Security API: registers
- FastAPI App → AI API: registers
- AI Service → Graph Features: extracts features
- AI Service → Temporal Analysis: analyzes timing
- AI Service → Link Prediction: predicts links
- AI Service → AI Explanation: generates reasons