paper-with-me

홈 › Papers

When AI Meets the Web: Prompt Injection Risks in Third-Party AI Chatbot Plugins

2025-11-08 · Yigitcan Kaya, Anton Landerer, Stijn Pletinckx, Michelle Zimmermann, Christopher Kruegel, Giovanni Vigna arxiv

Prompt injection attacks pose a critical threat to large language models (LLMs), with prior work focusing on cutting-edge LLM applications like personal copilots. In contrast, simpler LLM applications, such as customer service chatbots, are widespread on the web, yet their security posture and exposure to such attacks remain poorly understood. These applications often rely on third-party chatbot plugins that act as intermediaries to commercial LLM APIs, offering non-expert website builders intuitive ways to customize chatbot behaviors. To bridge this gap, we present the first large-scale study of 17 third-party chatbot plugins used by over 10,000 public websites, uncovering previously unknown prompt injection risks in practice. First, 8 of these plugins (used by 8,000 websites) fail to enforce the integrity of the conversation history transmitted in network requests between the website visitor and the chatbot. This oversight amplifies the impact of direct prompt injection attacks by allowing adversaries to forge conversation histories (including fake system messages), boosting their ability to elicit unintended behavior (e.g., code generation) by 3 to 8x. Second, 15 plugins offer tools, such as web-scraping, to enrich the chatbot's context with website-specific content. However, these tools do not distinguish the website's trusted content (e.g., product descriptions) from untrusted, third-party content (e.g., customer reviews), introducing a risk of indirect prompt injection. Notably, we found that ~13% of e-commerce websites have already exposed their chatbots to third-party content. We systematically evaluate both vulnerabilities through controlled experiments grounded in real-world observations, focusing on factors such as system prompt design and the underlying LLM. Our findings show that many plugins adopt insecure practices that undermine the built-in LLM safeguards.

📄 PDF Abstract BibTeX arXiv:2511.05797

Code (0)

등록된 구현이 없습니다.

Tasks

Code Generation

Similar Papers 제목 키워드 기반

When Prompts Control Robots: Prompt Injection Attacks in Multi-Agent Robotic Systems

2026-08-01 · Neha Nagaraja, Amisha Bagari, Hayretdin Bahsi arxiv

Large language models are increasingly integrated into autonomous robotic systems for task planning and control, but this integration exposes them to prompt injection attacks that can lead to unsafe decisions and physica…

Prompt Injection attack against LLM-integrated Applications

2023-06-08 · Yi Liu, Gelei Deng, Yuekang Li, Kailong Wang 외

Large Language Models (LLMs), renowned for their superior proficiency in language comprehension and generation, stimulate a vibrant ecosystem of applications around them. However, their extensive assimilation into variou…

What If Prompt Injection Never Left? Exploring Cross-Session Stored Prompt Injection in Agentic Systems

2026-06-03 · Yuanbo Xie, Tianyun Liu, Yingjie Zhang, Suchen Liu 외 arxiv

Modern agentic systems transform LLMs from session-bounded assistants into stateful systems that persist and evolve shared world state across sessions through memories, filesystems, tools, and other long-lived contextual…

Multimodal Prompt Injection Attacks: Risks and Defenses for Modern LLMs

2025-09-07 · Andrew Yeo, Daeseon Choi arxiv

Large Language Models (LLMs) have seen rapid adoption in recent years, with industries increasingly relying on them to maintain a competitive advantage. These models excel at interpreting user instructions and generating…

Information Retrieval

Agent Against Agent: An Agentic System for Automatic Prompt Injection Red Teaming

2026-08-05 · Yanting Wang, Chenlong Yin, Runpeng Geng, Jinyuan Jia hf

Prompt injection poses significant security risks to LLM agents. Efficient and effective red-teaming is therefore critical, both for evaluating these risks and for collecting training data to improve defenses. Existing s…

Reinforcement LearningRed Teaming