How puneethrajtr/cyber-security-project works
This Django/React application provides authenticated cybersecurity analysis: users sign in, choose a threat-analysis capability, and receive results in the web UI. Major branches cover URL classification, packet monitoring, IP intelligence, dark-web search, chatbot assistance, and dashboard analytics. The README documents endpoint capabilities and external integrations; sampled code confirms routing, API-client behavior, and selected backend operations. Several backend views and feature pages were not inspected, so their detailed internal calls are not inferred.
Main entry points: axios.js HTTP client · monitoring/views.py Monitoring API · detection/views.py URL detection API · App.jsx Page router
Components 28
Web application
- Page router
frontend/src/App.jsx - Sign in / register
frontend/src/pages/SlidingAuth.jsx - HTTP client
frontend/src/api/axios.js - Dashboard
frontend/src/pages/Dashboard.jsx - Dashboard charts
frontend/src/pages/components/DashboardCharts.jsx
Identity and API
- Authentication API
backend/users/views.py - User accounts
backend/users/models.py
Threat analysis
- URL detection UI
frontend/src/pages/DetectEnhanced.jsx - URL detection API
backend/detection/views.py - URL classifier
backend/detection/ml_model.py - Detection records
backend/detection/models.py
Monitoring and intelligence
- Network monitor UI
frontend/src/pages/NetworkMonitor.jsx - Monitoring API
backend/monitoring/views.py - Packet capture / IP analysis
backend/monitoring/utils.py - Security analysis
backend/monitoring/security_utils.py - Packet events
backend/monitoring/models.py - IP threat UI
frontend/src/pages/IPThreat.jsx - Dark-web search UI
frontend/src/pages/DarkWebSearch.jsx - Dark-web search API
backend/darkweb/views.py - Search and intelligence
backend/darkweb/utils.py - Dark-web records
backend/darkweb/models.py
Assistance and insights
- Cybersecurity chatbot UI
frontend/src/pages/Chatbot.jsx - Chatbot API
backend/chatbot/views.py - Chat history
backend/chatbot/models.py
Other components
- Analyst
- Google Gemini
- VirusTotal
- IP reputation services
Connections 35
- Analyst → Page router: opens pages
frontend/src/App.jsx - Page router → Sign in / register: routes to
frontend/src/App.jsx - Sign in / register → HTTP client: submits credentials
frontend/src/pages/SlidingAuth.jsx - HTTP client → Authentication API: calls authentication
README.md - Authentication API → User accounts: authenticates users
backend/users/views.py - Page router → Dashboard: routes to
frontend/src/App.jsx - Dashboard → HTTP client: requests dashboard data
frontend/src/pages/Dashboard.jsx - Dashboard → Dashboard charts: renders
frontend/src/pages/Dashboard.jsx - Analyst → URL detection UI: submits URL
README.md - URL detection UI → HTTP client: sends analysis request
frontend/src/pages/DetectEnhanced.jsx - HTTP client → URL detection API: calls URL endpoint
README.md - URL detection API → URL classifier: classifies URL
README.md - URL detection API → Detection records: records detections
- URL detection API → VirusTotal: scans URL
README.md - Analyst → Network monitor UI: views traffic
README.md - Network monitor UI → HTTP client: requests packets
README.md - HTTP client → Monitoring API: calls monitoring API
README.md - Monitoring API → Packet capture / IP analysis: captures packets
backend/monitoring/views.py - Monitoring API → Security analysis: checks security
backend/monitoring/views.py - Monitoring API → Packet events: stores packet events
backend/monitoring/views.py - Analyst → IP threat UI: submits IP
README.md - IP threat UI → HTTP client: requests IP analysis
frontend/src/pages/IPThreat.jsx - HTTP client → Monitoring API: calls IP endpoint
README.md - Monitoring API → Packet capture / IP analysis: analyzes IP
backend/monitoring/views.py - Packet capture / IP analysis → IP reputation services: checks reputation
README.md - Analyst → Dark-web search UI: searches keywords
README.md - Dark-web search UI → HTTP client: sends search
frontend/src/pages/DarkWebSearch.jsx - HTTP client → Dark-web search API: calls search endpoint
README.md - Dark-web search API → Search and intelligence: performs search
- Dark-web search API → Dark-web records: tracks mentions
- Analyst → Cybersecurity chatbot UI: asks question
README.md - Cybersecurity chatbot UI → HTTP client: sends message
frontend/src/pages/Chatbot.jsx - HTTP client → Chatbot API: calls chatbot endpoint
README.md - Chatbot API → Google Gemini: generates response
README.md - Chatbot API → Chat history: stores chat history
backend/chatbot/views.py