mlsanityData to 7 Oct 2026

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

arXiv 2511.05797 ↗First posted 8 Nov 2025cs.CR cs.AIcited by 6

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

  1. 2025DataSentinel: A Game-Theoretic Detection of Prompt Injection Attacks15 Apr
  2. 2025A Closer Look at System Prompt Robustness15 Feb
  3. 2024The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructions19 Apr
  4. 2024StruQ: Defending Against Prompt Injection with Structured Queries9 Feb
  5. 2024A Novel Evaluation Framework for Assessing Resilience Against Prompt Injection Attacks in Large Language Models2 Jan
  6. 2023Jatmo: Prompt Injection Defense by Task-Specific Finetuning29 Dec
  7. 2023Assessing Prompt Injection Risks in 200+ Custom GPTs20 Nov
  8. 2023Formalizing and Benchmarking Prompt Injection Attacks and Defenses19 Oct
  9. 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injection23 Feb

Other references · 22

  1. 2023GPT-4 Technical Reportcited by 18,132
  2. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  3. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  4. 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,800
  5. 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 760
  6. 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Modelscited by 738
  7. 2023Jailbreaking ChatGPT via Prompt Engineering: An Empirical Studycited by 478
  8. 2023Low-Resource Languages Jailbreak GPT-4cited by 290
  9. 2024PoisonedRAG: Knowledge Corruption Attacks to Retrieval-Augmented Generation of Large Language Modelscited by 251
  10. 2024Certifiably Robust RAG against Retrieval Corruptioncited by 144
  11. 2018TESSERACT: Eliminating Experimental Bias in Malware Classification across Space and Timecited by 108
  12. 2020Dos and Don'ts of Machine Learning in Computer Securitycited by 98
10 more
  1. 2023Effective Prompt Extraction from Language Modelscited by 83
  2. 2024A New Era in LLM Security: Exploring Security Concerns in Real-World LLM-based Systemscited by 74
  3. 2018Tranco: A Research-Oriented Top Sites Ranking Hardened Against Manipulationcited by 61
  4. 2024LLMmap: Fingerprinting For Large Language Modelscited by 56
  5. 2024Extracting Prompts by Inverting LLM Outputscited by 40
  6. 2024Language Ranker: A Metric for Quantifying LLM Performance Across High and Low-Resource Languagescited by 38
  7. 2023Joint Prompt Optimization of Stacked LLMs using Variational Inferencecited by 32
  8. 2018A Demand-Side Viewpoint to Software Vulnerabilities in WordPress Pluginscited by 2
  9. 2024ML-Based Behavioral Malware Detection Is Far From a Solved Problemcited by 2
  10. 2021An Empirical Analysis of HTTPS Configuration Securitycited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 6.

6 papers.