View a PDF of the paper titled The Phish, The Spam, and The Valid: Generating Feature-Rich Emails for Benchmarking LLMs, by Rebeka Toth and 2 other authors
View PDF
HTML (experimental)
Abstract:In this paper, we introduce a metadata-enriched generation framework (PhishFuzzer) that seeds real emails into Large Language Models (LLMs) to produce 23,100 diverse, structurally consistent email variants across controlled entity and length dimensions. Unlike prior corpora, our dataset features strict three-class labels (Phishing, Spam, Valid), provides full URL and attachment metadata, and annotates each email with attacker intent. Using this dataset, we benchmark two state-of-the-art LLMs (Qwen-2.5-72B and Gemini-3.1-Pro) under both Basic (body, subject) and Full (+URL, sender, attachment) settings. By applying formal confidence metrics (Task Success Rate and Confidence Index), we analyze model reliability, robustness against linguistic fuzzing, and the impact of structural metadata on detection accuracy. Our fully open-source framework and dataset provide a rigorous foundation for evaluating next-generation email security systems. To support open science, we make the PhishFuzzer Dataset, the generation scripts and prompts available on GitHub: this https URL
Submission history
From: Rebeka Toth [view email]
[v1]
Wed, 26 Nov 2025 14:40:06 UTC (588 KB)
[v2]
Sat, 3 Jan 2026 10:37:31 UTC (588 KB)
[v3]
Mon, 26 Jan 2026 11:12:45 UTC (1 KB) (withdrawn)
[v4]
Wed, 11 Feb 2026 15:59:56 UTC (1 KB) (withdrawn)
[v5]
Fri, 20 Mar 2026 14:23:00 UTC (413 KB)


