Image: — © THOMAS SAMSON/AFP // Getty Images
Researchers at Forcepoint X-Labs have put together a report titled “10 Indirect Prompt Injection Payloads Caught in the Wild”. This reveals how cybercriminals are abusing AI agents by poisoning ordinary web pages with hidden instructions.
Authored by X-Labs Principal Threat Researcher, Mayur Sewani, the report reveals that a new class of AI attack—Indirect Prompt Injection (IPI)—is not theoretical, but already actively deployed across live websites.
Indirect prompt injection is a security vulnerability where an attacker embeds malicious instructions into external content—such as websites, documents, emails, or images—that a Large Language Model (LLM) or AI agent later processes.
How the attack works
Poisoning the Source: The attacker hides malicious prompts (e.g., “Ignore previous instructions and…”) in external content, such as a webpage, PDF, email, or a document.
AI Retrieval: A user asks an AI assistant to summarize, process, or browse that content.
Instruction Confusion: The AI retrieves the poisoned content and feeds it into its prompt context. Because the LLM cannot distinguish between trusted developer instructions and untrusted input, it follows the hidden command.
Invisible processes
Unlike direct prompt injection, where a user types malicious commands directly into a chat, indirect injection is “invisible,” as the AI retrieves the tainted data during routine tasks like summarization or retrieval-augmented generation (RAG).
This matters because, as AI agents increasingly browse the web, summarize content, and even take actions (payments, workflows, code execution), researchers found attackers are exploiting a fundamental weakness.
This key weakness is that AI systems cannot reliably distinguish trusted instructions from malicious content embedded in web pages.
When running the research, X-Labs identified ten verified IPI payloads in the wild, including:
Financial fraud attempts (e.g., embedded payment instructions)
API key and sensitive data exfiltration
Data destruction commands targeting AI-integrated dev environments
Denial-of-service attacks designed to suppress AI outputs
SEO/traffic hijacking via invisible instructions to AI systems
Notably, these payloads are hidden in plain sight—inside HTML comments, invisible CSS, metadata tags, and accessibility layers—making them invisible to humans but fully readable by AI agents.
This research underscores a critical shift in the threat landscape: Attackers no longer need to breach systems directly—they can weaponize the content AI consumes, effectively turning trusted workflows into attack vectors.