How devansh7006/kavach works
KAVACH is a cyber-intelligence and multimedia-forensics suite: users submit email or media evidence through a React HUD, receive analysis from FastAPI services, and inspect results in forensic tabs, the AURA globe, or an incident dossier. The graph preserves email parsing and learning, image/video/audio analysis, and geospatial and satellite telemetry. Backend routing is supported by the main-module excerpt and SOURCE INDEX; UI-to-backend connections reflect the README’s documented REST topology, not inspected request code.
Main entry points: main.py FastAPI Routes · App.jsx Command HUD · parser.py Email Parser · EmailDefenseTab.jsx Email Console
Components 19
Investigation HUD
- Command HUD
frontend/src/App.jsx - Email Console
frontend/src/components/EmailDefenseTab.jsx - Image Inspector
frontend/src/components/ImageForensicsTab.jsx - Video Inspector
frontend/src/components/VideoForensicsTab.jsx - Audio Inspector
frontend/src/components/AudioForensicsTab.jsx - Dossier Export
frontend/src/components/DossierExportTab.jsx - AURA Globe
frontend/src/components/AstralisGlobe.jsx
Email Defense
- Email Parser
backend/email_defense/parser.py - GeoIP Resolver
backend/email_defense/geoip.py - GreyNoise Intel
backend/email_defense/greynoise_intel.py - Phishing Classifier
backend/email_defense/classifier.py - Learning Dataset
backend/email_defense/dataset.py
Media Forensics
- Image Analysis
backend/media_defense/image_forensics.py - Video Analysis
backend/media_defense/video_forensics.py - Audio Analysis
backend/media_defense/audio_forensics.py
Spatial Intelligence
- Satellite Tracker
backend/gods_eye/satellite_tracker.py - Threat Telemetry
backend/gods_eye/threat_stream.py
Other components
- Investigator
- FastAPI Routes
backend/main.py
Connections 25
- Investigator → Command HUD: uses
README.md - Command HUD → Email Console: opens
frontend/src/App.jsx - Command HUD → Image Inspector: opens
frontend/src/App.jsx - Command HUD → Video Inspector: opens
frontend/src/App.jsx - Command HUD → Audio Inspector: opens
frontend/src/App.jsx - Command HUD → Dossier Export: opens
frontend/src/App.jsx - Command HUD → AURA Globe: shows
frontend/src/App.jsx - Email Console → FastAPI Routes: submits email
README.md - Image Inspector → FastAPI Routes: submits image
README.md - Video Inspector → FastAPI Routes: submits video
README.md - Audio Inspector → FastAPI Routes: submits audio
README.md - Dossier Export → FastAPI Routes: requests report
README.md - FastAPI Routes → Email Parser: parses email
backend/main.py - FastAPI Routes → Phishing Classifier: classifies email
backend/main.py - FastAPI Routes → Learning Dataset: reads and retrains
backend/main.py - Email Parser → GeoIP Resolver: resolves hops
backend/email_defense/parser.py - Email Parser → GreyNoise Intel: checks threat intel
backend/email_defense/parser.py - Phishing Classifier → Learning Dataset: trains from
backend/email_defense/classifier.py - FastAPI Routes → Image Analysis: analyzes image
backend/main.py - FastAPI Routes → Video Analysis: analyzes video
backend/main.py - FastAPI Routes → Audio Analysis: analyzes audio
backend/main.py - Video Analysis → Image Analysis: uses ELA
backend/media_defense/video_forensics.py - FastAPI Routes → Satellite Tracker: serves telemetry
backend/main.py - FastAPI Routes → Threat Telemetry: serves telemetry
backend/main.py - AURA Globe → FastAPI Routes: gets geospatial data
README.md