How heaven-swastik/cyberflow_sih works
CyberFlow is a cyber-financial crime intelligence and intervention platform. Investigators and complainants use the React command center to submit or review a case; the backend routes complaint intake into the AI pipeline, which validates transactions, builds a relationship graph, engineers features, predicts fraud state/action/risk and cashout zones, ranks candidate ATMs, and produces explainable alerts with a tamper-evident hash trail. The UI presents cases through graph, map, evidence, and action views. Pipeline stages follow the README and sampled orchestration; unsampled integration details are not inferred.
Main entry points: pipeline.py Case Pipeline · index.js API Client · server.js Express API · ComplaintPortal.jsx Complaint Portal
Components 21
Command Center
- Complaint Portal
frontend/src/components/ComplaintPortal.jsx - Command Center
frontend/src/App.jsx - Case Views
frontend/src/components/CorrelateStep.jsx - Threat Heatmap
frontend/src/components/MacroHeatmap.jsx - Intervention View
frontend/src/components/ActionStep.jsx - Authentication
frontend/src/contexts/AuthContext.jsx - API Client
frontend/src/api/index.js
API Service
- Express API
backend/server.js
Case Analysis
- Complaint Intake
ai-engine/complaint_intake.py - Case Pipeline
ai-engine/pipeline.py - Data Validation
ai-engine/data_validator.py - Transaction Graph
ai-engine/graph_builder.py - Feature Engineering
ai-engine/feature_engineer.py
Predictions & Response
- ML Classifiers
ai-engine/classifier.py - Path Prediction
ai-engine/path_predictor.py - ATM Ranking
ai-engine/atm_engine.py - Alert Hash Trail
ai-engine/blockchain.py
Other components
- Complainant
- Investigator
- Bank Operations
- LEA Dispatch
Connections 21
- Complainant → Complaint Portal: files complaint
- Complaint Portal → API Client: submits intake
- Investigator → Command Center: reviews cases
- Command Center → API Client: requests case data
- Authentication → Express API: authenticates
- API Client → Express API: calls API
- Express API → Complaint Intake: runs intake
- Complaint Intake → Case Pipeline: processes case
- Case Pipeline → Data Validation: validates data
- Case Pipeline → Transaction Graph: builds topology
- Case Pipeline → Feature Engineering: extracts features
- Case Pipeline → ML Classifiers: predicts case
- Case Pipeline → Path Prediction: predicts trajectory
- Case Pipeline → ATM Ranking: ranks ATMs
- Case Pipeline → Alert Hash Trail: hashes alerts
- API Client → Case Views: supplies case data
- API Client → Threat Heatmap: supplies map data
- API Client → Intervention View: supplies action data
- Intervention View → API Client: requests alert
- Express API → Bank Operations: freeze requests
- Express API → LEA Dispatch: dispatches intelligence