paper-with-me

홈 › Papers

Manipulating LLM Web Agents with Indirect Prompt Injection Attack via HTML Accessibility Tree

2025-07-20 · Sam Johnson, Viet Pham, Thai Le arxiv

This work demonstrates that LLM-based web navigation agents offer powerful automation capabilities but are vulnerable to Indirect Prompt Injection (IPI) attacks. We show that adversaries can embed universal adversarial triggers in webpage HTML to hijack agent behavior that utilizes the accessibility tree to parse HTML, causing unintended or malicious actions. Using the Greedy Coordinate Gradient (GCG) algorithm and a Browser Gym agent powered by Llama-3.1, our system demonstrates high success rates across real websites in both targeted and general attacks, including login credential exfiltration and forced ad clicks. Our empirical results highlight critical security risks and the need for stronger defenses as LLM-driven autonomous web agents become more widely adopted. The system software (https://github.com/sej2020/manipulating-web-agents) is released under the MIT License, with an accompanying publicly available demo website (http://lethaiq.github.io/attack-web-llm-agent).

📄 PDF Abstract BibTeX arXiv:2507.14799

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

AgentVigil: Generic Black-Box Red-teaming for Indirect Prompt Injection against LLM Agents

2025-05-09 · Zhun Wang, Vincent Siu, Zhe Ye, Tianneng Shi 외

The strong planning and reasoning capabilities of Large Language Models (LLMs) have fostered the development of agent-based systems capable of leveraging external tools and interacting with increasingly complex environme…

NavigateRed Teaming

EVA: Red-Teaming GUI Agents via Evolving Indirect Prompt Injection

2025-05-20 · Yijie Lu, Tianjie Ju, Manman Zhao, Xinbei Ma 외

As multimodal agents are increasingly trained to operate graphical user interfaces (GUIs) to complete user tasks, they face a growing threat from indirect prompt injection, attacks in which misleading instructions are em…

Red Teaming

MUZZLE: Adaptive Agentic Red-Teaming of Web Agents Against Indirect Prompt Injection Attacks

2026-02-09 · Georgios Syros, Evan Rose, Brian Grinstead, Christoph Kerschbaumer 외 arxiv

Large language model (LLM) based web agents are increasingly deployed to automate complex online tasks by directly interacting with web sites and performing actions on users' behalf. While these agents offer powerful cap…

Defense Against Indirect Prompt Injection via Tool Result Parsing

2026-01-08 · Qiang Yu, Xinran Cheng, Chuanyi Liu arxiv

As LLM agents transition from digital assistants to physical controllers in autonomous systems and robotics, they face an escalating threat from indirect prompt injection. By embedding adversarial instructions into the r…

Prompt Engineering

Adaptive Attacks Break Defenses Against Indirect Prompt Injection Attacks on LLM Agents

2025-02-27 · Qiusi Zhan, Richard Fang, Henil Shalin Panchal, Daniel Kang

Large Language Model (LLM) agents exhibit remarkable performance across diverse applications by using external tools to interact with environments. However, integrating external tools introduces security risks, such as i…

Language ModelingLanguage ModellingLarge Language Model