Prompt injection is a growing security risk for enterprise AI systems that search email and documents stored on collaboration platforms. Attackers hide hostile instructions in material an AI agent may later retrieve, aiming to redirect its behavior or expose information available to it. The risk extends beyond users trying to override a chatbot: OWASP ranks prompt injection as LLM01:2025, the first risk in its current LLM Top 10.
The basic problem is that a language model may not reliably distinguish trusted instructions from untrusted text it retrieves. In an enterprise setting, that confusion can reach beyond a conversation: an agent with access to email or files in collaboration systems may be induced to seek confidential information or act through its connected tools.
Prompt injection takes two broad forms. Direct injection occurs when a user enters instructions intended to override the system’s rules. Indirect injection is embedded in material an agent later processes for someone else, such as email and web content, including uploaded documents. The user may not see the malicious text, and the attacker need not interact with the model directly.
Two incidents illustrate the risks. In August 2024, PromptArmor documented a Slack AI scenario in which crafted content posted in a public channel could lead the assistant to produce a link containing sensitive information, including an API basic, from a private channel available to the victim. Uploaded files could also carry malicious instructions. Salesforce said it had deployed a patch and reported no evidence of unauthorized customer-data access. The case showed that access controls on stored information do not, on their own, prevent disclosure through an AI-generated answer.
In 2025, Aim Security disclosed EchoLeak, a zero-click indirect prompt-injection vulnerability affecting Microsoft 365 Copilot. Microsoft assigned it CVE-2025-32711, and technical reporting gave it a CVSS score of 9.3. A crafted email retrieved into Copilot’s context could induce the assistant to gather confidential enterprise information and transmit it externally, without requiring the victim to click a link. Microsoft patched the issue server-side. The NIST vulnerability record identifies the flaw, while security analyses describe it as the first known zero-click attack against a production enterprise AI agent.
These cases reflect a broader change in the security boundary. When an assistant retrieves an email while answering an unrelated question, instructions planted in that message can try to steer the model toward confidential files or an external transmission route. Connecting an agent to enterprise data so extends the potential impact of instruction confusion beyond the chat window.
Traditional safeguards, including input validation, output filtering, and signature-based detection, can struggle when instructions and data pass through the same language interface. Defenses should extend beyond the model. Restrict each agent’s permissions and limit retrieval from high-risk sources. Require human approval for sensitive actions. Allowlist permitted external destinations, and log consequential actions for review.
Security teams evaluating AI products should examine how access to connected systems is constrained and what safeguards govern external data transfers. They should also check whether prompts and tool calls can be reviewed after an action. These controls matter because a model’s ability to interpret untrusted content cannot be treated as a reliable security boundary.
For more on shifts in AI adoption strategies, see this analysis of AI startups prioritizing go-to-market over proprietary models.