Skip to content

Tannuu18/ShieldUp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

26 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ›ก๏ธ ShieldUp

Detect. Prevent. Educate.

An AI-powered scam detection and cybersecurity awareness platform designed to help users identify fraudulent messages, suspicious URLs, phishing screenshots, and social engineering attacks.


๐Ÿ“Œ Overview

ShieldUp is a cybersecurity-focused web application that leverages Google's Gemini AI to analyze potentially fraudulent content and help users make safer decisions online.

The platform aims to combat common digital scams such as:

  • Phishing attacks
  • Fake job offers
  • OTP and banking scams
  • QR code scams
  • Brand impersonation
  • Social engineering attacks
  • Malicious links and websites

Rather than only detecting scams, ShieldUp also focuses on user education through interactive scam simulations that teach users how scammers operate.


๐Ÿš€ Features

1. Scam Message Analyzer

Analyze suspicious messages using AI.

Users can paste messages received via:

  • SMS
  • WhatsApp
  • Telegram
  • Email
  • Social Media

The AI evaluates the content and returns:

  • Risk Level
  • Scam Type
  • Red Flags
  • Safety Recommendations

Example

Input

Congratulations! You have been selected for an internship.
Pay โ‚น499 registration fee immediately to confirm your slot.

Output

Risk Level: High

Scam Type: Job Scam

Red Flags:
โ€ข Upfront payment request
โ€ข Artificial urgency
โ€ข Too-good-to-be-true offer

Recommendation:
Do not make any payment. Verify the opportunity through official channels.

2. URL Scanner

Analyze suspicious links before opening them.

The scanner evaluates URLs and generates a risk assessment based on security indicators and AI analysis.

Example

Input:
https://suspicious-domain.xyz

Output:
Risk Score: 87/100
Status: Suspicious
Recommendation: Avoid visiting this website.

3. Screenshot Detector

Upload screenshots of websites, emails, advertisements, or messages for AI-powered analysis.

The system can identify:

  • Fake login pages
  • Brand impersonation
  • Suspicious payment requests
  • Phishing attempts
  • Social engineering tactics

Supported Examples

  • Fake bank login pages
  • Fake Amazon offers
  • Fake internship forms
  • Fraudulent payment screenshots

4. QR Code Scanner

Upload a QR code image to inspect its contents safely.

The scanner:

  • Decodes the QR code
  • Extracts hidden URLs
  • Evaluates potential threats
  • Provides a risk assessment

This helps users avoid malicious QR-based phishing attacks.


5. AI Scam Simulator โญ

The Scam Simulator is the educational component of ShieldUp.

Users interact with simulated scammers in a safe environment and learn how to identify red flags.

Available Scenarios

  • Fake Recruiter Scam
  • Fake Bank Representative
  • Refund Scam
  • Prize Winner Scam

Learning Objectives

Users learn to:

  • Identify manipulation tactics
  • Avoid sharing personal information
  • Recognize urgency-based scams
  • Detect suspicious requests

๐Ÿ—๏ธ Project Structure

ShieldUp/
โ”‚
โ”œโ”€โ”€ backend/
โ”‚   โ”œโ”€โ”€ app/
โ”‚   โ”‚   โ”œโ”€โ”€ routes/
โ”‚   โ”‚   โ”œโ”€โ”€ services/
โ”‚   โ”‚   โ”œโ”€โ”€ models/
โ”‚   โ”‚   โ”œโ”€โ”€ database/
โ”‚   โ”‚   โ””โ”€โ”€ main.py
โ”‚   โ”‚
โ”‚   โ”œโ”€โ”€ uploads/
โ”‚   โ”œโ”€โ”€ .env
โ”‚   โ”œโ”€โ”€ requirements.txt
โ”‚   โ””โ”€โ”€ test.py
โ”‚
โ”œโ”€โ”€ frontend_2.0/
โ”‚   โ”œโ”€โ”€ public/
โ”‚   โ”œโ”€โ”€ src/
โ”‚   โ”‚   โ”œโ”€โ”€ assets/
โ”‚   โ”‚   โ”œโ”€โ”€ utils/
โ”‚   โ”‚   โ”œโ”€โ”€ App.css
โ”‚   โ”‚   โ”œโ”€โ”€ App.jsx
โ”‚   โ”‚   โ”œโ”€โ”€ index.css
โ”‚   โ”‚   โ””โ”€โ”€ main.jsx
โ”‚   โ”‚
โ”‚   โ”œโ”€โ”€ index.html
โ”‚   โ”œโ”€โ”€ package.json
โ”‚   โ”œโ”€โ”€ tailwind.config.js
โ”‚   โ”œโ”€โ”€ vite.config.js
โ”‚   โ””โ”€โ”€ README.md
โ”‚
โ”œโ”€โ”€ .gitignore
โ””โ”€โ”€ README.md

๐Ÿ› ๏ธ Tech Stack

Frontend

  • React.js
  • Vite
  • Tailwind CSS
  • Lucide React

Backend

  • Python
  • FastAPI
  • Uvicorn
  • Pydantic

AI & Machine Learning

  • Google Gemini API

Utilities

  • Python Dotenv
  • Requests

โš™๏ธ Installation

Clone Repository

git clone https://github.com/your-username/shieldup.git

cd shieldup

Frontend Setup

cd frontend

npm install

npm run dev

Frontend will run on:

http://localhost:5173

Backend Setup

cd backend

pip install -r requirements.txt

uvicorn app.main:app --reload

Backend will run on:

http://localhost:8000

Environment Variables

Create a .env file inside the backend directory.

GEMINI_API_KEY=your_api_key_here

API Endpoints

Analyze Scam Message

POST /analyze-scam

Request

{
  "message": "Suspicious message content"
}

Scan URL

POST /scan-url

Request

{
  "url": "https://example.com"
}

Analyze Screenshot

POST /analyze-screenshot

Request

image file

Scan QR Code

POST /scan-qr

Request

qr image file

Scam Simulator

POST /simulate-scam

Request

{
  "scenario": "fake_recruiter"
}

๐ŸŽฏ Hackathon Demo Flow

Step 1 - Scam Message Detection

Paste a suspicious message.

โ†“

AI analyzes the content.

โ†“

Risk level and scam indicators are displayed.


Step 2 - Screenshot Analysis

Upload a suspicious screenshot.

โ†“

AI identifies phishing indicators.

โ†“

Threat assessment is generated.


Step 3 - URL Scanning

Enter a suspicious link.

โ†“

The system evaluates risk.

โ†“

Safety recommendation is displayed.


Step 4 - Scam Simulator

Choose a scam scenario.

โ†“

Interact with an AI scammer.

โ†“

Receive feedback and learning insights.


๐Ÿ”’ Security Considerations

  • API keys stored securely using environment variables
  • Input validation using FastAPI and Pydantic
  • Secure file upload handling
  • Scalable backend architecture
  • Modular AI service integration

๐Ÿ”ฎ Future Enhancements

  • Browser Extension
  • Mobile Application
  • Email Scam Detection
  • Real-Time SMS Analysis
  • Multi-Language Support
  • Voice Scam Detection
  • User Dashboard & Reports
  • Threat Intelligence Integration
  • Database Support for User History

๐ŸŒŸ Vision

ShieldUp aims to make cybersecurity accessible to everyone by combining AI-powered scam detection with practical user education.

The goal is not only to identify threats but also to help users build the skills needed to stay safe online.

SAVDHAAN RAHE . SATARK RAHE . JAI HIND


๐Ÿ“„ License

This project is developed for educational, research, and hackathon purposes.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors