← Lab /Security & privacy

LoginTrap induces logins in LLM web agents with 86% success

LoginTrap achieves 86% average end-to-end attack success against LLM-based web agents

Security & privacy arXiv 5 Aug 2026 Attack Prototype evidence Threat model

Published as “LoginTrap: Uncovering Task-Agnostic Phishing-Style Indirect Prompt Injection Attacks against LLM-based Web Agents”

Why it matters

Login inducement reveals authentication as a critical security boundary for web agents, motivating the need for authentication-aware defenses.

Summary

LoginTrap induces LLM-based web agents to submit credentials on attacker-controlled login pages, achieving 86% average end-to-end attack success across LLM backbones and remaining effective across agent architectures. The paper reports 93% login entry rate and 86% attack success rate, with all tested webpages exploitable, but it does not provide a dedicated limitations section.

What they found 4

  1. LoginTrap reaches 86% average end-to-end attack success across LLM backbones.

    “LoginTrap reaches 86% average end-to-end attack success across LLM backbones and remains effective across agent architectures and defenses.”

  2. Average login entry rate is 93% and average attack success rate is 86% across backbones.

    “Overall, LoginTrap achieves an average LER of 93% and an average ASR of 86%, showing that login inducement is effective across the tested LLM backbones.”

  3. All tested domains are fully exploitable across all backbones.

    “LoginTrap makes all tested domains fully exploitable across all backbones.”

  4. Login entry remains high (84%-94%) across architectures, but full attack success varies (68%-89%).

    “The overall LER remains high for all agents, ranging from 84% to 94%, which indicates that all tested architectures can be induced to enter the forged login path. The larger variation appears in ASR, which ranges from 68% to 89%.”

Caveats 2

  • GPT-4o and DeepSeek-V3.2 exhibit larger LER-ASR gaps despite high LER, requiring more attempts and achieving lower leakage reliability.
  • Under Skyvern and LiteWebAgent, a small number of webpages remain unexploited in several domains.

What’s new here 3

  • Task-agnostic login-inducing attack that does not require knowledge of the user task or agent internals.
  • Fuzzing-inspired generation of page-specific indirect injection statements using only webpage context.
  • Systematic evaluation of login inducement as a privacy leakage vector across multiple LLM backbones and diverse web agent architectures.

Threat model stated by the source

Adversaryattacker controlling cloned webpages and the downstream login page
Capabilitycan embed malicious content in the page, present pop-ups, and host a controlled login flow
Assumesattacker does not know the user task; attacker does not know the web agent architecture, underlying LLM, system prompt, or safety policy; attacker cannot modify the agent runtime or observe its internal reasoning