How jyothirmaeenuthalapati/cyber-kavach works
Cyber Kavach is a multilingual cybercrime triage and legal-aid application. Users submit suspicious text or files through the interface; the backend analyzes the submission and returns a risk assessment. The README also documents FIR drafting and spoken guidance as separate capabilities. The sampled files show the analysis model call, legal-drafting model call, and speech synthesis, but do not establish frontend wiring for legal or speech endpoints. The tree also lacks the routes/ directory imported by main.py, so route-module links are omitted.
Main entry points: main.py FastAPI application · analyze.py Threat analysis · App.jsx Cyber Kavach UI · legal.py FIR drafting
Components 10
User interface
- Cyber Kavach UI
App.jsx
API backend
- FastAPI application
main.py
Threat triage
- Threat analysis
analyze.py - Hugging Face model
- VirusTotal scan
Legal and voice aid
- FIR drafting
legal.py - Hugging Face model
- Speech generation
tts.py - Google TTS
Other components
- User
Connections 9
- User → Cyber Kavach UI: submits input
App.jsx - Cyber Kavach UI → FastAPI application: posts analysis
App.jsx - FastAPI application → Threat analysis: imports route
- Threat analysis → Hugging Face model: requests analysis
analyze.py - Threat analysis → VirusTotal scan: optional URL scan
analyze.py - FastAPI application → FIR drafting: imports route
- FIR drafting → Hugging Face model: requests FIR draft
legal.py - FastAPI application → Speech generation: imports route
- Speech generation → Google TTS: generates audio
tts.py