Skip to content

TUSHAR91316/malware-url-detection

Repository files navigation

SafeSurf - AI Powered Malware URL Detector

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.

Banner

🚀 Features

  • ⚡ 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.

🏆 Why Choose SafeSurf?

Feature SafeSurf (This Extension) Traditional Cloud Ext Other Open Source
Privacy 100% Local (No API calls) ❌ Cloud Analysis ⚠️ Varies
Speed Instant (Zero Latency) ❌ Network Lag ⚠️ Python Server Lag
Memory On-Demand (Unloads after use) ⚠️ Heavy Background ❌ High (Requires Docker/Server)
Setup Plug & Play ✅ Easy ❌ Complex (Pip/Conda)

Why Auto-Scan?

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.

📊 Dataset & Model

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.

🛠️ Installation Guide

  1. Clone/Download this repository.
  2. Open Chrome and navigate to chrome://extensions.
  3. Enable Developer Mode (top right toggle).
  4. Click Load Unpacked.
  5. Select the chrome extension folder inside this project.
  6. The SafeSurf icon will appear in your toolbar!

🤝 Contributing

Open source and open for contributions. Feel free to submit a PR!

About

Privacy-first browser extension that uses on-device AI to instantly detect malicious and phishing URLs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors