Skip to content

kains22/Scam-Warning-Tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scam Message Checker

📌 Project Overview

The Scam Message Checker is a web-based tool designed to help users identify potentially dangerous scam messages. Users can paste any message they receive—via WhatsApp, SMS, email, or social media—and the tool analyzes it for common scam patterns such as:

  • Urgency words (e.g., "urgent", "now", "immediately")
  • Prize or lottery claims
  • Requests for money or transfers
  • Requests for passwords, OTPs, or bank information

The tool classifies messages into three risk levels:

  • 🟢 SAFE
  • 🟡 RISKY
  • 🔴 DANGEROUS

Clear advice is provided based on the risk level to guide users in taking the next steps safely.


🎯 Purpose

This project was built to promote digital safety awareness, especially for:

  • Beginners on the internet
  • Elderly users
  • Individuals unfamiliar with online scam tactics

The goal is to make internet safety simple, visual, and actionable, without requiring technical knowledge.


🌐 Live Demo

The project is hosted live and accessible via any modern web browser:
View Live Project


🛠️ Technologies Used

  • Languages: HTML, CSS, JavaScript
  • Data Storage: LocalStorage (for passing messages between pages)
  • UI: Responsive and beginner-friendly interface optimized for mobile and desktop

💡 How It Works

  1. User pastes a suspicious message into the input box.
  2. Click "Check Message" → message stored in LocalStorage.
  3. User is redirected to the results page.
  4. JavaScript analyzes the message using keyword pattern matching.
  5. Result page displays:
    • Risk level
    • Color-coded indicator
    • Safety advice

📱 Responsiveness & Accessibility

  • Fully responsive on desktop and mobile devices
  • Large, clear text and buttons for easier readability
  • Simplified interface for first-time users and elderly individuals

👨‍💻 Skills Demonstrated

  • Front-end development with HTML, CSS, and JavaScript
  • Logical pattern recognition implementation
  • User-focused and accessibility-first UI design
  • Data persistence using LocalStorage
  • Deployment and hosting on GitHub Pages

📊 Proof of Impact

  • Tested with 10 users, including elderly and beginners
  • 7/10 users found it intuitive and easy to use
  • 3/10 users needed additional guidance → led to UI improvements

User testing shows that iterative feedback is key to building usable digital safety tools.


🚀 Future Improvements

  • Detect suspicious links (URLs) automatically
  • Expand the keyword database for more comprehensive scam detection
  • Add multilingual support
  • Improve UI/UX for better accessibility and visual clarity
  • Optionally, integrate AI-driven risk scoring in future versions

👤 Author

Developed as part of a digital literacy initiative to empower non-technical users to recognize online scams and protect themselves from potential fraud.

About

A simple web tool that checks messages for common scam signs and labels them Safe, Risky, or Dangerous with clear advice.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors