A comprehensive phishing detection system combining ensemble machine learning models with Large Language Model (LLM) integration for real-time threat analysis. The system includes a browser extension, a forensic analytics dashboard, and a high-throughput RESTful API.
PhishBlocker utilizes a multi-layered defense strategy:
- Ensemble ML Engine: Leverages LightGBM, TensorFlow, and Transformer-based URL analysis.
- LLM Verification: Deep contextual threat assessment via Google Gemini.
- Distributed Telemetry: Real-time stats synchronization across all neural endpoints.
- Vector Analysis: Lexical and structural URL inspection.
- Contextual Insight: LLM-driven forensic reporting for complex threats.
- Performance: Sub-100ms response times for core ML predictions.
- Accuracy: 98.3% verified detection rate in benchmark testing.
- Browser Extension: Real-time page scanning during navigation.
- Forensic Dashboard: Live threat monitoring and URL probe gateway.
- Whitelisting: Trusted enclave management for verified domains.
- System Bypass: Robust administrative controls for false-positive override.
Detailed technical specifications can be found in ARCHITECTURE.md.
[ UI Layer ] <--- [ API Gateway ] <--- [ Intelligence Engine ] <--- [ Data Layer ]
Extension FastAPI ML Models (LGBM/TF) PostgreSQL
Dashboard Redis Cache Gemini LLM Integration Redis Persistence
- Docker and Docker Compose
- Node.js 20+ (Development)
- Python 3.11+ (Development)
- Google Gemini API Key
-
Clone Repository
git clone https://github.com/roshankumar0036singh/PhishBlocker.git cd PhishBlocker -
Neural Model Setup The models are excluded from Git to keep the repository lightweight.
- Download the model bundle from GitHub Releases.
- Place all files (
.h5,.txt,.pkl,.json) into themodels/directory. - For the extension, ensure
url_classifier.onnxis inextension-react/public/models/.
-
Environment Configuration Copy
.env.productionto.envand provide your API credentials.cp .env.production .env
-
Deployment
docker-compose up -d
- Dashboard:
http://localhost:3000 - API Service:
http://localhost:8000 - API Documentation:
http://localhost:8000/docs
PhishBlocker is released under the MIT License.
Developed for Advanced Threat Detection and User Protection.