Machine Learning for Phishing URL Detection at Low False-Positive Rates

Muhammad Amir Malik
Ministry of Information Technology and Telecommunication, Pakistan

Abstract

Industry telemetry reports roughly 3.8 million phishing attacks in 2025, with phishing links delivered by short message service (SMS), termed smishing, accounting for a growing share. Any network-side filter must therefore screen enormous streams of uniform resource locators (URLs) that are overwhelmingly benign, and the false-positive rate (FPR) becomes the binding constraint: even a 0.1% FPR yields about 10 false alerts per 10,000 screened URLs, which can exceed the true phishing count at realistic base rates. This paper asks how many phishing links can be caught at an operationally viable FPR. We evaluate two CPU-only, URL-only classifiers on the public PhreshPhish benchmark: logistic regression over TF-IDF character n-grams (LR-Char) and gradient-boosted trees over 30 lexical features (GBT-Lex). A detection threshold is calibrated once on a held-out validation month to target a 0.1% FPR and is then frozen for all test evaluation. At this operating point, GBT-Lex attains mean recall 0.71 at an observed FPR of 0.094%, against 0.62 at 0.098% for LR-Char. Average precision collapses with the base rate for both models, falling from above 0.94 on the 46%-phishing full test set to 0.31 or below at 0.05% prevalence. At 1% prevalence, GBT-Lex raises 80 alerts per 10,000 URLs while catching 71 of 100 phishing links, versus 72 alerts and 62 catches for LR-Char. These results quantify what balanced-split accuracy conceals and support operator-side SMS link triage on commodity CPU hardware.

Keywords: alert burden ,false-positive rate; gradient boosting ,phishing detection; security operations; URL classification