SafeSurf is a modern, privacy-first browser extension that uses On-Device AI to detect malicious URLs in real-time. Unlike other detectors that send your browsing history to a remote server, SafeSurf analyzes URLs directly in your browser using TensorFlow.js.
- ⚡ Auto-Scan: Instantly analyzes URLs the moment you open the popup. No clicks required.
- 🔒 Privacy First: Zero data leaves your device. All analysis happens locally.
- 🧠 Advanced AI: Powered by a CNN+LSTM hybrid model compressed for the web.
- 🎨 Modern Design: Clean, consumer-friendly interface that feels unmatched.
| Feature | SafeSurf (This Extension) | Traditional Cloud Ext | Other Open Source |
|---|---|---|---|
| Privacy | 100% Local (No API calls) | ❌ Cloud Analysis | |
| Speed | Instant (Zero Latency) | ❌ Network Lag | |
| Memory | On-Demand (Unloads after use) | ❌ High (Requires Docker/Server) | |
| Setup | Plug & Play | ✅ Easy | ❌ Complex (Pip/Conda) |
We believe security shouldn't be a chore.
- Instant Peace of Mind: You don't have to remember to click "Scan".
- Efficiency: SafeSurf uses a "Lazy Load" technique. It only loads the AI model into memory when you open the popup, performs the scan in milliseconds, and then releases resources. This keeps your browser fast.
This model was trained on a comprehensive dataset of over 400,000 URLs, balanced between legitimate sites and malicious links.
- Sources:
- PhishTank (Real-time phishing data)
- Alexa Top 1M (Benign URLs)
- [G2/Capterra Scrapes allowed] (Supplementary data)
- Architecture: A hybrid Deep Learning approach using CNN (Convolutional Neural Networks) for character-level feature extraction and LSTM for sequence analysis, ensuring high accuracy on unseen patterns.
- Clone/Download this repository.
- Open Chrome and navigate to
chrome://extensions. - Enable Developer Mode (top right toggle).
- Click Load Unpacked.
- Select the
chrome extensionfolder inside this project. - The SafeSurf icon will appear in your toolbar!
Open source and open for contributions. Feel free to submit a PR!
