EmpowerNet AI is a full-stack forensic intelligence platform designed to detect AI-generated scams, deepfakes, voice cloning, and synthetic media across text, images, audio, and video.
It combines a React dashboard, FastAPI backend, Chrome Extension, machine learning inference pipelines, and a cryptographic evidence ledger into a unified workflow for digital threat analysis.
Blockchain note: The evidence ledger generates a deterministic SHA-256 proof hash for every scan and stores it in a persistent local log. It is architected to submit transactions to Polygon Amoy when
PRIVATE_KEYandCONTRACT_ADDRESSare configured β currently running in local simulation mode by default.
| Area | Capability |
|---|---|
| π Multi-modal Scanning | Text, Image, Audio, and Video deepfake/scam detection |
| π Browser Extension | Real-time protection on any webpage (Chrome Manifest V3) |
| π Deepfake Detection | Vision ensemble (EfficientNet-B5, ViT, Organika/sdxl-detector) |
| ποΈ Voice Clone Detection | MFCC + F0 analysis + optional Whisper STT |
| βοΈ Evidence Ledger | SHA-256 proof hashing, Polygon Amoy-ready (simulation mode default) |
| π Forensic Reports | PDF export + direct submission workflow to cybercrime.gov.in |
| π‘οΈ Meeting Shield | Real-time frame + audio analysis for Google Meet / Zoom |
| ποΈ Social Media Scanner | Profile image and post content analysis |
| πΆ Child Safety | NSFW and cyberbullying content filtering |
flowchart LR
subgraph Clients
A["React Dashboard"]
B["Chrome Extension"]
end
subgraph Backend
C["/api/scan"]
D["/realtime/video"]
E["/realtime/audio"]
F["/analyze/*"]
end
subgraph ML
G["Text Pipeline"]
H["Image Pipeline"]
I["Audio Pipeline"]
J["Video Pipeline"]
end
subgraph Evidence
K["SHA-256 Hasher"]
L["Blockchain Service (Simulation / Polygon Amoy)"]
end
A --> C
B --> C
C --> G
C --> H
C --> I
C --> J
D --> J
E --> I
F --> G
G --> K
H --> K
I --> K
J --> K
K --> L
flowchart TD
Input["User Input\n(Text / Image / Audio / Video)"]
Input --> T["Text Infer\nDistilBERT + RoBERTa + FinBERT\n+ keyword heuristic engine"]
Input --> Im["Image Infer\nELA + Vision Ensemble\n(EfficientNet-B5, ViT Γ 3)\nor Gemini Flash (cloud mode)"]
Input --> Au["Audio Infer\nMFCC + F0 + Whisper STT\n+ motheecreator model"]
Input --> V["Video Infer\n5-point frame sampling\n+ FFmpeg audio extract"]
T --> R["Risk Engine\nConfidence Scoring + Labelling"]
Im --> R
Au --> R
V --> R
R --> H["SHA-256 Hasher"]
H --> BC["BlockchainService\n(Simulation / Polygon Amoy)"]
BC --> Resp["Structured API Response"]
| Category | Technologies |
|---|---|
| Frontend | React 18 Β· TypeScript Β· Vite Β· Tailwind CSS Β· Zustand Β· Framer Motion |
| Backend | FastAPI Β· Python 3.10+ Β· Uvicorn Β· Pydantic v2 |
| ML β Vision | PyTorch Β· HuggingFace Transformers Β· EfficientNet-B5 Β· ViT (Γ3) Β· OpenCV Β· MediaPipe |
| ML β Audio | Librosa Β· Whisper-Tiny Β· motheecreator/Deepfake-audio-detection |
| ML β Text | Fine-tuned transformer Β· unitary/toxic-bert Β· ProsusAI/FinBERT Β· Keyword heuristic engine |
| Evidence Ledger | SHA-256 Β· web3.py Β· Solidity Β· Polygon Amoy Testnet (simulation mode default) |
| Browser Extension | Chrome Manifest V3 Β· Service Worker Β· Offscreen API |
| Deployment | Docker Β· Railway Β· Vercel |
EmpowerNet-AI/
βββ backend/
β βββ api/
β β βββ routers/ # Modular FastAPI route handlers
β β βββ scan.py
β β βββ realtime.py
β β βββ websocket.py
β βββ blockchain/ # Evidence ledger (simulation-ready Polygon Amoy)
β βββ config/ # Centralized settings (Settings class)
β βββ ml/ # Inference pipelines per modality
β β βββ text_infer.py
β β βββ image_infer.py
β β βββ audio_infer.py
β β βββ video_plus_infer.py
β β βββ ml_service.py # Vision ensemble + real-time video/audio
β β βββ child_safety.py
β βββ models/ # Pydantic request/response schemas
β βββ main.py # App entrypoint β registers all routers
β
βββ frontend/
β βββ pages/ # React page components
β βββ services/ # API client (fetch wrappers)
β βββ store/ # Zustand global state
β
βββ empowernet-extension/ # Chrome Extension (Manifest V3)
β βββ background.js
β βββ content.js
β βββ popup.html / popup.js
β βββ manifest.json
β
βββ docs/ # Architecture diagrams and documentation
βββ .env.example # Environment variable template
βββ Dockerfile # Production Docker image (Railway)
βββ CONTRIBUTING.md
βββ SECURITY.md
βββ CHANGELOG.md
- Python β₯ 3.10
- Node.js β₯ 18.x
cd backend
pip install -r requirements.txt
# Copy and populate environment variables
cp ../.env.example ../.env
uvicorn main:app --reload --port 8001cd frontend
npm install
npm run dev
# β http://localhost:3001- Open
chrome://extensions - Enable Developer mode
- Click Load unpacked β select the
empowernet-extension/directory
# ML Configuration
LOAD_MODELS=false # Set to true to enable local heavy models (GPU recommended)
GEMINI_API_KEY= # Required for cloud vision inference when LOAD_MODELS=false
# Evidence Ledger β leave blank to use simulation mode (default)
POLYGON_RPC_URL=https://rpc-amoy.polygon.technology/
PRIVATE_KEY= # Optional: Polygon wallet private key
CONTRACT_ADDRESS= # Optional: Deployed EvidenceRegistry addressSee CONTRIBUTING.md for setup instructions, code style guidelines, and the pull request process.
See SECURITY.md for the vulnerability reporting process and security disclosures.
This project is licensed under the MIT License β see LICENSE for details.


