Skip to content

Latest commit

ย 

History

23 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

SecureSense AI Logo

SecureSense AI

Multi-Modal Explainable Trust Intelligence Platform

Investigate Financial Communications Before You Trust Them.

SecureSense AI is a Multi-Modal Explainable Trust Intelligence Platform that investigates, verifies, and explains the authenticity of financial communications across emails, SMS, website URLs, PDFs, QR codes, images, and voice recordings using evidence-driven artificial intelligence.


๐ŸŒ Overview

Financial fraud is no longer limited to suspicious emails or fake websites.

Modern financial attacks span multiple communication channels, including:

  • ๐Ÿ“ง Emails
  • ๐Ÿ’ฌ SMS & Messaging Platforms
  • ๐ŸŒ Website URLs
  • ๐Ÿ“„ PDF Documents
  • ๐Ÿ–ผ๏ธ Images
  • ๐ŸŽ™๏ธ Voice Recordings
  • ๐Ÿ”ณ QR Codes

Each communication provides only a partial view of risk.

Traditional phishing detectors operate independently, making isolated predictions without understanding context, verifying authenticity, or explaining why a communication should or should not be trusted.

SecureSense AI addresses this challenge by introducing a Multi-Modal Explainable Trust Intelligence Platform that unifies AI-based security analysis, trust verification, explainability, and evidence-driven reasoning into a single investigation workflow.

Instead of producing isolated predictions, SecureSense AI correlates evidence from multiple AI models, contextual intelligence, and trust verification mechanisms to generate a unified, transparent, and explainable trust assessment.


๐ŸŽฏ Problem Statement

Financial communication fraud has evolved beyond simple phishing emails.

Attackers increasingly exploit:

  • AI-generated phishing campaigns
  • Impersonation attacks
  • Fraudulent websites
  • Fake investment communications
  • Voice cloning
  • QR-code scams
  • User-generated cloud platforms
  • Multi-stage social engineering

Existing detection systems typically focus on one communication modality or one machine learning model, resulting in fragmented security decisions with limited explainability.

This creates several critical challenges:

  • Lack of unified trust assessment
  • Limited explainability
  • Poor cross-modal reasoning
  • Inability to correlate evidence
  • Difficulty auditing AI decisions
  • No persistent security evidence for investigators

๐Ÿ’ก Our Vision

SecureSense AI redefines communication security by moving beyond isolated predictions toward Explainable Trust Intelligence.

Rather than asking:

"Is this phishing?"

SecureSense AI answers:

"Can this communication be trusted, and what evidence supports that conclusion?"

Every investigation combines:

  • Multi-modal AI intelligence
  • Context-aware reasoning
  • Authenticity verification
  • Explainable AI
  • Evidence correlation
  • Trust graph analysis
  • Auditable evidence storage

The result is a transparent, evidence-backed trust assessment instead of a black-box prediction.


โœจ Core Innovations

SecureSense AI introduces several novel architectural components that work together as a unified trust intelligence ecosystem.


๐Ÿง  Multi-Modal Intelligence

Instead of relying on a single detector, SecureSense AI analyses communications across multiple modalities.

Supported modalities include:

  • Text
  • URLs
  • Documents
  • Images
  • QR Codes
  • Voice
  • OCR Extracted Content

Each modality is analysed using specialized AI models before being fused into a single explainable security decision.


๐Ÿงญ Communication Intent Intelligence (CII)

Communication Intent Intelligence determines why a communication exists before evaluating its security.

Rather than only detecting phishing, CII identifies semantic intent such as:

  • Banking
  • Investment
  • KYC Verification
  • General Announcement
  • Payment Requests
  • Customer Support
  • Unknown Context

This enables SecureSense AI to understand communication purpose alongside security risk.


๐Ÿ“„ Optical Content Extraction (OCE)

OCE intelligently extracts structured information from uploaded documents and images.

Capabilities include:

  • OCR
  • Entity Extraction
  • URL Detection
  • QR Detection
  • Document Context Classification

This allows visual communications to enter the same investigation pipeline as textual content.


๐ŸŒ Securities Trust Graph (STG)

The Securities Trust Graph models historical trust relationships between observed entities.

