AI & ML
Indirect Prompt Injection in the Wild: An Empirical Study of Prevalence, Techniques, and Objectives
arXiv cs.CR0 views
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.
Source:https://arxiv.org/abs/2604.27202PreviousBackdoor Attacks under Lossy Compression: From Failure to Reactivation and AdaptationNextLITMUS: Benchmarking Behavioral Jailbreaks of LLM Agents in Real OS Environments
Related posts
Auditing what an agent says it did, using its log
0dev.to Testing
Testing LIMS Software for Pharmaceutical Compliance: A Practical Guide
0dev.to Testing
Not every model makes a good attacker: OpenAI vs DeepSeek for red-teaming
0dev.to Testing
Testing AI meeting notes with one changed deadline and one missing owner
0dev.to Testing

Best ChatGPT Alternatives That Run Entirely on Your Own Device in 2026 (Free, No Account)
0dev.to OpenSource

Best Private Local AI App for Mac and Windows in 2026 (Runs on Your Computer and Remembers Your Work)
0dev.to OpenSource