StackShield: Stacked Character-Level and Explainable URL Features for Phishing Detection in QR/NFC Systems

Abstract QR codes and NFC tags hide their destination URL until the user scans or taps, so phishing (quishing) must be detected from the URL alone, before any page loads. We show that the 97–99% accuracy reported for URL detectors does not hold under these scan-time conditions. On the UCI Phishing Websites dataset, accuracy falls from 97.2% to 73.7% when only URL-string features are used. In PhiUSIIL, every legitimate URL is an https://www. homepage, so a one-line rule reaches 99.1% accuracy; the same rule exceeds 99.6% on two further benchmarks, and a PhiUSIIL-trained model performs at chance level on four other datasets. We propose StackShield, a scan-time detector that stacks the out-of-fold score of a character n-gram model with 116 explainable lexical, structural, hosting and brand-impersonation features in an XGBoost classifier. On 166,542 PhreshPhish URLs collected after the training period, StackShield raises balanced accuracy from 89.1% to 96.8% (AUC 99.5%) and detects 94.4% of phishing at a 1% false-positive rate, versus 71.9% for the baseline. Detection of lookalike https://www. phishing rises from 66% to 85%, and of brand impersonation from 71% to 97%. A heterogeneous stacking ensemble adds no practical gain at 35 times the training cost. StackShield classifies a URL in 25 ms and explains its decisions with SHAP.

Authors

Institutions

Publication Details

Journal
Research Square
Published
2026-11-02
DOI
https://doi.org/10.21203/rs.3.rs-11394102/v1
Primary Topic
Spam and Phishing Detection
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
preprint

StackShield: Stacked Character-Level and Explainable URL Features for Phishing Detection in QR/NFC Systems

Mustafa AL SAMARA
3 links
Research Square
Spam and Phishing Detection
preprint

StackShield: Stacked Character-Level and Explainable URL Features for Phishing Detection in QR/NFC Systems

Mustafa AL SAMARA
preprint en

Abstract

Abstract QR codes and NFC tags hide their destination URL until the user scans or taps, so phishing (quishing) must be detected from the URL alone, before any page loads. We show that the 97–99% accuracy reported for URL detectors does not hold under these scan-time conditions. On the UCI Phishing Websites dataset, accuracy falls from 97.2% to 73.7% when only URL-string features are used. In PhiUSIIL, every legitimate URL is an https://www. homepage, so a one-line rule reaches 99.1% accuracy; the same rule exceeds 99.6% on two further benchmarks, and a PhiUSIIL-trained model performs at chance level on four other datasets. We propose StackShield, a scan-time detector that stacks the out-of-fold score of a character n-gram model with 116 explainable lexical, structural, hosting and brand-impersonation features in an XGBoost classifier. On 166,542 PhreshPhish URLs collected after the training period, StackShield raises balanced accuracy from 89.1% to 96.8% (AUC 99.5%) and detects 94.4% of phishing at a 1% false-positive rate, versus 71.9% for the baseline. Detection of lookalike https://www. phishing rises from 66% to 85%, and of brand impersonation from 71% to 97%. A heterogeneous stacking ensemble adds no practical gain at 35 times the training cost. StackShield classifies a URL in 25 ms and explains its decisions with SHAP.

Research Square
Joaan Bin Jassim Academy for Defence Studies (QA)
Spam and Phishing Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
StackShield: Stacked Character-Level and Explainable URL Features for Phishing Detection in QR/NFC Systems — Mustafa AL SAMARA · Research Square (2026) | TGRS Research Map | TGRS