Instead of treating every communication independently, STG provides contextual trust intelligence by analysing:

  • Domains
  • Organizations
  • Financial Institutions
  • Government Agencies
  • Historical Security Evidence

This enables entity-level trust reasoning beyond individual communications.


๐Ÿ“˜ Explainable Evidence Ledger (EEL)

Every AI prediction generated by SecureSense AI is permanently transformed into explainable evidence.

Unlike conventional AI systems that return only predictions, SecureSense AI records:

  • Model used
  • Prediction
  • Confidence
  • Risk Score
  • Feature Contributions
  • Explainability Output
  • Timestamp
  • Evidence Metadata

This creates a transparent audit trail for every investigation.


๐Ÿ›‚ Financial Communication Passport (FCP)

Every investigation produces a Financial Communication Passport.

The passport consolidates:

  • Communication identity
  • Security assessment
  • Threat indicators
  • Trust verification
  • Sender profile
  • AI findings
  • Evidence references
  • Recommended actions

Instead of reading multiple reports, investigators receive a single standardized trust profile.


๐Ÿ—๏ธ High-Level Architecture

flowchart TD
    A["SecureSense AI"]
    B["Communication Investigation"]
    C["Multi-Modal Intelligence Layer"]

    D["NLP"]
    E["URL"]
    F["Visual"]
    G["Voice"]
    H["OCR"]
    I["QR"]
    J["Communication Intent Intelligence - CII"]

    K["Trust Verification Engine - TVE"]
    L["Trust Intelligence Engine - TIE"]

    M["Securities Trust Graph - STG"]
    N["Financial Communication Passport - FCP"]

    O["Explainable Evidence Ledger - EEL"]
    P["Unified Security Investigation"]

    A --> B
    B --> C

    C --> D
    C --> E
    C --> F
    C --> G
    C --> H
    C --> I
    C --> J

    D --> K
    E --> K
    F --> K
    G --> K
    H --> K
    I --> K
    J --> K

    K --> L

    L --> M
    L --> N

    M --> O
    N --> O

    O --> P
Loading

๐Ÿ”ฌ End-to-End Investigation Pipeline

Every investigation follows the same explainable workflow.

flowchart TD
    A["Financial Communication"]
    B["Communication Ingestion"]
    C["Communication Selection"]
    D["Optical Content Extraction - OCE"]
    E["Multi-Modal Intelligence Layer"]
    F["Trust Verification Engine - TVE"]
    G["Trust Intelligence Engine - TIE"]
    H["Securities Trust Graph - STG"]
    I["Financial Communication Passport - FCP"]
    J["Explainable Evidence Ledger - EEL"]
    K["Unified Trust Dashboard"]

    A --> B
    B --> C
    C --> D
    D --> E
    E --> F
    F --> G

    G --> H
    G --> I

    H --> J
    I --> J

    J --> K
Loading

๐ŸŒ Supported Communication Modalities

Communication Type Supported
๐Ÿ“ง Emails โœ…
๐Ÿ’ฌ Text Messages โœ…
๐ŸŒ Website URLs โœ…
๐Ÿ“„ PDF Documents โœ…
๐Ÿ–ผ๏ธ Images โœ…
๐Ÿ”ณ QR Codes โœ…
๐ŸŽ™๏ธ Voice Recordings โœ…

๐Ÿค– Artificial Intelligence Models

SecureSense AI integrates multiple specialized AI models, each designed to analyse a different communication modality. Rather than relying on a single prediction, every model contributes explainable evidence that is fused into a unified trust assessment.

Repository Note

All pre-trained AI models required by SecureSense AI are included in this repository. No additional model training is required before running the application.

Intelligence Module AI Model Purpose Explainability
๐Ÿ“ NLP Intelligence DistilBERT Detect phishing, spam and legitimate communications Integrated Gradients
๐ŸŒ URL Intelligence XGBoost (17-Feature Model) Analyse website URLs for phishing risk TreeSHAP
๐Ÿ–ผ๏ธ Visual Intelligence ConvNeXt-Tiny Detect phishing from screenshots, posters and images Grad-CAM
๐ŸŽ™๏ธ Voice Intelligence Whisper Base + Spectra-AASIST3 Speech transcription and AI-generated voice fraud detection Confidence Analysis
๐Ÿง  Communication Intent Intelligence (CII) SentenceTransformer (all-MiniLM-L6-v2) Understand communication purpose and security intent Semantic Evidence
๐Ÿ“„ Optical Content Extraction (OCE) EasyOCR + PDFPlumber + OpenCV Extract structured information from documents and images OCR Evidence

