How shunmuga-sundaran/cybershield works
CyberShield is a Streamlit phishing-analysis dashboard. A user submits a URL; the app coordinates feature extraction, webpage analysis, machine-learning and NLP risk signals, hybrid classification, and contextual RAG explanations before presenting results and analytics. The README documents the major stages; excerpts show feature extraction, page scraping, model scoring, hybrid scoring, and RAG use. Some app internals and model setup are unsampled, so only documented or excerpt-supported relationships are shown.
Main entry points: app.py Streamlit dashboard · nlp_rag_engine.py NLP risk analysis · feature_extraction.py URL feature extraction
Components 12
Dashboard
- Streamlit dashboard
app.py
Threat Analysis
- URL feature extraction
feature_extraction.py - Webpage scraping
nlp_rag_engine.py - ML ensemble
app.py - NLP risk analysis
nlp_rag_engine.py - Hybrid risk decision
app.py
Threat Intelligence
- Risk indicators
nlp_rag_engine.py - Cybersecurity knowledge base
nlp_rag_engine.py - RAG retrieval
nlp_rag_engine.py
Results
- Threat explanations
nlp_rag_engine.py - Scan analytics
app.py
Other components
- URL submitter
Connections 11
- URL submitter → Streamlit dashboard: submits URL
README.md - Streamlit dashboard → URL feature extraction: extracts features
README.md - Streamlit dashboard → Webpage scraping: requests page analysis
README.md - Streamlit dashboard → ML ensemble: evaluates features
app.py - Streamlit dashboard → NLP risk analysis: analyzes URL
app.py - Streamlit dashboard → Hybrid risk decision: combines risk signals
app.py - NLP risk analysis → Risk indicators: checks indicators
nlp_rag_engine.py - NLP risk analysis → RAG retrieval: queries context
nlp_rag_engine.py - RAG retrieval → Cybersecurity knowledge base: retrieves documents
nlp_rag_engine.py - Streamlit dashboard → Threat explanations: requests explanations
app.py - Streamlit dashboard → Scan analytics: renders analytics
README.md