# Indirect Prompt Injection in the Wild: An Empirical Study of Prevalence, Techniques, and Objectives

DevFeed: [Indirect Prompt Injection in the Wild: An Empirical Study of Prevalence, Techniques, and Objectives](<https://devfeed.tech/articles/indirect-prompt-injection-in-the-wild-an-empirical-study-of-prevalence-techniques-and-objectives-118664.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2604.27202>)

Author: Soheil Khodayari, Xuenan Zhang, Bhupendra Acharya, Giancarlo Pellegrino

Published: 2026-11-05T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>)

Topics: [LLM security](<https://devfeed.tech/topics/llm-security.md>), [prompt injection](<https://devfeed.tech/topics/prompt-injection.md>), [ai security](<https://devfeed.tech/topics/ai-security.md>), [AI Bots](<https://devfeed.tech/topics/ai-bots.md>)

Tags: [automation](<https://devfeed.tech/tags/automation.md>), [bot-detection](<https://devfeed.tech/tags/bot-detection.md>), [compliance](<https://devfeed.tech/tags/compliance.md>), [content-protection](<https://devfeed.tech/tags/content-protection.md>), [crawlers](<https://devfeed.tech/tags/crawlers.md>), [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [customer-support-agents](<https://devfeed.tech/tags/customer-support-agents.md>), [experiments](<https://devfeed.tech/tags/experiments.md>), [headers](<https://devfeed.tech/tags/headers.md>), [hidden](<https://devfeed.tech/tags/hidden.md>), [hiring](<https://devfeed.tech/tags/hiring.md>), [html](<https://devfeed.tech/tags/html.md>), [impact](<https://devfeed.tech/tags/impact.md>), [indirect-prompt-injection](<https://devfeed.tech/tags/indirect-prompt-injection.md>), [llms](<https://devfeed.tech/tags/llms.md>), [metadata](<https://devfeed.tech/tags/metadata.md>), [objectives](<https://devfeed.tech/tags/objectives.md>), [persistence](<https://devfeed.tech/tags/persistence.md>), [prompt-injection](<https://devfeed.tech/tags/prompt-injection.md>), [study](<https://devfeed.tech/tags/study.md>), [techniques](<https://devfeed.tech/tags/techniques.md>)

## AI overview

The study finds indirect prompt injections in ordinary web content at measurable scale: among 1.2 billion URLs across 24.8 million hosts, it validated 15,300 instances on 11,700 pages, often following recurring templates. The instructions serve varied aims, including disruption, reputation manipulation, content protection, and AI-bot detection, and may target crawlers, search systems, support agents, or hiring workflows. About 70% appeared in non-rendered HTML, while some visible cases were concealed through rendering techniques. In 5,200 controlled experiments across 13 models and four webpage representations, compliance reached up to 8% for smaller models given plain text; structured representations reduced compliance, which the authors attribute to preserved structural cues. The abstract reports limited but non-negligible compliance and does not establish broader real-world impact.

## Source excerpt

arXiv:2604.27202v2 Announce Type: replace Abstract: As LLMs are increasingly integrated into systems that browse, retrieve, summarize, and act on web content, webpages have become an untrusted input vector for downstream model behavior. This enables site owners, contributors, and adversaries to embed instructions directly in web resources, i.e., indirect prompt injections. While prior work demonstrates such attacks in controlled settings, their prevalence, deployment, and real-world impact remain unclear. We present one of the first large-scale empirical analyses of indirect prompt injections in webpages and HTTP responses. Analyzing 1.2B URLs from 24.8M hosts, we identify 15.3K validated instances across 11.7K pages. These are not isolated cases: a small number of recurring templates account for most cases. We characterize their objectives, delivery mechanisms, visibility, persistence, and impact, revealing a heterogeneous ecosystem spanning disruptive prompts, reputation manipulation, content-protection directives, and AI-bot detection, targeting systems such as crawlers, search pipelines, customer-support agents, and hiring workflows. A key finding is that most instructions target machines rather than humans: about 70% appear in non-rendered HTML (e.g., headers, comments, metadata), and many visible cases are hidden via rendering techniques. To assess practical risk, we run 5,200 controlled experiments across 13 models and four webpage representations. Our results show compliance is limited but non-negligible, reaching up to 8% for smaller models on plain-text inputs, while structured representations reduce compliance by preserving structural cues. Overall, prompt-based interference is already present in the web ecosystem and represents a growing source of tension between LLM-driven automation and the sites it consumes.