Cross-model evaluation of phishing detectors against LLM-generated emails.
Rommel Gutierrez, William Villegas-Ch, Jaime Govea
Escuela de Ingeniería en Ciberseguridad, FICA, Universidad de las Américas, Quito, Ecuador.
Key points
From the paper's conclusion- A balanced corpus of 9,986 phishing emails was assembled, comprising 4,986 emails generated by three modern LLMs (GPT-4.1, DeepSeek 3.2, and Llama 3.3 70B) across five thematic categories, and 5,000 human phishing emails sampled in a stratified manner from five public sources.
Abstract
Phishing remains a prevalent cyberattack vector, and the widespread adoption of large language models (LLMs) has enabled adversaries to generate grammatically correct and contextually coherent phishing emails at scale, against which conventional detection systems are less effective. Although stylometric methods achieve over 95% accuracy within a single generator, their performance has not been systematically evaluated when the source model changes between training and deployment. This represents a significant gap, as adversaries can switch generators rapidly. A balanced corpus of 9,986 phishing emails was assembled, comprising 4,986 emails generated by three modern LLMs (GPT-4.1, DeepSeek 3.2, and Llama 3.3 70B) across five thematic categories, and 5,000 human phishing emails sampled in a stratified manner from five public sources. Seventeen stylometric features were extracted, and Logistic Regression and XGBoost classifiers were evaluated under intra-model, cross-model, threshold-recalibrated, cross-dataset, and aggregated-pool settings. Intra-model F1 scores reached 0.96 under stratified cross-validation and 0.999 on held-out splits used for the cross-model matrix. However, cross-model F1 dropped by 28.0 percentage points under the default decision threshold of 0.5. Notably, the area under the receiver operating characteristic curve remained above 0.96 in every off-diagonal cell, indicating that discriminative information is preserved even though the decision threshold is generator-specific. Recalibrating the threshold on a small target subset reduced the gap to 4.0 percentage points (an 86% reduction), and an aggregated-pool detector achieved F1 = 0.997 on each generator. This work reframes cross-model phishing detection from a problem of model incompatibility to one of practical calibration, and provides two deployable solutions, threshold recalibration on a small target slice and aggregated-pool training, along with a publicly released multi-LLM corpus.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- PhishGen: Understanding LLM Capabilities in Automated Phishing Website GenerationarXiv · 2026
- EdgeGuard: Source-aware robustness and edge-feasibility evaluation of lightweight email phishing detectors under cross-LLM generated attacksJournal of King Saud University Computer and Information Sciences · 2026
- Reassessing Machine Learning for Phishing Email Detection: Data Leakage, Cross-Dataset Performance, and False PositivesFuture Internet · 2026
- AgentPhishing: A Benchmark of LLM Email Agents Under Adaptive AttackarXiv · 2026
- CredLeakBench: Evaluating Credential Leakage and Recovery in LLM AgentsarXiv · 2026
- Robust Explainable and Calibrated Machine Learning for Phishing URL Detection under Constrained Feature PerturbationsIJAICET - International Journal of Artificial Intelligence Cybersecurity and Emerging Technologies · 2026