A newer version of the Gradio SDK is available: 6.19.0
metadata
title: Desant Phishing Detection
emoji: π‘οΈ
colorFrom: red
colorTo: green
sdk: gradio
sdk_version: 5.50.0
python_version: '3.10'
app_file: app.py
pinned: true
license: mit
short_description: CLIP-based phishing screenshot classifier by Desant.ai
tags:
- image-classification
- clip
- openclip
- phishing-detection
- cybersecurity
- security
Erna Phishing Detection.
AI-powered phishing detection using CLIP vision models β by Desant.ai
What it does
Upload a screenshot of any web page and our deep learning model will classify it as safe or malicious (phishing). The model was trained on thousands of real phishing and legitimate login page screenshots.
How it works
- You upload a screenshot (PNG, JPEG) of a web page.
- Our CLIP-based model extracts visual features from the screenshot using a frozen OpenCLIP vision encoder (ViT-B/32).
- A custom classifier head (3-layer MLP with dropout) produces a phishing probability score.
- The verdict is returned: SAFE or MALICIOUS, with a confidence score and detailed timing metrics.
Model Architecture
Input Image (screenshot)
β
βΌ
βββββββββββββββββββββββββββ
β OpenCLIP ViT-B/32 β β Frozen pre-trained encoder
β Vision Encoder β
ββββββββββ¬βββββββββββββββββ
β 512-dim features
βΌ
βββββββββββββββββββββββββββ
β Classifier Head β
β Dropout(0.5) β
β Linear(512 β 512) β
β ReLU β
β Dropout(0.3) β
β Linear(512 β 128) β
β ReLU β
β Dropout(0.2) β
β Linear(128 β 2) β β [safe, malicious]
ββββββββββ¬βββββββββββββββββ
β
βΌ
Softmax β Probability
Training Data
- Malicious class: Real phishing login form screenshots collected from PhishTank, OpenPhish, URLhaus, and AlienVault OTX
- Safe class: Legitimate login pages, search engines, and normal web pages
- Resolution: 1920Γ941 screenshots, preprocessed to 224Γ224 for CLIP
- Augmentation: Horizontal flip + color jitter
Performance
| Metric | Score |
|---|---|
| Accuracy | 92β96% |
| Malicious Recall | 90β95% |
| False Positive Rate | 3β8% |
API
This Space connects to the Erna inference API at api.ernacyberops.com running
on GPU. No local model loading is required β inference happens on our servers.
Built by
Desant.ai β Advanced cybersecurity through AI.