AI-powered browser extension that detects scam and phishing messages using NLP.
This project, Scamnet.ai, is an AI-powered browser extension designed to detect scam and phishing messages using Natural Language Processing (NLP). It analyzes suspicious messages and provides warnings to users before they interact with them, enhancing online safety.
Key Features:
- AI-powered scam and phishing detection.
- Utilizes NLP for message analysis.
- Browser extension for real-time protection.
- Backend API built with FastAPI.
- Includes model training and prediction scripts.
Setup Instructions:
To set up Scamnet.ai, follow these steps:
- Install Dependencies: Ensure Python is installed. Create a virtual environment and install the required packages using pip install -r requirements.txt.
- Train the Model: Run the python train.py script to generate the machine learning model (model.pkl) and vectorizer (vectorizer.pkl).
- Run the Backend API: Start the FastAPI server using uvicorn predict:app --reload. The API will be accessible at http://localhost:8000.
- Install the Browser Extension: Open your browser (Chrome/Edge), navigate to the extensions page, enable developer mode, and load the unpacked browser_extension folder.
Future Improvements:
- Implement more advanced NLP preprocessing techniques.
- Integrate transformer models like BERT.
- Add URL scanning capabilities.