Skip to content

aivxx02/qr-secure-scan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QR Secure Scan Application

A Flutter-based mobile application that enhances cybersecurity by scanning QR codes and detecting malicious URLs using integrated threat intelligence APIs and a custom malicious URL database.

📱 Overview

QR Secure Scan is designed to help users safely scan QR codes, identify potential threats, and report suspicious content. With real-time analysis through the VirusTotal API and community-driven URL reporting, the app provides a powerful shield against phishing and malware attacks via QR codes.


📸 Screenshots

homepage scan_result malicious_URL_database admin_login admin_homepage

🚨 Key Features

  • Real-time QR Code Scanning

    • Scan using the camera or import from the gallery
    • Detects and analyzes embedded URLs
  • Threat Detection

    • Integration with VirusTotal API
    • Custom database for admin-verified malicious URLs
  • User Reporting System

    • Submit suspicious URLs with optional screenshots and explanations
  • Admin Panel

    • Manage reported URLs
    • Classify URLs as malicious or safe
    • Update the malicious URL database
  • Public Threat Awareness

    • View a database of known malicious URLs

🧱 Prerequisite


🛠️ Project Setup

🔨 Initial Setup

  1. Create New Flutter Project on Android Studio or Visual Studio Code and name it 'qr_secure_scan'.

  2. Clone this repository or download zip file:

    git clone https://github.com/aivxx02/qr-secure-scan.git
    
  3. Extract the Zip file and copy the files and paste/replace it on 'qr_secure_scan' project file.

  4. Install dependencies:

    flutter pub get
    
  5. Line 9, 10, 41, 42, 72 & 73 lib/SMTPEmail.dart/

    const String username = '[email protected]'; // insert your gmail
    const String password = 'xx xx xx xx'; // Use an App Password, NOT your Gmail password
    
  6. Line 120 lib/pages/users/scan/scan_page.dart && Line 122 lib/pages/users/scan/image_select.dart

    const apiKey = ''; // insert Virus Total API key
    
    

🔥 Firebase Setup

  1. Set up Firebase and Intergrate with Flutter by OWN.

  2. Firestore Database

    • firebase_database firestore_rules
    • IMPORTANT⚠️ Create collection called "maliciousURL".

    • Document and Field dont fill up anything, code handles it.

    • Make sure add the rules.

  3. Authentication

    • authentication

    • Add new user by random email / own email for admin login.

  4. Storage

    • storage storage_rules
    • IMPORTANT⚠️ This is where images stored, create an folder "reports/".

    • Make sure add the rules.

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.

About

Flutter app that scans QR codes and checks links using the VirusTotal API and own database of malicious URLs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages