Skip to content

Repository files navigation

πŸ›‘οΈ SecureID AI

An AI-Powered Digital Identity & Scam Prevention Platform

Know before you click, answer, or pay.

SecureID AI combines phishing detection, QR code analysis, voice scam detection, deepfake detection, identity risk monitoring, and an AI security assistant into a single, unified platform β€” instead of forcing users to juggle five different single-purpose security tools.

Live Frontend Live Backend License: MIT


πŸ“– Table of Contents


🎯 Problem

People are targeted by scams from every direction, and existing tools only ever solve one piece of the puzzle:

Threat Typical current defense
Phishing websites A browser warning, if you're lucky
QR code scams Nothing β€” most people scan blindly
Fake customer support calls Nothing, until it's too late
Deepfake videos and voices Almost no consumer-facing tools
Identity theft Reactive, after-the-fact breach alerts
Fake banking / UPI apps App store moderation, which lags
Fraudulent emails and SMS Basic spam filters

Each of these usually requires a separate app or service. SecureID AI brings all of them into one platform, with one consistent, explainable risk score across every check.


πŸ’‘ Solution

SecureID AI is a single web platform where a user can:

  1. Paste a suspicious link, SMS, or email and get an instant, explained risk score
  2. Scan a QR code before opening whatever it points to
  3. Upload a suspicious call recording and check for scam patterns or voice cloning
  4. Upload a photo or video and check whether it's AI-generated or manipulated
  5. See one overall "digital identity safety score" across passwords, breach exposure, and device hygiene
  6. Ask a plain-language AI assistant, "Is this safe?" β€” and get reasoning, not just a verdict
  7. Report scams to a community map that helps warn others nearby

✨ Core Features

πŸ”— AI Phishing Website Detector

Paste a URL β†’ get a 0–100 risk score, a plain-language verdict, and the specific indicators that drove the score (domain age, HTTPS status, brand mimicry, etc.).

πŸ“· QR Code Scanner

Scan or upload a QR code. The decoded destination is always shown before any action is taken, and is then run through the same phishing analysis pipeline.

πŸŽ™οΈ Voice Scam Detection

Upload or record a suspicious call. The AI transcribes it, highlights scam-pattern phrases inline, and flags whether the voice shows signs of AI cloning.

🎭 Deepfake Image & Video Detection

Upload a photo or video and get a confidence score for AI-generation/manipulation, with visual indicators on the flagged regions or frames.

πŸ“Š Identity Risk Dashboard

One overall safety score built from password strength, email breach exposure, and a self-reported device security checklist β€” with prioritized, actionable recommendations.

πŸ’¬ AI Chat Security Assistant

Ask natural questions like "Is this SMS a scam?" or "Can I trust this website?" β€” the assistant reasons through it in plain language and can trigger a full formal scan inline.

🌐 Scam Reporting Network

Report scams, browse a community map of scam hotspots, and help protect others nearby.


🎬 Demo

End-to-end scenario:

User receives a suspicious SMS
        β”‚
        β–Ό
Pastes it into the Assistant β†’ AI flags phishing language + urgency
        β”‚
        β–Ό
Scans the QR code inside the message β†’ destination confirmed unsafe
        β”‚
        β–Ό
Uploads the follow-up scam call β†’ AI flags likely scam attempt
        β”‚
        β–Ό
Dashboard recommends: block the sender, report the scam

πŸ”— Live app: secure-id-ai.vercel.app πŸ”— API docs (Swagger UI): secureid-ai-backend.onrender.com/docs

⚠️ The backend runs on a free-tier instance and may take up to 50 seconds to wake up on the first request after inactivity.


🧰 Tech Stack

Frontend

  • React / Vite + TypeScript
  • Tailwind CSS

Backend

  • FastAPI (Python)

AI / ML

  • Gemini / OpenAI API
  • Hugging Face models
  • OCR β€” EasyOCR / Tesseract
  • XGBoost / Random Forest (phishing scoring)
  • NLP classifiers (scam text detection)

Data

  • PostgreSQL
  • Redis (caching, job queue)

Auth

  • Firebase Authentication

Infrastructure

  • Docker
  • GitHub Actions (CI/CD)
  • Render (backend + database hosting)
  • Vercel (frontend hosting)

πŸ—οΈ Architecture

                     User
                       β”‚
                       β–Ό
              React (Vite) Web App
                       β”‚
                       β–Ό
               FastAPI Backend
                       β”‚
   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
   β–Ό           β–Ό       β–Ό       β–Ό           β–Ό            β–Ό
Phishing   Scam Text  Voice  Deepfake     QR       Identity Risk
Detection  Classifier Analysis Detection Analyzer      Engine
   β”‚           β”‚       β”‚       β”‚           β”‚            β”‚
   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”¬β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                            β–Ό
                     PostgreSQL + Redis

See the full Backend PRD and Database Schema PRD for the detailed service and data model.


πŸ“ Project Structure

SecureID-AI/
β”œβ”€β”€ backend/                 # FastAPI application
β”‚   β”œβ”€β”€ app/
β”‚   β”‚   β”œβ”€β”€ api/v1/endpoints/  # Route handlers (scan, auth, identity, reports, assistant, history)
β”‚   β”‚   β”œβ”€β”€ core/               # Config, database, security
β”‚   β”‚   β”œβ”€β”€ models/              # SQLAlchemy models & Pydantic schemas
β”‚   β”‚   └── services/             # AI/ML and forensic analysis services
β”‚   β”œβ”€β”€ requirements.txt
β”‚   └── main entrypoint: app/main.py
β”œβ”€β”€ src/                     # React (Vite) frontend source
β”œβ”€β”€ public/                  # Static assets
β”œβ”€β”€ docs/                    # PRDs and planning documents
β”œβ”€β”€ .gitignore
β”œβ”€β”€ package.json
β”œβ”€β”€ vite.config.ts
└── README.md

πŸš€ Getting Started

Prerequisites

  • Node.js 18+
  • Python 3.10+
  • PostgreSQL (local or hosted)
  • API keys: Gemini/OpenAI, Firebase project credentials

1. Clone the repository

git clone https://github.com/asadullatariq123/SecureID-AI.git
cd SecureID-AI

2. Frontend setup

npm install
npm run dev

The app runs at http://localhost:5173 by default.

3. Backend setup

cd backend
python -m venv .venv
.venv\Scripts\activate        # Windows
# source .venv/bin/activate   # macOS/Linux

pip install -r requirements.txt
uvicorn app.main:app --reload

The API runs at http://localhost:8000, with interactive docs at http://localhost:8000/docs.

4. Set up environment variables

Copy .env.example β†’ .env in both the root and backend/ folders, and fill in your own values (see below).


πŸ”‘ Environment Variables

Backend (backend/.env)

DATABASE_URL=postgresql://user:password@host/dbname
GEMINI_API_KEY=your_gemini_api_key
OPENAI_API_KEY=your_openai_api_key
FIREBASE_PROJECT_ID=your_firebase_project_id

Frontend (.env)

VITE_API_URL=http://localhost:8000
VITE_FIREBASE_API_KEY=your_firebase_api_key
VITE_FIREBASE_AUTH_DOMAIN=your_firebase_auth_domain

Never commit real .env files. Only commit .env.example with placeholder values.


☁️ Deployment

Layer Platform Notes
Frontend Vercel Auto-deploys from main, root directory ., Vite framework preset
Backend Render Auto-deploys from main, root directory backend, start command uvicorn app.main:app --host 0.0.0.0 --port $PORT
Database Render PostgreSQL Connected via DATABASE_URL env var

Every push to main automatically redeploys both the frontend and backend β€” no manual steps required after initial setup.


πŸ—ΊοΈ Roadmap

  • Browser extension for real-time phishing alerts
  • Native mobile app
  • Enterprise dashboard for organizations
  • Bank API integration
  • Digital identity wallet
  • Family protection mode for children and older adults

🀝 Contributing

Contributions are welcome. To contribute:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/your-feature)
  3. Commit your changes (git commit -m "Add your feature")
  4. Push to the branch (git push origin feature/your-feature)
  5. Open a Pull Request

Please open an issue first for major changes so we can discuss what you'd like to change.


πŸ“„ License

This project is licensed under the MIT License.


πŸ‘₯ Team

  • V.A. Asadulla Tariq
  • G.K. Hemashankar
  • G. Kavya Reddy
  • S. Mounika

Built as a hackathon project focused on AI-powered scam prevention and digital safety.


Made with care to help people stay safe online β€” one scam check at a time.

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages