This project focuses on the detection of phishing emails using a Convolutional Neural Network (CNN). To bridge the gap between AI decision-making and user trust, we integrate Explainable AI (XAI). The system not only classifies an email as safe or phishing but also highlights specific suspicious features (like keywords or URLs) to educate the user on why a particular decision was made.
- Team Members: Praveen B K, Gireesh Patil, Bharghav, M Vishwanth
- Guide: Dr. P Karthikeyan
- Institution: School of Computer Science & Engineering, RV University, Bengaluru
- Language: Python 3.10+
- Backend Framework: FastAPI (Uvicorn)
- Deep Learning: TensorFlow, Keras (1D-CNN architecture)
- Preprocessing: NLTK, Scikit-learn
- Frontend: HTML5, CSS3, JavaScript (Real-time XAI Dashboard)
- /backend: Contains the FastAPI server, model training scripts (train_model.py), and the saved tokenizer.
- /frontend: The web interface for users to paste email content and view analysis.
- requirements.txt: List of dependencies required to run the project.
-
Clone the repository: git clone https://github.com/Vikasnayakar/Phishing-Detection-CNN-XAI.git cd Phishing-Detection-CNN-XAI
-
Create a virtual environment: python -m venv venv source venv/bin/scripts/activate # On Windows: venv\Scripts\activate
-
Install dependencies: pip install -r requirements.txt
-
Start the Backend: uvicorn backend.main:app --reload
-
Open the Frontend: Open frontend/index.html in a web browser.
