EXPLAINABLE MACHINE LEARNING FOR RELIABLE PHISHING WEBSITE DETECTION: A TWO-DATASET EXPERIMENTAL STUDY
DOI:
https://doi.org/10.28925/2663-4023.2026.35.1382Keywords:
phishing; explainable artificial intelligence; machine learning; phishing website detection; SHAP; decision support; law enforcement; cyber threat intelligence.Abstract
Phishing website detection is frequently presented as a classification task in which high predictive performance is treated as sufficient evidence of operational usefulness. This approach is incomplete in law-enforcement and cybersecurity settings, where a model output must be interpretable, independently verifiable and separated from conclusions about authorship, intent or legal qualification. The study develops and evaluates a human-centred explainable artificial intelligence framework combining supervised classification with structured analyst-oriented explanations. Five classifiers were assessed on the UCI Phishing Websites benchmark, and a second experiment used the larger PhiUSIIL dataset. Phishing was consistently designated as the positive class. Extra Trees achieved test accuracy of 0.9774, precision of 0.9784, recall of 0.9704, F1-score of 0.9744 and ROC-AUC of 0.9948. Stratified bootstrap intervals quantified test uncertainty: the 95% interval was 0.9670–0.9812 for F1 and 0.9915–0.9976 for ROC-AUC. The Brier score was 0.0187 and ten-bin expected calibration error was 0.0089. TreeSHAP analysis of 400 hold-out observations identified certificate state and anchor behaviour as the dominant global contributors. Across five fitted folds, the mean pairwise Jaccard overlap of the ten leading features was 0.891 (SD 0.094). In a mode-replacement fidelity test, replacing the three leading SHAP features by their training modes reduced F1 from 0.9744 to 0.3543, whereas random three-feature replacement yielded mean F1 of 0.9478. Near-perfect PhiUSIIL performance was not interpreted as deployment readiness: grouped validation, an explicitly defined 18-feature lexical ablation and duplicate analysis exposed collection-specific separability; the lexical-only grouped Extra Trees model retained mean F1 of 0.9970. The proposed Phishing Threat Explanation Card converts a prediction into an auditable record of the score, threshold, leading indicators, verification actions, uncertainty and analyst disposition. The contribution is empirical and procedural: it reports a documented and auditable comparison, quantifies predictive uncertainty, calibration and explanation fidelity, diagnoses inflated benchmark performance and defines safeguards for human oversight.
Downloads
References
Sahingoz, O. K., Buber, E., Demir, O., & Diri, B. (2019). Machine learning based phishing detection from URLs. Expert Systems with Applications, 117, 345–357. https://doi.org/10.1016/j.eswa.2018.09.029
Zhang, Z., Al Hamadi, H., Damiani, E., Yeun, C. Y., & Taher, F. (2022). Explainable artificial intelligence applications in cyber security: State-of-the-art in research. IEEE Access, 10, 93104–93139. https://doi.org/10.1109/ACCESS.2022.3204051
Safi, A., & Singh, S. (2023). A systematic literature review on phishing website detection techniques. Journal of King Saud University - Computer and Information Sciences, 35(2), 590–611. https://doi.org/10.1016/j.jksuci.2023.01.004
Calzarossa, M. C., Giudici, P., & Zieni, R. (2024). Explainable machine learning for phishing feature detection. Quality and Reliability Engineering International, 40(1), 362–373. https://doi.org/10.1002/qre.3411
Zieni, R., Massari, L., & Calzarossa, M. C. (2023). Phishing or not phishing? A survey on the detection of phishing websites. IEEE Access, 11, 18499–18519. https://doi.org/10.1109/ACCESS.2023.3247135
Capuano, N., Fenza, G., Loia, V., & Stanzione, C. (2022). Explainable artificial intelligence in cybersecurity: A survey. IEEE Access, 10, 93575–93600. https://doi.org/10.1109/ACCESS.2022.3204171
Uddin, K. M. M., Biswas, N., Rikta, S. T., Nur-A-Alam, M., & Mostafiz, R. (2025). Explainable machine learning for phishing site detection: A high-efficiency approach using boosting models and SHAP. The Journal of Engineering, 2025(1), Article e70110. https://doi.org/10.1049/tje2.70110
Ribeiro, M. T., Singh, S., & Guestrin, C. (2016). Why should I trust you? Explaining the predictions of any classifier. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (pp. 1135–1144). https://doi.org/10.1145/2939672.2939778
Lundberg, S. M., & Lee, S.-I. (2017). A unified approach to interpreting model predictions. Advances in Neural Information Processing Systems, 30, 4765–4774.
Rudin, C. (2019). Stop explaining black box machine learning models for high stakes decisions and use interpretable models instead. Nature Machine Intelligence, 1, 206–215. https://doi.org/10.1038/s42256-019-0048-x
Kehkashan, T., Abdelhaq, M., Al-Shamayleh, A. S., Huda, N., Yaseen, I. A., Ahmed, A. I. A., & Akhunzada, A. (2025). Explainable phishing website detection for secure and sustainable cyber infrastructure. Scientific Reports, 15, Article 41751. https://doi.org/10.1038/s41598-025-27984-w
Prasad, A., & Chandra, S. (2024). PhiUSIIL: A diverse security profile empowered phishing URL detection framework based on similarity index and incremental learning. Computers & Security, 136, Article 103545. https://doi.org/10.1016/j.cose.2023.103545
Lim, B., Huerta, R., Sotelo, A., Quintela, A., & Kumar, P. (2025). EXPLICATE: Enhancing phishing detection through explainable AI and LLM-powered interpretability [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2503.20796
Mohammad, R., & McCluskey, L. (2012). Phishing Websites [Dataset]. UCI Machine Learning Repository. https://doi.org/10.24432/C51W2X
Prasad, A., & Chandra, S. (2024). PhiUSIIL Phishing URL (Website) [Dataset]. UCI Machine Learning Repository. https://archive.ics.uci.edu/dataset/967/phiusiil%2Bphishing%2Burl%2Bdataset
Breiman, L. (2001). Random forests. Machine Learning, 45, 5–32. https://doi.org/10.1023/A:1010933404324
Geurts, P., Ernst, D., & Wehenkel, L. (2006). Extremely randomized trees. Machine Learning, 63, 3–42. https://doi.org/10.1007/s10994-006-6226-1
Tabassi, E. (2023). Artificial Intelligence Risk Management Framework (AI RMF 1.0) (NIST AI 100-1). National Institute of Standards and Technology. https://doi.org/10.6028/NIST.AI.100-1
Fawcett, T. (2006). An introduction to ROC analysis. Pattern Recognition Letters, 27(8), 861–874. https://doi.org/10.1016/j.patrec.2005.10.010
Molnar, C. (2022). Interpretable machine learning: A guide for making black box models explainable (2nd ed.). https://christophm.github.io/interpretable-ml-book/
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Ольга Габорець

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.