๐ Winner โ IndiaNext Hackathon 2026
Detect phishing, deepfakes, malicious URLs, and AI attacks โ all in one platform.
PhishEye is a real-time AI cybersecurity system that combines NLP, Computer Vision, and Audio Intelligence into a unified threat detection engine โ built and validated under hackathon constraints.
PhishEye is a full-stack cybersecurity intelligence platform built for the IndiaNext Hackathon. It uses state-of-the-art AI models to detect phishing emails, malicious URLs, prompt injection attacks, deepfake images, and AI-generated audio โ all in real time from a single, premium web interface.
| Service | URL |
|---|---|
| Frontend | https://india-next-hackathon-u8hx.vercel.app/ |
| Backend API | https://indianext-hackathon.onrender.com |
| API Health | https://indianext-hackathon.onrender.com/health |
โ ๏ธ The backend runs on Render's free tier. The first request after 15 minutes of inactivity may take 30โ60 seconds to respond (cold start). Subsequent requests are fast.
A quick 60โ90 second demo showcasing real-time threat detection, dashboard insights, and multi-modal analysis.
- Phishing Email Detection โ Analyzes email body, sender, and subject line using a fine-tuned DistilBERT model
- Malicious URL Scanner โ Classifies URLs as benign or malicious using domain-level NLP analysis
- Prompt Injection Detection โ Identifies adversarial prompts designed to hijack LLM behavior (DeBERTa-v3)
- Deepfake Image Detection โ Uses a Vision Transformer (ViT) to detect AI-generated or manipulated faces
- Deepfake Audio Detection โ Detects AI-generated / voice-cloned audio using wav2vec2-base
- Video Scanner (Coming Soon) โ Placeholder for future video deepfake detection
PhishEye follows a modular AI pipeline:
- Client Layer (React + Vite) โ handles user interaction and visualization
- API Layer (FastAPI) โ routes requests to appropriate AI modules
- AI Engine Layer:
- NLP Models (Phishing, URL, Prompt Injection)
- Computer Vision (Deepfake Image)
- Audio Models (Deepfake Audio)
- Risk Scoring Engine โ aggregates outputs into a unified cyber risk score
- Explainability Layer (SHAP) โ interprets model decisions
- Temporal Fusion Engine โ detects multi-stage attack patterns
This architecture ensures scalability, modularity, and real-time performance.
- Real-time Cyber Risk Score gauge (0โ100) with animated SVG
- MITRE ATT&CK technique attribution for every detected threat
- SHAP explainability panel showing what features drove the AI decision
- Temporal fusion analysis โ detects multi-stage attack kill chains over a sliding 5-minute window
- AI-generated attacker/defender narrative summaries
- Live alert window feed auto-refreshed every 15 seconds
- Average risk score bar and worst-severity card
- Full alert history table with timestamps, types, and scores
- Defender perspective: SHAP feature attribution bars and contrastive samples
- Attacker perspective: detected MITRE tactics and adversarial analysis
- Temporal perspective: kill chain visualization, timeline, and time-to-impact card
| Technology | Purpose |
|---|---|
| React 18 | UI framework with hooks |
| Vite 7 | Build tooling with HMR |
| Tailwind CSS v4 | Utility-first styling |
| Framer Motion | Animated transitions and carousel |
| Axios | HTTP client with interceptors |
| React Router v6 | SPA routing |
| Lucide React | Icon library |
| Three.js / Canvas | 3D shield hero + cyber grid backgrounds |
- ๐งฉ Multi-Modal AI Detection โ Text, image, audio, and behavioral threat analysis in one system
- ๐ง Explainable AI (XAI) โ SHAP-based interpretability for transparent decisions
- โฑ๏ธ Temporal Attack Intelligence โ Detects chained attacks across time windows
- ๐ฏ MITRE ATT&CK Mapping โ Aligns threats with industry-standard frameworks
- โก Real-Time Processing โ Instant risk scoring and live dashboard updates
- ๐จ Premium UX โ Interactive, animated cybersecurity dashboard with 3D elements
| Technology | Purpose |
|---|---|
| FastAPI | High-performance Python API |
| HuggingFace Transformers | DistilBERT, DeBERTa, ViT, wav2vec2 models |
| PyTorch | Model inference |
| librosa | Audio pre-processing |
| Pillow | Image pre-processing |
| SHAP | Model explainability |
| Docker | Containerized deployment |
frontend2/
โโโ public/ # Static assets (icons, favicon)
โโโ src/
โ โโโ components/
โ โ โโโ threat-detection/
โ โ โ โโโ scanners/ # EmailScanner, URLScanner, ImageScanner, AudioScanner, PromptScanner, VideoScanner
โ โ โโโ dashboard/ # SHAPExplainabilityPanel
โ โ โโโ ai-insights/ # SHAP bars, contrastive comparison, attacker/defender panels
โ โ โโโ temporal/ # KillChainVisualizer, TemporalMetricsGrid, TemporalNarrative
โ โ โโโ history/ # ThreatHistoryTable, HistoryStatCards, AverageRiskBar
โ โ โโโ home/ # HeroSection, ThreatMeter, ThreatCards, LiveTicker
โ โ โโโ Sidebar.jsx # Global navigation sidebar
โ โ โโโ Navbar.jsx # Top navigation bar
โ โโโ pages/
โ โ โโโ Home.jsx # Landing page with live threat meter
โ โ โโโ ThreatDetectionPage.jsx # Multi-scanner carousel hub
โ โ โโโ ThreatDashboard.jsx # Post-scan results dashboard
โ โ โโโ AIInsightsPage.jsx # SHAP & temporal insights
โ โ โโโ ThreatHistoryPage.jsx # Alert history feed
โ โโโ services/
โ โ โโโ apiService.js # Centralized Axios client โ reads VITE_API_BASE_URL
โ โ โโโ healthCheck.js # Backend connectivity polling with retry logic
โ โโโ utils/
โ โโโ colors.js # Threat color gradient utilities
โโโ .env # Local environment variables (NOT committed)
โโโ vercel.json # Vercel SPA rewrite rules
โโโ vite.config.js # Vite configuration
All API connections are configured through environment variables. Never hardcode backend URLs.
VITE_API_BASE_URL=https://indianext-hackathon.onrender.com- Go to Vercel Dashboard โ your project โ Settings โ Environment Variables
- Add:
| Name | Value |
|---|---|
VITE_API_BASE_URL |
https://indianext-hackathon.onrender.com |
- Set it for Production, Preview, and Development
- Redeploy โ the env var is baked in at build time by Vite
If
VITE_API_BASE_URLis missing on Vercel, all API calls will fail with a Network Error sinceimport.meta.env.VITE_API_BASE_URLresolves toundefined.
- Node.js 18+
- npm or pnpm
- Python 3.10+ (for backend)
git clone https://github.com/your-org/IndiaNext_Hackathon.git
cd IndiaNext_Hackathoncd frontend2
npm installCreate a .env file:
VITE_API_BASE_URL=https://indianext-hackathon.onrender.comStart the dev server:
npm run devThe app will be available at http://localhost:5173
cd backend
pip install -r requirements.txt
uvicorn main:app --reload --port 8000Then update .env:
VITE_API_BASE_URL=http://localhost:8000| Method | Endpoint | Description |
|---|---|---|
POST |
/analyze/phishing |
Phishing email detection (body, sender, subject) |
POST |
/analyze/url |
Malicious URL detection |
POST |
/analyze/prompt-injection |
Prompt injection detection |
POST |
/analyze/deepfake |
Deepfake image detection (multipart file) |
POST |
/analyze/deepfake-audio |
Deepfake audio detection (multipart file) |
POST |
/analyze/temporal |
Temporal fusion kill-chain analysis |
GET |
/alerts/window |
Fetch current alert sliding window |
DELETE |
/alerts/reset |
Clear the alert window |
GET |
/health |
Server health + model load status |
| Detector | Model | Source |
|---|---|---|
| Phishing Email | cybersectony/phishing-email-detection-distilbert_v2.1 |
HuggingFace |
| Malicious URL | kmack/malicious-url-detection |
HuggingFace |
| Prompt Injection | protectai/deberta-v3-base-prompt-injection-v2 |
HuggingFace |
| Deepfake Image | prithivMLmods/Deep-Fake-Detector-v2-Model |
HuggingFace |
| Deepfake Audio | motheecreator/Deepfake-audio-detection |
HuggingFace |
- Individuals โ Detect phishing emails, fake media, and malicious links
- Enterprises โ Monitor and analyze cyber threats in real time
- Security Analysts โ Gain explainable insights into attack patterns
- AI Platforms โ Prevent prompt injection and adversarial inputs
- Content Platforms โ Identify deepfake media before distribution
- Framework: Vite
- Build command:
npm run build - Output directory:
dist - Required env var:
VITE_API_BASE_URL vercel.jsonhandles SPA routing with a catch-all rewrite toindex.html
- Runtime: Python 3.10
- Start command:
uvicorn main:app --host 0.0.0.0 --port 10000 - CORS is open (
allow_origins=["*"]) so any frontend origin can connect - Models load lazily on first request to keep startup fast
- Free tier spins down after 15 min of inactivity โ first cold-start takes ~60s
- Browser extension for real-time phishing and URL detection
- Email client integration (Gmail, Outlook)
- Mobile application for on-the-go threat analysis
- Enterprise-grade API for security platforms
- Continuous model retraining with live threat intelligence
- Full video deepfake detection pipeline
Built for the IndiaNext Hackathon โ a cybersecurity AI challenge to build real-time threat detection systems using modern AI/ML techniques.
This project is built for hackathon demonstration purposes.
