← Lab /AI/ML

Prompt choice can swing LLM phishing detection from <1% to 97% bypass

System prompt configuration is a first-order security variable that dramatically changes phishing bypass rates of LLM email agents

AI/ML arXiv 26 Mar 2026 Measurement Simulation evidence Threat model

Published as “The System Prompt Is the Attack Surface: How LLM Agent Configuration Shapes Security and Creates Exploitable Vulnerabilities”

Why it matters

Deployers must co-optimize model choice and system-prompt design, and should augment prompt-only defenses with external tools to handle infrastructure phishing.

Summary

Prompt configuration dominates phishing detection performance: a model’s bypass rate swings from under 1% to 97% across prompts, and signal-based prompts can reach 93.7% recall at 3.8% false-positive rate, but these gains are brittle, collapsing by up to half under infrastructure phishing and incurring wildly varying false-positive costs across models. The paper’s large-scale benchmark (220 k evals) shows only 4 of 110 configurations remain attractive when false-positive penalties are applied, suggesting prompt-only defenses have limited real-world robustness.

What they found 3

  1. Prompt choice causes massive variance in phishing bypass rates.

    “A single model’s phishing bypass rate varies from under 1% to 97% across prompt configurations”

  2. Signal-based prompts can achieve high recall with low false positives on the benchmark.

    “signal-based prompt strategies achieving up to 93.7% recall at 3.8% false positive rate on the benchmark distribution”

  3. Only a few configurations survive a deployability-aware false-positive penalty.

    “only 4 of 110 tested configurations remain attractive for deployment”

Caveats 7

  • infrastructure phishing (signal inversion) collapses optimized defenses by up to half.
  • domain-matching defenses lose up to half their recall when attackers register matching infrastructure.
  • the same infrastructure-aware override producing 8.2% FPR on one model and 67.6% on another.
  • our corpus is synthetically generated
  • evaluation presents core email elements (sender, subject, body, raw URLs) but omits signals available in production deployments - sender identity verification (SPF/DKIM), user organization context, communication history, and additional email metadata
  • our balanced 50/50 dataset gives equal weight to phishing and legitimate emails, whereas real-world email traffic is overwhelmingly legitimate
  • results represent a March 2026 snapshot; temporal stability is unknown

What’s new here 4

  • Introduces PhishNChips, a 220 k-evaluation benchmark covering 11 LLMs and 10 system-prompt strategies for autonomous email agents.
  • Systematically isolates the system prompt as a primary security variable, showing it can outweigh model choice.
  • Develops signal-based prompt strategies that generalize across models and achieve up to 93.7% recall at 3.8% FPR.
  • Proposes the Safetility metric to combine recall and false-positive cost, revealing only a handful of viable configurations.

Threat model stated by the source

Adversaryphishing attacker who can craft malicious emails and register domains matching the sender address
Capabilitycan send phishing emails containing real malicious URLs to the autonomous email agent
Assumesthe agent makes a binary block/allow decision without human review; the system prompt is the sole instruction governing security behavior; the attacker does not have direct access to the model internals