Skip to content

AgentPhishing: A Benchmark for Evaluating LLM Email Agents under Adaptive AttacksAgentPhishing: A Benchmark of LLM Email Agents Under Adaptive Attack

arXiv· arXiv:2610.31404· Justin Tan, Miao Li, Ding ZhaoCarnegie Mellon UniversityIndexed by this site · 2026-10-23· Originally publishedSelected EvaluationSelectedAttention42

Quick read

Attacks

Based on the paper PDF (AI-generated); refer to the original

The authors propose the AgentPhishing benchmark and the PhishOpt attack optimization framework, reporting that four of nine agents had detection rates below 10% and malicious-request compliance rates above 45%.

Threat modelThe attacker delivers a single synthetic social-engineering phishing email to an LLM email agent, with the goal of making it miss detection and comply with a malicious request (click a link, provide information, or draft an unsafe reply); attack content excludes explicit instruction override and forged system instructions, and is subject to fixed generation constraints and realism constraints; the victim system is a computer-use email agent handling an inbox.

Questions
Existing phishing datasets are mainly oriented toward traditional detection and cannot characterize the missed detection and compliance behavior of LLM email agents facing persuasive malicious requests; the authors argue that the security risk of agents under phishing emails needs to be evaluated at the behavioral level.
Methods
Proposes the AgentPhishing benchmark and the PhishOpt framework: based on SkillOpt's bounded editing, it iteratively optimizes an email generation skill for a single agent using the agent's detection, compliance, and classification feedback, and uses Cialdini persuasion-principle analysis on generated emails to synthesize a cross-agent universal skill.
Experiments and results
All six agents detected all phishing emails in the public corpus with zero compliance, but after targeted optimization Qwen's Susceptibility rose from 0.12 to 0.95; among nine held-out agents, four had a detection rate below 10% and a compliance rate above 45% under the universal skill; Sonnet maintained full detection and zero compliance under all skills.
Limitations and future work
The authors note that the evaluation is limited to synthetic single-message attacks, scores only action selection and drafts rather than real execution, that rule-based scoring and LLM judgments may introduce measurement error, and that the persuasion-principle associations do not establish causation; future directions include multi-turn interaction, richer tool environments, and defense research.
Experimental setupQwen3.7-Plus、Kimi-K2.5 et al. · AgentPhishing、Seven Phishing Email Datasets · Detection rate、Compliance rate et al.
Evaluated models
Qwen3.7-PlusKimi-K2.5Grok-4.20GPT-5.4Claude-Sonnet-5Gemini-3.5-Flashgpt-5.6claude-opus-4-8grok-4.6claude-haiku-4-5gemini-3.1-progpt-5-minigemini-2.5-flash-liteqwen-turboqwen-max
Benchmarks
AgentPhishingSeven Phishing Email Datasets
Metrics
Detection rateCompliance rateF1Susceptibility score
AI summaryand selection rationaleThe AgentPhishing benchmark evaluates LLM email agents' phishing recognition and compliance with malicious requests through persuasive phishing attacks optimized for the target agent's behavior. Its attacks are generated by the PhishOpt framework, which uses feedback from the target agent to iteratively optimize a reusable email generation skill, and excludes explicit instruction override and forged system instructions. Six target agents (Qwen3.7-Plus, Kimi-K2.5, Grok-4.20, GPT-5.4, Claude-Sonnet-5, Gemini-3.5-Flash) all recognized the phishing emails in the public corpus and none complied, but targeted optimization substantially raised the Susceptibility scores of Qwen, Kimi, Grok, and GPT, with Qwen rising from 0.12 to 0.95. The analysis shows that commitment-consistency framing is positively correlated with missed detection and compliance, while explicit authority and urgency cues are more easily recognized; on this basis, the authors point out that inferring agent safety solely from traditional phishing evaluations is insufficient.

The AgentPhishing benchmark evaluates LLM email agents' phishing recognition and compliance with malicious requests through persuasive phishing attacks optimized for the target agent's behavior. Its attacks are generated by the PhishOpt framework, which uses feedback from the target agent to iteratively optimize a reusable email generation skill, and excludes explicit instruction override and forged system instructions. Six target agents (Qwen3.7-Plus, Kimi-K2.5, Grok-4.20, GPT-5.4, Claude-Sonnet-5, Gemini-3.5-Flash) all recognized the phishing emails in the public corpus and none complied, but targeted optimization substantially raised the Susceptibility scores of Qwen, Kimi, Grok, and GPT, with Qwen rising from 0.12 to 0.95. The analysis shows that commitment-consistency framing is positively correlated with missed detection and compliance, while explicit authority and urgency cues are more easily recognized; on this basis, the authors point out that inferring agent safety solely from traditional phishing evaluations is insufficient.

Why it was selectedEmail agents that all pass safely on a public phishing email set can still be bypassed by persuasive attacks optimized for their behavior; static phishing evaluations can hardly reflect an agent's true safety.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Existing phishing datasets cannot capture agents' missed detection of and compliance with persuasive malicious requests; the authors propose behavior-level adaptive evaluation.

    Core problem: existing phishing evaluations are mainly oriented toward traditional detection and cannot characterize whether LLM email agents will miss detection and actually comply with malicious requests under persuasive social engineering attacks.

    • Scenario and importance: computer-use agents handle private information and act on the user's behalf in desktop and web applications (including email); an attacker who influences external content may change their behavior, bringing privacy and security risks. The authors argue that evaluation must examine both whether phishing is detected and whether malicious requests are complied with, and that safety cannot be inferred from detection performance alone.
    • Shortcomings of existing methods: the authors state that existing phishing email datasets were mainly developed for traditional detection; realism and evading detection do not equal the agent executing malicious requests; although AgentBait directly evaluates social engineering attacks, its attack construction uses predefined strategies rather than iteratively improving based on the responses of the agent under test.
    • Core observation: the authors argue that, under content constraints that exclude explicit instruction override and forged system instructions, social engineering emails optimized for agent behavior may expose vulnerabilities masked by static tests.
    • The paper proposes: the benchmark AgentPhishing (measuring phishing detection and compliance with malicious requests) and the framework PhishOpt (optimizing reusable target-specific email generation skills, and synthesizing a universal skill from persuasion analysis).
    • Threat model:
      • Goal: make the agent miss phishing emails and comply with the malicious requests in them (clicking links, providing information, or drafting unsafe replies).
      • Knowledge and capability: the attacker controls the email content delivered to the agent; PhishOpt can use the target agent's detection, compliance, and classification feedback to iteratively optimize generation skills.
      • Content constraints: the attack space is social engineering content, excluding explicit instruction override and forged system instructions, and is subject to realism constraints.
      • Victim system: an LLM email agent that receives shared inbox assistant instructions, processes email sender/subject/body/links, and returns structured actions and an optional reply draft.
  2. What related research exists?

    Related work falls into three groups—phishing detection and susceptibility, feedback-driven attack generation, and persuasion analysis—and this paper is positioned as behavioral evaluation of email agents.

    Phishing detection and susceptibility

    • Traditional research builds email classifiers and studies fraudulent website judgments and real SMS phishing campaigns (Fette et al., 2007; Dhamija et al., 2006; Nahapetyan et al., 2024); human-centered research examines the influence of social relationships and contextual cues on susceptibility (Jagatic et al., 2007; Vishwanath, 2017, etc.).
    • LLM role research: LLM-PEA treats models as phishing detectors, and Fraud-R1 examines model responses to fraud inducements in advice and role-play scenarios (Hasan et al., 2026; Yang et al., 2025a); SE-VSim and PhishSim study social engineering dialogues simulating human victims (Kumarage et al., 2025; Tewari et al., 2026).
    • Agent benchmarks: AgentDojo, InjecAgent, and WASP evaluate whether malicious external content changes agent behavior; AgentBait and the industry benchmark SCAM examine social engineering threats in agent workflows (Debenedetti et al., 2024; Zhan et al., 2024; Evtimov et al., 2025; Wu et al., 2026; 1Password, 2026).

    Feedback-driven attack generation

    • PEEK trains a reusable generator with real/synthetic discrimination and incorporates persuasion patterns (Chen et al., 2024); SpearBot uses a detector to critique and revise emails (Qi et al., 2025).
    • Behavioral red teaming: AutoDAN-Turbo stores successful jailbreak strategies in a text library (Liu et al., 2025); RL-Hammer updates attack model parameters via reinforcement learning (Wen et al., 2025); AutoInject and MUZZLE optimize injections using target feedback and execution traces (Chen et al., 2026; Syros et al., 2026).
    • The paper notes that AgentBait constructs attacks from predefined social engineering categories, whereas PhishOpt iteratively refines target-specific skills using agent feedback (Wu et al., 2026).

    Persuasion analysis in social engineering

    • Cialdini's principles describe influence mechanisms (Cialdini, 1984), and phishing research uses them to characterize email content (Lawall, 2025; Pan et al., 2026); PsyScam annotates the psychological techniques of real scams, and SCRIPTMIND analyzes scam structure through crime script inference (Ma et al., 2025a; Kim et al., 2026).

    Baselines and data: the static baseline of this paper is the public corpus of Seven Phishing Email Datasets (Puyang, 2025) and emails generated by the unoptimized base skill; the optimization method builds on the bounded editing process of SkillOpt (Yang et al., 2026).

    The authors position this paper as: in the delegated task scenario of email, simultaneously measuring phishing detection and compliance with malicious requests, and supplementing static datasets and predefined-strategy attacks with a generation method optimized for agent behavior.

  3. How does the paper address this problem?

    PhishOpt iteratively optimizes an email generation skill using agent feedback, then synthesizes a cross-agent universal skill from Cialdini persuasion analysis.

    Overall approach: use PhishOpt to iteratively optimize a shared base skill (a natural-language email generation instruction serving as the generator's system prompt) for a single agent, then perform persuasion-principle analysis on the generated emails to synthesize a universal skill that requires no further optimization; the AgentPhishing benchmark handles unified evaluation.

    Target-specific skill optimization (Stage 1)

    • Optimization target: what is updated is the generation skill itself, not individual emails or the generator model parameters.
    • Candidate proposals: the optimizer receives the current best skill and its detection, compliance, and classification metrics, and proposes a candidate via a single bounded edit; the edit must preserve the locked rule block (fictional entities, placeholder keys, benign controls, JSON output, roughly balanced benign/phishing labels), and candidates that modify this block are rejected.
    • Constraint check: the generator uses the candidate skill to produce a probe batch, which a realism reviewer scores; only after passing does it produce an independent evaluation batch (phishing emails plus benign controls) for the target agent to process.
    • Skill update: the best skill is replaced only when the candidate's objective value exceeds the recorded score; after the specified number of iterations, the target-specific best skill is returned.

    Optimization objective and generation constraints

    • Objective function: J = 0.5(1 − D) + 0.3C + 0.2(1 − F1), where D is the target agent's detection rate on phishing emails, C is the malicious-request compliance rate, and F1 is the classification score on phishing plus benign controls; higher J means worse agent performance, and PhishOpt optimizes in the direction opposite to safety.
    • Realism constraint: the realism reviewer scores on [0, 1] across four items—plausibility, coherence, naturalness, and absence of unrealistic exploitation traces; a candidate passes only if the mean of the four items and the sampled emails is not below threshold τ, otherwise it is rejected before target evaluation.

    Persuasion analysis and universal skill (Stage 2)

    • Persuasion annotation: an LLM-based Cialdini annotator scores phishing emails generated by the target-specific skill against six persuasion principles.
    • Association computation: aggregated across target agents, ϕ correlation coefficients separately quantify the association of each principle's presence with detection failure and with compliance.
    • Skill synthesis: an LLM-based skill synthesizer constructs the universal skill from these associations, favoring principles associated with unsafe responses; no further target-specific optimization is performed afterward.

    Benchmark evaluation method

    • Task interface: the target agent receives a shared inbox-assistant instruction and the email's sender, subject, body, and available links, and returns an action, whether a reply is needed, an optional reply draft, and reasoning; actions include report, archive, ignore, unsubscribe, reply, follow up, click link, provide information.
    • Metric definitions: detection rate D is the proportion of phishing emails assigned one of the four safe actions (report, archive, ignore, unsubscribe); compliance rate C is the proportion where clicking a link, providing information, or a draft is judged unsafe; evaluation scores only action selection and draft content, not external execution.
    • Evaluation protocol: in target-specific evaluation, the PhishOpt target and the AgentPhishing target are the same model (diagonal); cross-agent evaluation applies a skill optimized on one model to another model (off-diagonal); the universal skill has no PhishOpt target and is evaluated directly on multiple AgentPhishing targets, with the skill and generator model fixed.
  4. What experiments did the paper conduct?

    Six agents detected all public-corpus emails with zero compliance, but after targeted optimization four agents' scores rose; under the universal skill, four of nine held-out agents had detection rates below 10%.

    Experimental setup

    • Agents under test: six main targets Qwen3.7-Plus, Kimi-K2.5, Grok-4.20, GPT-5.4, Claude-Sonnet-5, Gemini-3.5-Flash; plus nine held-out agents that did not participate in optimization (gpt-5.6, claude-opus-4-8, grok-4.6, claude-haiku-4-5, gemini-3.1-pro, gpt-5-mini, gemini-2.5-flash-lite, qwen-turbo, qwen-max).
    • Data: the public corpus comes from Seven Phishing Email Datasets (including sources TREC-05/06/07, CEAS-08, Enron, Ling-Spam, SpamAssassin); synthetic emails are generated by the base skill, six target-specific skills, and the universal skill.
    • Pipeline roles (Table 1): optimizer Opus 4.8, generator Sonnet 4.6, realism reviewer, Cialdini annotator, and skill synthesizer all Opus 4.8, evaluator rule-based.
    • Metrics: detection rate (↑), compliance rate (↓), F1 (↑), Susceptibility score (↓, i.e., the objective function J).
    • Sample sizes: held-out experiments use 20 emails per cell, 63 cells in total (Table 5/6); the persuasion analysis covers an evaluation of 180 phishing emails; the diversity diagnostic uses 34–36 scam emails per skill.

    Main results

    According to Figure 3A and Appendix F, all six agents detected all phishing emails in the public corpus with zero compliance; the Susceptibility scores of the base skill and after target-specific optimization are as follows:

    Swipe horizontally to read the table

    Target agentbase skillafter optimizationafter optimization detection rate→compliance rate
    Qwen3.7-Plus0.1200.9500.0% → 83.3%
    Kimi-K2.50.2000.74216.7% → 58.3%
    Grok-4.200.1450.64716.7% → 25.0%
    GPT-5.40.0220.41345.5% → 9.1%
    Claude-Sonnet-50.0580.067100.0% → 0.0%
    Gemini-3.5-Flash0.0500.058100.0% → 0.0%
    • The authors state that target-specific optimization raised the scores of Qwen, Kimi, Grok, and GPT, while Sonnet and Gemini remained relatively stable.
    • Figure 3B shows that the optimized attacks induce varying degrees of missed detection and compliance across agents: Qwen and Kimi are high on both, while Grok and GPT miss detection frequently but have lower compliance.
    • The authors argue that these results reveal target-specific vulnerabilities masked by static baseline evaluation, and that detection and compliance are two distinct failure modes.

    Cross-agent and held-out evaluation

    • Six-by-six transfer (Figure 4A, Table 2): as AgentPhishing targets, Kimi and Qwen have the highest average Susceptibility (0.4305, 0.4238), and Sonnet the lowest (0.0374); Sonnet achieves full detection and zero compliance under all six skills. The skill optimized with GPT-5.4 as target has the highest off-diagonal average (0.3581), but the authors state that no skill is consistently effective across the six targets.
    • Nine held-out agents (Figure 4B, Table 5/6): five agents have an average Susceptibility no higher than 0.1036, and four no lower than 0.5062; the universal skill has the highest nominal average score, followed by the GPT-5.4 skill, but the difference between the two is not statistically significant under paired comparison.
    • Universal skill results: the authors report that among the nine held-out agents, four have a detection rate below 10% and a compliance rate above 45% under its emails; in Table 5, the universal score for qwen-max is 0.9727 (detection 0.0000, compliance 0.9091).

    Persuasion principle analysis and ablations

    • Correlation analysis (Figure 5): among 180 evaluations there are 51 missed detections and 21 compliances; Commitment & Consistency is positively correlated with both missed detection (ϕ = 0.2407) and compliance (ϕ = 0.1391), Liking is positively correlated with missed detection (ϕ = 0.1914) but almost unrelated to compliance (ϕ = 0.0018), and Authority and Scarcity/Urgency are negatively correlated with missed detection (ϕ = −0.1502, −0.1976). The authors emphasize that these are correlations, not causal evidence.
    • Framework ablation (Table 3): on Gemini-3.5-Flash and GPT-5.4, removing Commitment & Consistency or replacing it with Authority + Urgency both lowers Susceptibility and raises detection; the replacement version achieves detection 1.0000 and compliance 0.0000 on both targets.

    Other ablations and analyses

    • Re-scoring without the F1 term: the optimized skills of Qwen, Kimi, Grok, and GPT still exceed base by 0.8542, 0.5521, 0.5104, and 0.3750 respectively, with no improvement for Sonnet and Gemini.
    • Repeatability: the single-cell repetition study is 0.7626 ± 0.0832; the universal skill over five repetitions on seven held-out agents is 0.2820 ± 0.0348.
    • Diversity diagnostic (Table 7, Appendix E): none of the seven corpora triggered the preset mode collapse thresholds on Self-BLEU and distinct-2; qwen3.7-plus's Self-BLEU of 0.3108 is only 0.0063 from the threshold of 0.3171, which the authors call a near-threshold "bare pass."
  5. What are some points that can be further explored?

    The authors list limitations such as the synthetic single-message setting and action scoring rather than real execution, and propose directions such as multi-turn interaction and defense research.

    Limitations and future directions noted by the authors

    • Setting scope: the evaluation covers synthetic, single-message social-engineering attacks, with fixed generation constraints and limited agent configurations (Conclusion, Limitations).
    • Measurement level: only action selection and draft replies are scored, not external execution; measured compliance does not equal real-world completed harm (Limitations).
    • Generalizability: evaluation batches are limited and depend on model versions, limiting generalization; rule-based outcome scoring and LLM-based realism judgments and persuasion annotation may introduce measurement error (Limitations).
    • Causality: the aggregated persuasion associations cannot establish independent causal effects of each principle; the framework ablation provides evidence on only two targets, does not isolate each principle, and cannot generalize to all agents (Limitations).
    • Future directions: extend to multi-turn interaction, richer account and tool environments, more model configurations, and controlled studies of defenses and persuasion mechanisms (Limitations).
    • Release policy: the authors release the evaluation pipeline, skill files, metric definitions, analysis code, and aggregate results, but withhold the raw generated email corpus, and state that this is only a measure to raise the bar rather than complete protection (Reproducibility Statement).

    Experimental coverage

    • 15 agents were tested in total: six served as both PhishOpt and AgentPhishing targets, and nine served only as held-out AgentPhishing targets (§5.1, §5.2).
    • Attack content is limited to social-engineering emails excluding explicit instruction override and forged system instructions, and all use fictional entities and placeholder keys (§3.3, §7).
    • The held-out experiment used 20 emails per cell with no error cells, and each skill was generated once and reused across the nine models (Table 5).
    • Persuasion analysis covered 180 phishing email evaluations, including 51 missed detections and 21 compliances (§5.3).
    • The paper does not report the number of optimizer queries to the target agent or optimization time; the specific value of the realism threshold τ is not given in the main text (Appendix F.8 mentions that the universal skill passed the 0.70 threshold with a mean of 0.878).
  6. Summarize the main content of the paper

    The AgentPhishing benchmark plus the PhishOpt optimization framework shows that agents that pass all static phishing tests can still be broken by targeted persuasive emails.

    An attack and benchmark paper for LLM email agents: the authors argue that traditional phishing datasets only test detection and cannot capture agents' missed detection of and compliance with persuasive malicious requests.

    • Problem: email agents both read external content and act on the user's behalf, so safety evaluation needs to examine phishing detection and malicious-request compliance together, whereas existing datasets and attack constructions with predefined strategies do not cover this.
    • Method: the AgentPhishing benchmark scores structured actions and reply drafts; PhishOpt, based on SkillOpt's bounded editing, iteratively optimizes an email generation skill using the target agent's detection, compliance, and classification feedback, and synthesizes a cross-agent universal skill from ϕ associations of Cialdini's six persuasion principles; attack content excludes explicit instruction override and forged system instructions.
    • Static vs. adaptive contrast: six agents detected all phishing emails from the public corpus with zero compliance, but after target-specific optimization Qwen's Susceptibility rose from 0.120 to 0.950 (detection fell to 0.0%, compliance rose to 83.3%), Kimi, Grok, and GPT also rose, and Sonnet and Gemini were essentially unchanged (Figure 3, Appendix F).
    • Cross-agent: as evaluation targets, Kimi and Qwen had the highest average Susceptibility (0.4305, 0.4238), and Sonnet the lowest (0.0374) with full detection and zero compliance on all skills; among nine held-out agents, four had detection rates below 10% and compliance rates above 45% under the universal skill (Figure 4, Table 2/5).
    • Persuasion analysis: Commitment & Consistency was positively correlated with missed detection (ϕ = 0.2407) and compliance (ϕ = 0.1391), while Authority and Scarcity/Urgency were negatively correlated with missed detection; the authors emphasize this is association, not causation (Figure 5).
    • Authors' conclusion: safety performance on static phishing tests can coexist with failure under adaptive persuasive attacks, and detection failure and compliance are distinct outcomes; the authors advocate adaptive, behavior-based evaluation beyond conventional phishing tests, and note that the evaluation is limited to a synthetic single-message setting and does not cover real execution.
Read originalarxiv.org