Explainable and Robust Machine Learning for Phishing URL Detection: A Cross-Dataset Evaluation

Phishing URL detection using machine learning has achieved near-perfect accuracy on popular benchmark datasets, but the extent to which these results generalize across datasets remains unclear. We train a Random Forest classifier on the PhiUSIIL phishing URL dataset (235,795 records) and evaluate it on the UCI Phishing Websites dataset (11,055 records), after mapping a subset of PhiUSIIL features into the UCI feature space. In-domain, our model achieves balanced accuracy of 0.9999 on a domain-separated PhiUSIIL test split and 0.9979 for a URL-lexical-feature-only variant. On the external UCI dataset, balanced accuracy drops to 0.9530 (full numeric) and 0.6753 (transfer experiment using 10 mapped features), with a generalization gap of 0.287. We further analyze 64 feature-vector groups with conflicting labels in the UCI dataset and show that a trained model is near chance-level on those rows, indicating an irreducible label-noise ceiling rather than a model deficiency. Our results argue that high in-domain performance is insufficient evidence of real-world reliability and that multi-dataset evaluation should be standard practice for phishing detectors.

Link
https://doi.org/10.5281/zenodo.23328047
Found by
DataCite
Authors
Salahudin Mohamed Ibrahim
Organizations
Independent Researcher
Categories
benchmark, evaluation, dataset
Published
2026-10-12
Last seen by the radar
2026-10-14
Citations
0
Downloads
0
Views
0
Radar score
50.14 / 100 (how it is scored)
Why it scored so
Also found via DataCite; Matched: benchmark, dataset, evaluat; Primary record: DataCite
Related links
https://zenodo.org/doi/10.5281/zenodo.23328047
https://doi.org/10.5281/zenodo.23328046
https://zenodo.org/doi/10.5281/zenodo.23328046
Is this record right? If you made this work and something here is wrong or missing, tell us what to fix.

More records found by DataCite