โš™๏ธ Platform Modules

SecureSense AI consists of multiple interconnected modules that together perform a complete financial communication investigation.


๐Ÿ“ NLP Intelligence

Analyses textual communications using a fine-tuned DistilBERT model.

Responsibilities

  • Phishing Detection
  • Spam Detection
  • Legitimate Communication Classification
  • Confidence Estimation
  • Explainability using Integrated Gradients

๐ŸŒ URL Intelligence

Investigates embedded or standalone URLs using a production XGBoost phishing detection model.

Capabilities

  • URL Feature Extraction
  • Domain Intelligence
  • DNS Verification
  • WHOIS Analysis
  • Risk Scoring
  • TreeSHAP Explainability

๐Ÿ–ผ๏ธ Visual Intelligence

Analyses uploaded screenshots and images to detect phishing indicators.

Capabilities

  • Visual Phishing Detection
  • Website Screenshot Analysis
  • Login Page Analysis
  • Explainability using Grad-CAM

๐ŸŽ™๏ธ Voice Intelligence

Detects AI-generated or manipulated voice recordings.

Pipeline

Voice Recording

โ†“

Speech Transcription

โ†“

Authenticity Verification

โ†“

Deepfake Detection

โ†“

Voice Risk Assessment


๐Ÿ“„ Optical Content Extraction (OCE)

Extracts structured evidence from uploaded documents.

Supported Formats

  • PDF
  • PNG
  • JPG
  • JPEG

Extracted Information

  • OCR Text
  • URLs
  • QR Codes
  • Financial Entities
  • Contact Information
  • Structured Metadata

๐Ÿงญ Communication Intent Intelligence (CII)

CII identifies the semantic purpose of a communication before security analysis.

Rather than only asking:

"Is this phishing?"

CII asks:

"What is this communication attempting to do?"

Detected contexts include:

  • Banking
  • Investments
  • KYC
  • Customer Support
  • Payment Requests
  • General Announcement
  • Unknown

This contextual understanding improves downstream trust reasoning.


๐Ÿ” Trust Verification Engine (TVE)

The Trust Verification Engine validates the authenticity of entities discovered during investigation.

Capabilities include:

  • Domain Verification
  • Organization Verification
  • Trusted Hosting Detection
  • Government Domain Recognition
  • Official Platform Recognition
  • User-Generated Content Detection

๐Ÿง  Trust Intelligence Engine (TIE)

The Trust Intelligence Engine performs evidence-driven reasoning across all AI modules.

Responsibilities include:

  • Cross-Modal Evidence Correlation
  • Risk Fusion
  • Conflict Resolution
  • Security Reasoning
  • Final Trust Assessment

Rather than averaging predictions, TIE preserves the strongest explainable security evidence while maintaining complete traceability.


๐ŸŒ Securities Trust Graph (STG)

The Securities Trust Graph stores historical trust intelligence for observed entities.

Each investigation enriches the graph with explainable security evidence.

Tracked entities include:

  • Domains
  • Organizations
  • Financial Institutions
  • Government Agencies
  • Email Addresses
  • Phone Numbers

STG enables SecureSense AI to reason beyond a single communication by incorporating historical trust context.


๐Ÿ“˜ Explainable Evidence Ledger (EEL)

Every prediction generated during an investigation becomes a permanent explainable evidence record.

Each record stores:

  • Module
  • Prediction
  • Confidence
  • Risk Score
  • Explainability Output
  • Feature Contributions
  • Timestamp
  • Evidence Identifier

Unlike traditional logging systems, EEL preserves complete explainable AI evidence for auditing and forensic investigation.


๐Ÿ›‚ Financial Communication Passport (FCP)

The Financial Communication Passport is the unified investigation report generated for every analysed communication.

The passport contains:

  • Communication Identifier
  • Sender Information
  • Security Assessment
  • Risk Score
  • Trust Score
  • Threat Indicators
  • Verification Status
  • Recommended Action
  • Evidence References

The FCP transforms complex AI outputs into a standardized trust profile suitable for investigators and end users.


