When AI Meets the Web: Prompt Injection Risks in Third-Party AI Chatbot Plugins
On the map: LLM safety and security → Prompt injection and agent security
Abstract (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.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Placed in Prompt injection and agent security, one of 12 directions in LLM safety and security. Builds on 31 of its 73 references that are in the map. First posted on arXiv 8 Nov 2025.
Builds on
31 of 73 references.
Closest ancestors · 9
Same direction, newest first
- 2025DataSentinel: A Game-Theoretic Detection of Prompt Injection Attacks15 Apr
- 2025A Closer Look at System Prompt Robustness15 Feb
- 2024The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructions19 Apr
- 2024StruQ: Defending Against Prompt Injection with Structured Queries9 Feb
- 2024A Novel Evaluation Framework for Assessing Resilience Against Prompt Injection Attacks in Large Language Models2 Jan
- 2023Jatmo: Prompt Injection Defense by Task-Specific Finetuning29 Dec
- 2023Assessing Prompt Injection Risks in 200+ Custom GPTs20 Nov
- 2023Formalizing and Benchmarking Prompt Injection Attacks and Defenses19 Oct
- 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injection23 Feb
Other references · 22
- 2023GPT-4 Technical Reportcited by 18,132
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,800
- 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 760
- 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Modelscited by 738
- 2023Jailbreaking ChatGPT via Prompt Engineering: An Empirical Studycited by 478
- 2023Low-Resource Languages Jailbreak GPT-4cited by 290
- 2024PoisonedRAG: Knowledge Corruption Attacks to Retrieval-Augmented Generation of Large Language Modelscited by 251
- 2024Certifiably Robust RAG against Retrieval Corruptioncited by 144
- 2018TESSERACT: Eliminating Experimental Bias in Malware Classification across Space and Timecited by 108
- 2020Dos and Don'ts of Machine Learning in Computer Securitycited by 98
10 more
- 2023Effective Prompt Extraction from Language Modelscited by 83
- 2024A New Era in LLM Security: Exploring Security Concerns in Real-World LLM-based Systemscited by 74
- 2018Tranco: A Research-Oriented Top Sites Ranking Hardened Against Manipulationcited by 61
- 2024LLMmap: Fingerprinting For Large Language Modelscited by 56
- 2024Extracting Prompts by Inverting LLM Outputscited by 40
- 2024Language Ranker: A Metric for Quantifying LLM Performance Across High and Low-Resource Languagescited by 38
- 2023Joint Prompt Optimization of Stacked LLMs using Variational Inferencecited by 32
- 2018A Demand-Side Viewpoint to Software Vulnerabilities in WordPress Pluginscited by 2
- 2024ML-Based Behavioral Malware Detection Is Far From a Solved Problemcited by 2
- 2021An Empirical Analysis of HTTPS Configuration Securitycited by 1
Built on by
Citing papers per year: 2026: 6.
6 papers.
- 2026ClawGuard: A Runtime Security Framework for Tool-Augmented LLM Agents Against Indirect Prompt Injectioncited by 25
- 2026HarmfulSkillBench: How Do Harmful Skills Weaponize Your Agents?cited by 9
- 2026Who Pays the Price? Stakeholder-Centric Prompt Injection Benchmarking for Real-world Web Agentscited by 2
- 2026Prismata: Confining Cross-Site Prompt Injection in Web Agentscited by 1
- 2026Influence Is Not Authority: When Causal Guardrail Signals Make Legitimate Tool Use Look Like an Attack in Tool-Using LLM Agentscited by 0
- 2026When Valid Tool Calls Change Meaning: Formation-Consistent Dispatch for LLM Agentscited by 0
- 2026When Valid Tool Calls Change Meaning: Formation-Consistent Dispatch for LLM Agents28 Sep 2026
- 2026Influence Is Not Authority: When Causal Guardrail Signals Make Legitimate Tool Use Look Like an Attack in Tool-Using LLM Agents30 Aug 2026
- 2026Prismata: Confining Cross-Site Prompt Injection in Web Agents9 Jul 2026
- 2026Who Pays the Price? Stakeholder-Centric Prompt Injection Benchmarking for Real-world Web Agents11 Jun 2026
- 2026HarmfulSkillBench: How Do Harmful Skills Weaponize Your Agents?16 Apr 2026
- 2026ClawGuard: A Runtime Security Framework for Tool-Augmented LLM Agents Against Indirect Prompt Injection13 Apr 2026