ScamShieldAI: A Decoupled Dual-Path Framework for Real-Time Scam, Phishing-URL and Screenshot Analysis on Client Devices
Scam and phishing lures now arrive through SMS, messaging applications, e-mail and screenshots, and defences built on a single mechanism fail in predictable ways: blocklists overlook fresh or URL-less campaigns, whereas language models may assert domain reputations that they cannot verify. This paper presents ScamShieldAI, a cross-platform (iOS, Android and web) application that runs two independent analysis paths on the client and presents their outputs side by side. The semantic path reads screenshots with a three-tier vision-language OCR cascade and passes the text to a Llama 3.1 8B classifier that returns a bounded 0–99 risk score with itemised reasoning. The intelligence path extracts URLs deterministically and queries the OpenPhish feed and, optionally, Google Safe Browsing; every outcome is mapped to an explicit status so that an unreachable source is never interpreted as a safe verdict. The language model never sees feed results, and the feed adapters never see the model’s verdict. Evidence is deduplicated and ordered with an additive, inspectable 0–100 ranking. On a balanced benchmark of 40 samples, the classifier alone reached 90.00% accuracy (ROC-AUC 0.9762) and the feed alone 75.00%. An OR-combination at the high-risk threshold reached 97.50% accuracy, 100.00% recall and 95.24% precision, lifting recall by 15.0 percentage points over the classifier alone at an unchanged 5.00% false-positive rate. Mean classifier latency was 894.98 ms. We also report limitations, chiefly the small, author-curated benchmark and the exposure of client-side API keys.
Authors
- K. Harshavardhan
- D Venkat Guru Charan
- M Krishna Nipun
- B Rakesh Reddy
Institutions
- Koneru Lakshmaiah Education Foundation (IN)
Publication Details
- Journal
- Research Square
- Published
- 2026-12-01
- DOI
- https://doi.org/10.21203/rs.3.rs-11925155/v1
- Primary Topic
- Spam and Phishing Detection
- Type
- preprint