SafeSurf is a Flask-based Chrome extension designed to detect vulnerabilities in URLs. The application uses a trained machine learning model to identify phishing sites and other anomalies in the URLs provided by users. It fetches the requests from the deployed flask app.
- 🔍 URL Vulnerability Detection: Enter any URL to check for potential phishing or other vulnerabilities.
- 🤖 Machine Learning Model: Trained on the Phishing Site URLs Kaggle dataset.
- 🧩 Chrome Extension: A convenient browser extension to instantly check URLs from any webpage. The extension fetches data from the Flask app, which hosts the trained model.
- 🚀 Flask App Deployed on Render: Access the live application Flask App.
-
Navigate to the extension folder in the project directory.
-
Go to chrome://extensions/ in your Chrome browser.
-
Enable "Developer mode" and click "Load unpacked".
-
Select the extension folder to install the extension.
-
Pin the Extension and Try it. (Be Paitent it takes a bit to Fetch the request)
- Clone the repository:
git clone https://github.com/ayoopriyanshu/safesurf-flask.git cd safesurf - Install Requirements:
pip install -r requirements.txt
- Run App.py
-
Open the Model_Training.ipynb file in Google Colab or Jupyter.
-
Upload the phising_site_urls.csv file
-
Run each Shell
- Machine Learning: Scikit-learn, Pandas, NumPy
- Backend: Flask, Python, Javascript
- Frontend: HTML, CSS
- Libraries: Requests, Flask, Sklearn, Sckit-learn, Flask-CORS, Pandas