Skip to content

sarrasoussia/Detect-fraudulent-QR-codes

Repository files navigation

QR Code Scam Detector

A comprehensive security tool that allows users to scan or upload QR codes and instantly assess whether they are legitimate or suspicious before opening the link.

Features

  • 🔍 QR Code Scanning: Scan from camera or upload image
  • 🛡️ Security Analysis: Multiple security checks including domain reputation, HTTPS validation, URL structure analysis
  • ⚠️ Risk Scoring: Clear Safe/Suspicious/Dangerous ratings with explanations
  • 📊 Scan History: Track all scanned QR codes
  • 🎯 User-Friendly: Designed for all users including non-tech-savvy individuals

Getting Started

Prerequisites

  • Node.js 18+
  • npm or yarn

Installation

npm install

Development

npm run dev

Open http://localhost:3000 in your browser.

Build

npm run build
npm start

Security Checks

The detector performs the following security checks:

  1. Domain Reputation: Checks if the domain is known for malicious activity
  2. HTTPS & Certificate: Validates SSL/TLS certificates
  3. URL Structure: Detects typosquatting and suspicious patterns
  4. Redirect Chain: Analyzes redirect chains for suspicious behavior
  5. Blacklist Check: Cross-references with known scam databases

Tech Stack

  • Next.js 14: React framework with API routes
  • TypeScript: Type safety
  • Tailwind CSS: Styling
  • jsQR: QR code decoding
  • Lucide React: Icons

Future Enhancements

  • Machine learning model for scam detection
  • Browser extension
  • Mobile app (React Native)
  • Community reporting system
  • Enterprise mode

Detect-fraudulent-QR-codes

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors