SafeBrowse is a Chrome extension designed to protect users from phishing websites by analyzing URLs in real-time using a machine learning model.
- Phishing Detection: Automatically checks if a site is phishing or safe.
- Whitelist: Allows users to whitelist trusted websites.
- Logs: Keeps track of all blocked websites for future reference.
- Frontend: Chrome Extension (JavaScript, HTML, CSS)
- Backend: Python Flask
- Machine Learning: Pre-trained RandomForestClassifier model (
model.pkl) - Deployment: Can be deployed locally or hosted on a server (e.g., Vercel, AWS, etc.).
- Python 3.7 or higher installed.
- Flask and Flask-CORS Python libraries installed.
- Chrome browser installed.
-
Pickle file: Generate a model.pkl file and paste it in the folder
-
Clone the repository:
git clone https://github.com/coderashhar/Safe-Browse.git cd SafeBrowse -
Install dependencies:
pip install flask flask-cors numpy
-
Run the backend server:
python model_server.py
- Load the Chrome extension: • Open Chrome and go to chrome://extensions/. • Enable Developer Mode in the top-right corner. • Click Load Unpacked and select the extension folder in the repository.
- Enable the SafeBrowse extension: • Once loaded, the extension will appear in the Chrome toolbar.