🚨 Cyber Safety & Scam Detector

A simple web-based application that helps users detect scam or suspicious messages from SMS, WhatsApp, or emails using rule-based keyword analysis.


🌟 Inspiration

Online scams are increasing rapidly, especially through SMS, WhatsApp, and email messages. Many users—especially students and elderly people—find it difficult to identify whether a message is genuine or fraudulent.
This project was inspired by the need to create a simple, easy-to-use cyber safety tool that can quickly alert users about potential scam messages.


🛠 What It Does

  • Detects scam or suspicious messages
  • Highlights the risk level based on detected keywords
  • Displays the reason for classifying a message as scam
  • Stores previous message checks (history)
  • Provides a clean and simple web interface

⚙️ How It Works

  1. User enters a message (SMS / WhatsApp / Email)
  2. The system scans the message for scam-related keywords
  3. A score is calculated based on keyword matches
  4. The message is classified as:
    • ✅ Safe
    • ⚠️ Scam / Suspicious
  5. The result and reason are shown to the user

🧠 How We Built It

  • Backend developed using Python and Flask
  • Frontend created using HTML and basic CSS
  • Implemented rule-based keyword analysis
  • Used Flask templates to render results dynamically
  • Maintained message history using server-side logic

🚧 Challenges We Ran Into

  • Handling false positives in keyword detection
  • Designing a clean UI with minimal frontend tools
  • Managing message history effectively
  • Ensuring the app remains lightweight and fast

🏆 Accomplishments We're Proud Of

  • Successfully built a working cyber safety tool
  • Clean and understandable user interface
  • Fully functional Flask backend
  • Successfully deployed the project to GitHub

📚 What We Learned

  • Flask routing and template rendering
  • Rule-based text analysis
  • GitHub version control and repository management
  • Structuring a full-stack mini project

🔮 What's Next

  • Integrate Machine Learning for better accuracy
  • Add phishing URL detection
  • Support multiple languages
  • Deploy the application online
  • Build a browser extension or mobile app

🧰 Built With

  • Python
  • Flask
  • HTML
  • CSS (basic)

📁 Project Structure

Built With

Share this project:

Updates