๐Ÿ” Explainable Artificial Intelligence

Explainability is a core design principle of SecureSense AI.

Every AI prediction is accompanied by interpretable evidence rather than a black-box confidence score.

Module Explainability Technique
NLP Intelligence Integrated Gradients
URL Intelligence TreeSHAP
Visual Intelligence Grad-CAM
Communication Intent Intelligence Semantic Evidence
Trust Intelligence Engine Evidence Fusion Summary
Explainable Evidence Ledger Persistent Evidence Records

This enables users to understand:

  • Why a communication was classified
  • Which evidence influenced the decision
  • Which AI model contributed
  • How confidence and risk were derived

๐Ÿ› ๏ธ Technology Stack & Frameworks

Backend

  • FastAPI
  • SQLAlchemy
  • SQLite
  • Pydantic
  • Uvicorn

Frontend

  • React
  • Vite
  • Axios
  • CSS3

Artificial Intelligence Models

  • DistilBERT (NLP Phishing Detection)
  • ConvNeXt-Tiny (Visual Phishing Detection)
  • XGBoost (17-Feature URL Intelligence)
  • Whisper Base (Speech Transcription)
  • Spectra-AASIST3 (AI Voice Deepfake Detection)
  • all-MiniLM-L6-v2 SentenceTransformer (Communication Intent Intelligence)

Explainable AI

  • SHAP (TreeSHAP)
  • Grad-CAM
  • Integrated Gradients
  • Evidence Fusion

Document & Visual Processing

  • EasyOCR
  • PDFPlumber
  • OpenCV
  • Pillow

Data Science & Machine Learning

  • PyTorch
  • Transformers
  • Sentence Transformers
  • NumPy
  • Pandas
  • Scikit-learn

๐Ÿ“‚ Project Structure

SecureSense-AI/
โ”‚
โ”œโ”€โ”€ backend/
โ”‚   โ”œโ”€โ”€ app/
โ”‚   โ”‚   โ”œโ”€โ”€ ai/
โ”‚   โ”‚   โ”œโ”€โ”€ api/
โ”‚   โ”‚   โ”œโ”€โ”€ core/
โ”‚   โ”‚   โ”œโ”€โ”€ database/
โ”‚   โ”‚   โ”œโ”€โ”€ eel/
โ”‚   โ”‚   โ”œโ”€โ”€ fcp/
โ”‚   โ”‚   โ”œโ”€โ”€ models/
โ”‚   โ”‚   โ”œโ”€โ”€ schemas/
โ”‚   โ”‚   โ”œโ”€โ”€ services/
โ”‚   โ”‚   โ”œโ”€โ”€ stg/
โ”‚   โ”‚   โ”œโ”€โ”€ trust_engine/
โ”‚   โ”‚   โ””โ”€โ”€ main.py
โ”‚   โ”‚
โ”‚   โ”œโ”€โ”€ uploads/
โ”‚   โ”œโ”€โ”€ requirements.txt
โ”‚   โ””โ”€โ”€ .env.example
โ”‚
โ”œโ”€โ”€ frontend/
โ”‚   โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ public/
โ”‚   โ”œโ”€โ”€ package.json
โ”‚   โ””โ”€โ”€ vite.config.js
โ”‚
โ”œโ”€โ”€ README.md
โ””โ”€โ”€ .gitignore

๐Ÿš€ Getting Started

1๏ธโƒฃ Clone the Repository

git clone https://github.com/gangabhuvan/SecureSense-AI.git
cd SecureSense-AI

2๏ธโƒฃ Backend Setup

cd backend

python -m venv .venv

Windows

.venv\Scripts\activate

Linux / macOS

source .venv/bin/activate

Install dependencies

pip install -r requirements.txt

Create the environment configuration

cp .env.example .env

Open the generated .env file and configure the authentication settings before starting the backend.

Run the backend

uvicorn app.main:app --reload

Backend URL

http://127.0.0.1:8000

3๏ธโƒฃ Frontend Setup

cd frontend

npm install

npm run dev

Frontend URL

http://localhost:5173

๐ŸŒŸ What Makes SecureSense AI Different?

SecureSense AI is not another phishing detector.

