https://github.com/saadasif-nu/deepphish
DeepPhish is a web-based phishing detection system that helps users identify suspicious URLs and emails. It uses Machine Learning and Natural Language Processing (NLP) techniques.
https://github.com/saadasif-nu/deepphish
expressjs flask lemmatization machine-learning-algorithms mongodb multinomial-naive-bayes natural-language-processing nodejs python3 reactjs tf-idf vectorization xgboost
Last synced: 3 months ago
JSON representation
DeepPhish is a web-based phishing detection system that helps users identify suspicious URLs and emails. It uses Machine Learning and Natural Language Processing (NLP) techniques.
- Host: GitHub
- URL: https://github.com/saadasif-nu/deepphish
- Owner: SaadAsif-NU
- Created: 2025-06-18T19:12:04.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-06-22T18:27:01.000Z (7 months ago)
- Last Synced: 2025-08-04T12:34:25.177Z (6 months ago)
- Topics: expressjs, flask, lemmatization, machine-learning-algorithms, mongodb, multinomial-naive-bayes, natural-language-processing, nodejs, python3, reactjs, tf-idf, vectorization, xgboost
- Language: Jupyter Notebook
- Homepage:
- Size: 918 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ๐ DeepPhish โ AI-Powered Phishing Detection System
DeepPhish is a web-based phishing detection system that helps users identify suspicious URLs and emails. It uses Machine Learning and Natural Language Processing (NLP) techniques to flag phishing threats and offers a simple, secure interface with user login and history tracking.
---
## ๐ Features
- ๐ **URL Phishing Detection** โ Analyze and classify URLs as safe or phishing.
- ๐ง **Email Body Analysis** โ Check raw email text to detect phishing patterns.
- ๐ค **User Authentication** โ Register and log in to track your own detection history.
- ๐ **Scan History** โ Review previous URL and email scans with results.
---
## ๐งฐ Tech Stack
### ๐ป Frontend
- React.js
- HTML5 / CSS3
### ๐ฅ Backend
- Node.js (Express)
- Python (Flask)
### ๐ค Machine Learning
- XGBoost (URL Detection)
- Multinomial Naive Bayes (Email Text Detection)
- CountVectorizer for NLP processing
### ๐ข Database
- MongoDB (Mongoose)
---
## ๐ Project Structure
```
DeepPhish -- Phishing Detection Application/
โโโ Backend/ # Node.js API for user management and detection logic
โโโ Backend/data # Pre-labeled phishing and safe URLs
โโโ Python/DeepPhish--Python # Flask server with ML models
โโโ React/front-end/ # React app for UI
````
---
### โ๏ธ Setup Instructions
### GO into directory DeepPhish -- Phishing Detection Application
### 1. Start Backend (Node.js)
Make sure your MongoDB is running locally.
```bash
cd Backend
npm install #for first time
node app.js
```
Make sure `.env` file is configured correctly:
```env
PORT=####
MONGO_URI=mongodb+srv://:@cluster.mongodb.net/DeepPhish
```
for example i used it as
PORT=5001
MONGO_URI=mongodb://127.0.0.1:27017/phishingdb
### 2. Start Python ML Server (Flask)
```bash
cd ../Python
cd DeepPhish--Python
pip install -r requirements.txt
python app.py
```
### 3. Start Frontend (React)
```bash
cd ../React/front-end
npm install # only if node_modules was deleted
npm start
```
---
## ๐ Signup / Login Info
### ๐ Password Format
* Minimum 8 characters
* Must include one number and one special character
* Example: `Secure@123`
### โ
Email Format
* Must be in standard format (e.g., `user@example.com`)
---
## ๐งช How to Use
1. **Signup/Login** to your account.
2. Navigate to:
* **Check URL** โ Enter a website link.
* **Check Email** โ Paste the email content/body.
3. The system will return:
* `Phishing` or `Safe`
4. Go to **View History** to see all previously scanned results.
---
## ๐งญ Future Scope
* SMS Phishing Detection
* Admin dashboard
* Chrome extension
* Real-time alert system
---
## ๐งโ๐ป Author
**Saad Asif**
Final Year CS Student | Cybersecurity, AL, ML & Full Stack Enthusiast
LinkedIn: [https://www.linkedin.com/in/saadasif-nu/](https://www.linkedin.com/in/saadasif-nu/)
**Muhammad Hammad**
Final Year CS Student | Cybersecurity, AL, ML & Full Stack Enthusiast
LinkedIn: [https://www.linkedin.com/in/muhammad-hammad-69aa36248/](https://www.linkedin.com/in/muhammad-hammad-69aa36248/)