Manuscript Offprint

arXiv:2610.31404

AgentPhishing: A Benchmark of LLM Email Agents Under Adaptive Attack

Justin Tan, Miao Li, Ding Zhao

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Computer-use agents increasingly handle private information and act on users' behalf across desktop and web applications, including email. Phishing therefore poses privacy and security risks that depend not only on whether agents recognize malicious messages, but also on how they respond. Existing phishing datasets were developed primarily for conventional detection, leaving agent susceptibility to persuasive malicious requests insufficiently characterized. To expose vulnerabilities that pre-existing datasets may miss, we introduce AgentPhishing, a benchmark for evaluating whether persuasive phishing attacks can evade detection and induce LLM email agents to comply with malicious requests. We develop PhishOpt, which optimizes reusable email-generation skills against individual agents under fixed benchmark constraints and a realism constraint. We analyze the generated emails using Cialdini's persuasion principles to identify strategies associated with agent failures and use these findings to construct a universal generation skill. Our evaluation shows that agents can handle pre-existing phishing emails safely yet remain susceptible to attacks adapted to agent behavior, while in an AgentPhishing evaluation of nine agents, four exhibit phishing-detection rates below 10% and malicious-request compliance rates above 45%. These results highlight the limits of inferring agent safety from conventional phishing evaluations and the need to assess how agents respond to persuasive malicious requests.

1 INTRODUCTION

Computer-use agents powered by large language models (LLMs) and vision-language models (VLMs) offer a way to delegate everyday tasks across desktop and web applications (OpenAI, 2025; Anthropic, 2024; Google DeepMind, 2025; Zhou et al., 2026; Kimi Team, 2026; Xie et al., 2024; Drouin et al., 2024). To carry out these tasks, agents interpret external content while accessing private information and taking actions on users' behalf. Adversaries who influence this content may redirect those actions, creating privacy and security risks (Debenedetti et al., 2024; Zhan et al., 2024). Agents managing email provide a concrete setting for studying these risks: unlike conventional phishing detectors that classify messages, they may also carry out requests within them, including requests to disclose sensitive information or perform other unauthorized actions (Wu et al., 2026; 1Password, 2026). Assessing their trustworthiness in this setting requires examining both whether they detect phishing and whether they comply with malicious requests, rather than inferring safe behavior from detection performance alone (Levy et al., 2026).

Prior work shows that deceptive messages can evade phishing detectors, influence LLM judgments, and induce unsafe actions by agents carrying out user tasks (Qi et al., 2025; Yang et al., 2025a; Wu et al., 2026; 1Password, 2026). Existing phishing email datasets provide reference material for evaluating detection performance (Puyang, 2025; Ganiuly & Smaiyl, 2025), but as agents and their defenses evolve, continued risk assessment also requires methods that can generate and refine attacks against updated systems. Phishing research provides foundations for such methods through reusable generators with realism validation and persuasion analysis (Chen et al., 2024), and iterative email refinement using detector feedback (Qi et al., 2025). However, realism and detection evasion do not measure whether an agent carries out a malicious request, motivating evaluation that accounts for behavior. Feedback-driven red-teaming addresses this need by learning reusable attack strategies and optimizing attacks through target responses and execution outcomes (Liu et al., 2025; Wen et al.,

2025; Chen et al., 2026; Syros et al., 2026). Yet success under prompt-injection attacks does not establish how effective social-engineering attacks remain when explicit instruction overrides and fabricated system directives are excluded. AgentBait directly evaluates social-engineering attacks that use deception and persuasion to induce unsafe actions by task-performing agents, including through email-based inducements (Wu et al., 2026). Its reported attack construction, however, follows predefined strategies rather than iteratively improving generation from the evaluated agent's responses. These complementary advances motivate a more specific investigation: how do agents' phishing detection and compliance with malicious requests change when the generation of social-engineering emails is optimized against their behavior under these attack-content constraints?

To address this question, we introduce AgentPhishing, a benchmark for evaluating agents' phishing detection and compliance with malicious requests under social-engineering attacks in email tasks. We construct its adaptive attacks using PhishOpt, which optimizes target-specific generation skills and uses persuasion analysis to derive a universal skill. Its optimization procedure builds on SkillOpt (Yang et al., 2026) to refine email-generation skills from target-agent feedback under fixed generation requirements and a realism constraint. We analyze emails generated by the agent-specific skills using Cialdini's persuasion principles (Cialdini, 1984), both to characterize framings associated with detection and compliance outcomes and to guide the construction of a universal generation skill. Our experiments compare pre-existing phishing emails, unoptimized synthetic emails, and skill-generated attacks under a common evaluation protocol to assess how attack generation affects observed safety performance. We also evaluate agent-specific and universal skills across agents to examine their cross-agent effectiveness.

Our contributions are:

• We introduce benchmark AgentPhishing for agent safety evaluation under social-engineering attacks in email tasks, measuring phishing detection and compliance with malicious requests.

• We present framework PhishOpt that evolves reusable, target-specific phishing-generation skills using agent feedback and derives a universal skill from persuasion analysis.

• We show that strong performance on pre-existing phishing emails can coexist with detection failures and malicious-request compliance under PhishOpt-generated attacks, and characterize cross-agent susceptibility and persuasion framings associated with these outcomes.

References (81)