It is an end-to-end Multi-Modal Explainable Trust Intelligence Platform designed to investigate financial communications using multiple AI models, authenticity verification, explainable evidence, and trust reasoning.

Unlike traditional security systems that analyse a single communication modality or produce isolated predictions, SecureSense AI performs a unified investigation by correlating evidence across multiple intelligence modules before generating a transparent trust assessment.

Instead of answering only:

"Is this phishing?"

SecureSense AI answers:

"Can this financial communication be trusted, what evidence supports that conclusion, and why?"


๐Ÿš€ Key Contributions

SecureSense AI introduces an integrated architecture that combines multiple research and engineering concepts into a single explainable investigation platform.

โœ… Multi-Modal Communication Investigation

Analyses financial communications across:

  • Text
  • Website URLs
  • PDF Documents
  • Images
  • QR Codes
  • Voice Recordings

โœ… Explainable AI by Design

Every AI prediction is accompanied by interpretable evidence.

Explainability techniques include:

  • Integrated Gradients
  • TreeSHAP
  • Grad-CAM
  • Semantic Evidence
  • Evidence Fusion Summary

โœ… Communication Intent Intelligence (CII)

Rather than relying solely on phishing classification, SecureSense AI first determines the semantic purpose of a communication.

Examples include:

  • Banking
  • Investments
  • Customer Support
  • Payment Requests
  • KYC Verification
  • General Announcements

This contextual understanding enables more informed trust reasoning.


โœ… Trust Verification Engine

SecureSense AI separates:

Infrastructure Trust

from

Content Trust

For example,

an official Google Forms link is recognised as trusted infrastructure while still reminding users that the hosted content is user-generated and should be verified before sharing sensitive information.


โœ… Securities Trust Graph (STG)

SecureSense AI builds historical trust intelligence around observed entities instead of treating every investigation independently.

This enables entity-centric reasoning across multiple communications.


โœ… Explainable Evidence Ledger (EEL)

Every investigation produces persistent evidence records instead of temporary prediction logs.

Each record contains:

  • AI Model
  • Prediction
  • Confidence
  • Risk Score
  • Explainability
  • Timestamp
  • Evidence Metadata

This creates a transparent audit trail suitable for security investigations.


โœ… Financial Communication Passport (FCP)

Instead of returning multiple disconnected outputs, SecureSense AI consolidates all investigation findings into a standardized Financial Communication Passport that summarises:

  • Security Assessment
  • Trust Score
  • Threat Indicators
  • Sender Verification
  • Recommended Actions
  • Evidence References

๐Ÿ“Š Comparison with Conventional Approaches

Capability Traditional Phishing Detection SecureSense AI
Text Analysis โœ… โœ…
URL Analysis Limited โœ…
Image Analysis Rare โœ…
Voice Scam Detection โŒ โœ…
QR Code Investigation Limited โœ…
Multi-Modal Fusion โŒ โœ…
Communication Intent Understanding โŒ โœ…
Authenticity Verification Limited โœ…
Explainable AI Limited โœ…
Trust Graph Intelligence โŒ โœ…
Evidence Ledger โŒ โœ…
Unified Investigation Dashboard โŒ โœ…
Financial Communication Passport โŒ โœ…

๐Ÿ”’ Security Philosophy

SecureSense AI follows a simple principle:

Trust should be earned through evidenceโ€”not assumed from appearance.

The platform therefore distinguishes between:

  • Trusted infrastructure
  • User-generated content
  • Communication authenticity
  • Historical trust intelligence
  • AI security evidence

Every recommendation is based on explainable evidence generated during the investigation.


๐Ÿ”ฎ Future Enhancements

Future development of SecureSense AI may include:

  • ๐ŸŽฅ Video Intelligence for detecting deepfake videos, manipulated visual content, and video-based financial fraud.
  • ๐Ÿง  Graph Neural Network (GNN)-based Trust Intelligence for enhanced relationship reasoning within the Securities Trust Graph (STG).

๐Ÿค Contributors

Bhuvankumar A Patri

Information Science & Engineering

Nitte Meenakshi Institute of Technology


About

SecureSense AI is a Multi-Modal Explainable Trust Intelligence Platform that investigates, verifies, and explains the authenticity of financial communications across emails, SMS, website URLs, PDFs, QR codes, images, and voice recordings using evidence-driven AI.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages