Real-Time Phishing Attack Detection in A Chrome Extension Using Hybrid Gwo-Pso Feature Selection and Optimized Xgboost

Authors

  • Aolat Giwa-Raheem Al-Hikmah University, Ilorin
  • Dahiru Haliru Ibrahim
  • Abubakar Faruku Saad
  • Aliyu Munir

DOI:

https://doi.org/10.33003/fjs-2026-1015-5971

Keywords:

Phishing Detection, Cybersecurity, Machine Learning, Chrome Extension, XGBoost, Grey Wolf Optimizer (GWO), Particle Swarm Optimization (PSO), Feature Selection, Real-Time Detection, Browser Security

Abstract

Phishing remains one of the most prevalent and damaging cyber-attack techniques, and traditional detection methods such as blacklisting and static heuristics increasingly fail to identify sophisticated, zero-day deceptive websites. This study proposes a real-time phishing detection system balancing accuracy with the low-latency requirements of browser-side deployment. Website data was acquired from the UCI Phishing Websites repository and the PhishTank repository, after which raw lexical, HTML/DOM structural, and visual features were engineered from each URL. Class imbalance was addressed using a SMOTE-Tomek hybrid sampling technique, while an Isolation Forest model and Z-score standardization cleaned and scaled the feature space. Feature selection and classifier hyperparameter tuning were jointly optimized using a Hybrid Grey Wolf Optimizer-Particle Swarm Optimization (GWO-PSO) algorithm, reducing the input space from 30 candidate features to 9 high-impact indicators used to train an eXtreme Gradient Boosting (XGBoost) classifier. On a held-out test set of 2,463 samples, the GWO-PSO-XGBoost framework achieved 95.0% accuracy, 94% precision, 95% recall, and an AUC-ROC of 0.9897. The trained model was implemented and deployed as a working Google Chrome browser extension, whose source code and live-site test cases are presented as direct evidence of implementation; the deployed extension achieved an average inference latency of 210ms and a false positive rate of 1.7%, outperforming Google Safe Browsing, the PhishTank extension, and the Netcraft toolbar under identical test conditions. These findings demonstrate that hybrid metaheuristic optimization combined with gradient-boosted classification provides an efficient, lightweight, and empirically verifiable solution for real-time phishing defense at the browser edge.

References

Abeysekara, A., & Dissanayake, C. (2025). Dual-architecture URL phishing detection system: A comprehensive approach using lightweight browser extensions and deep analysis models. In 2025 7th International Conference on Advancements in Computing (ICAC) (pp. 1-6). IEEE. https://doi.org/10.1109/icac69156.2025.11361454

Al Abdulwahid, A., Alqahtany, S. S., Syed, D., Al Reshan, M. S., Rajab, K., & Shaikh, A. (2026). A hybrid improved binary GWO-PSO with random forest (IBGWO-PSO-RF) based intrusion detection model for large-scale attacks in IoT environment. Scientific Reports, 16(1), 1-22. https://doi.org/10.1038/s41598-025-33242-w

Al-Sarem, M., Al-Asali, M., Al-Hadhrami, S. A., & Al-Anzi, F. S. (2024). A hybrid framework for phishing URL detection leveraging particle swarm optimization and feature engineering. IEEE Access, 12, 15678-15694. https://doi.org/10.1109/ACCESS.2024.3354321

Dandotiya, M., Goyal, N. K., Khunteta, A., & Tiwari, B. (2026). Real time identification of phishing attacks through machine learning enhanced browser extensions. Scientific Reports, 16(1), Article 35655. https://doi.org/10.1038/s41598-026-35655-7

Dhakar, D. S., Kanauzia, R., Bahuguna, R., & Kaur, S. (2026). PhishGuard: A hybrid NLP-computer vision approach for real-time phishing detection in a browser extension. Journal of Network and Systems Management, 34(2), 45-67. https://doi.org/10.1007/s10922-026-09812-4

Federal Bureau of Investigation. (2022). 2022 Internet crime report. Internet Crime Complaint Center (IC3). https://www.ic3.gov/AnnualReport/Reports/2022_ic3report.pdf

Gad, A. G. (2022). Particle swarm optimization algorithm and its applications: A systematic review. Archives of Computational Methods in Engineering, 29(5), 2531-2561. https://doi.org/10.1007/s11831-021-09694-4

George, A. S. (2024). Finance 4.0: The transformation of financial services in the digital age. Partners Universal Innovative Research Publication, 2(3), 104-125.

Hamdan, A., Tahboush, M., Adawy, M., Alwada'n, T., Ghwanmeh, S., & Husni, M. (2024). Phishing detection using grey wolf and particle swarm optimizer. International Journal of Electrical and Computer Engineering, 14(5), 5961-5969. https://doi.org/10.11591/ijece.v14i5.pp5961-5969

Haruna, W., Aremu, T. A., & Modupe, Y. A. (2022). Defending against cybersecurity threats to the payments and banking system. arXiv preprint. https://arxiv.org/abs/2212.12307

Jadhav, A., & Chandre, P. (2025). A hybrid heuristic-machine learning framework for phishing detection using multi-domain feature analysis. Applied Soft Computing, 168, Article 112345. https://doi.org/10.1016/j.asoc.2025.112345

Jeeva, S. C., & Rajsingh, E. B. (2016). Intelligent phishing url detection using association rule mining. Human-Centric Computing and Information Sciences, 6(1), Article 10. https://doi.org/10.1186/s13673-016-0064-3

Kheruddin, M. S., Zuber, M. A. E. M., & Radzai, M. M. M. (2024). Phishing attacks: Unraveling tactics, threats, and defenses in the cybersecurity landscape. Authorea Preprints. https://doi.org/10.22541/au.170534654.48067877/v1

Kumaraswamy, S., Nayak, S. N., Kumar, N. V., & Waseem, M. (2024). Comparative analysis of machine learning algorithms for phishing website detection. International Journal of Science and Research Archive, 12(1), 293-298. https://doi.org/10.30574/ijsra.2024.12.1.0796

Misiek, M., & Hyla, T. (2026). XGBoost-based URL phishing detection method with cross-dataset validation. IEEE Access, 14, 43200-43215. https://doi.org/10.1109/ACCESS.2026.11428202

Shaikh, M. S., Lin, H., Zheng, G., Wang, C., Lin, Y., & Dong, X. (2024). Innovative hybrid grey wolf-particle swarm optimization for calculating transmission line parameter. Heliyon, 10(19), Article e38555. https://doi.org/10.1016/j.heliyon.2024.e38555

Tanti, R. (2024). Study of phishing attack and their prevention techniques. International Journal of Scientific Research in Engineering and Management, 8(10), 1-8.

Thaqi, L., Halili, A., & Rexha, B. (2024). NoPhish: Efficient Chrome extension for phishing detection using machine learning techniques. arXiv preprint arXiv:2409.10547. https://doi.org/10.48550/arXiv.2409.10547

Yeasmin, S., Baowaly, M. K., Singh, B. C., & Islam, M. S. (2024). EnLeM: Ensemble learning-based model to detect phishing websites. SN Computer Science, 5(1), Article 245. https://doi.org/10.1007/s42979-023-02456-y

Framework of the Developed GWO-PSO-XGBoost Phishing Detection Model

Downloads

Published

14-09-2026

How to Cite

Giwa-Raheem, A., Ibrahim, D. H., Saad, A. F., & Munir, A. (2026). Real-Time Phishing Attack Detection in A Chrome Extension Using Hybrid Gwo-Pso Feature Selection and Optimized Xgboost. FUDMA Journal of Sciences, 10(15), 286-295. https://doi.org/10.33003/fjs-2026-1015-5971