Clouding the Mirror: Stealthy Prompt Injection Attacks Targeting LLM-based Phishing Detection
Takashi Koide, Hiroki Nakano, Daiki Chiba
TL;DR
This work identifies and systematizes prompt injection risks in multimodal LLM-based phishing detectors through a two-axis taxonomy that couples Attack Techniques with Attack Surfaces. It demonstrates that even advanced models like GPT-5 remain vulnerable to cleverly embedded instructions across HTML, URLs, and visuals, potentially degrading phishing judgments or disrupting pipelines. The authors introduce InjectDefuser, a defense framework combining prompt hardening, allowlist-based retrieval augmentation, and output validation, and show substantial reductions in attack success rates across multiple models and surfaces. The findings offer actionable mitigation strategies and a structured threat model to strengthen future, real-world deployment of LLM-based phishing countermeasures.
Abstract
Phishing sites continue to grow in volume and sophistication. Recent work leverages large language models (LLMs) to analyze URLs, HTML, and rendered content to decide whether a website is a phishing site. While these approaches are promising, LLMs are inherently vulnerable to prompt injection (PI). Because attackers can fully control various elements of phishing sites, this creates the potential for PI that exploits the perceptual asymmetry between LLMs and humans: instructions imperceptible to end users can still be parsed by the LLM and can stealthily manipulate its judgment. The specific risks of PI in phishing detection and effective mitigation strategies remain largely unexplored. This paper presents the first comprehensive evaluation of PI against multimodal LLM-based phishing detection. We introduce a two-dimensional taxonomy, defined by Attack Techniques and Attack Surfaces, that captures realistic PI strategies. Using this taxonomy, we implement diverse attacks and empirically study several representative LLM-based detection systems. The results show that phishing detection with state-of-the-art models such as GPT-5 remains vulnerable to PI. We then propose InjectDefuser, a defense framework that combines prompt hardening, allowlist-based retrieval augmentation, and output validation. Across multiple models, InjectDefuser significantly reduces attack success rates. Our findings clarify the PI risk landscape and offer practical defenses that improve the reliability of next-generation phishing countermeasures.
