Can LLM-Embeddings Detect Phishing URLs?

Phishing attacks continue to be a prevalent cyber-security threat that mimics trusted websites to steal sensitive user information. This results in considerable personal and organisational damage. Traditional countermeasures like URL blacklisting and recent machine learning and deep learning models are limited in terms of generalisability. While more recent large language models (LLMs) have been investigated for phishing detection, few have evaluated LLM-based URL embeddings for phishing detection. To address this issue, in this paper, we evaluate three different LLMs using three URL datasets, for phishing detection based on URL embeddings extracted from fine-tuned models. Our evaluations showed Gemma-2B to be the best-performing model with an average F1 score of 0.91 across all test sets. Using the best-performing model we further demonstrate two model implementations: a webpage implementation for users to determine if a URL is phishing or not, and a Gmail API integration to classify which emails are spam.

Authors

Institutions

Publication Details

Published
2025-09-15
DOI
https://doi.org/10.1109/lcn65610.2025.11146373
Citations
1
Primary Topic
Spam and Phishing Detection
Type
article
Field-Weighted Citation Impact
3.25
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Can LLM-Embeddings Detect Phishing URLs?

Kajavahini Suseenthiran, Fariza Rashid, Shahid Rauf, Thilina N. Weerasinghe et al.
1 citations
Spam and Phishing Detection
3.25
article

Can LLM-Embeddings Detect Phishing URLs?

Kajavahini Suseenthiran, Fariza Rashid, Shahid Rauf, Thilina N. Weerasinghe, Munzir Muneer
article en
1 citations

Abstract

Phishing attacks continue to be a prevalent cyber-security threat that mimics trusted websites to steal sensitive user information. This results in considerable personal and organisational damage. Traditional countermeasures like URL blacklisting and recent machine learning and deep learning models are limited in terms of generalisability. While more recent large language models (LLMs) have been investigated for phishing detection, few have evaluated LLM-based URL embeddings for phishing detection. To address this issue, in this paper, we evaluate three different LLMs using three URL datasets, for phishing detection based on URL embeddings extracted from fine-tuned models. Our evaluations showed Gemma-2B to be the best-performing model with an average F1 score of 0.91 across all test sets. Using the best-performing model we further demonstrate two model implementations: a webpage implementation for users to determine if a URL is phishing or not, and a Gmail API integration to classify which emails are spam.

University of Ruhuna (LK), The University of Sydney (AU)
Openalex Percentile: Top 6%
Spam and Phishing Detection
3.25
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.

Can LLM-Embeddings Detect Phishing URLs? — Kajavahini Suseenthiran, Fariza Rashid, et al. · (2025) | TGRS Research Map | TGRS