The security risk depends on what sits behind the conversation.
A chatbot that answers general questions has a different risk profile from one that can search employee files, retrieve customer records, send emails, or call business systems.
An inaccurate answer is one problem. An assistant retrieving confidential records and transmitting them outside the organization is another.
When evaluating a chatbot, start with what it can reach. Which identity does it use? Which records can it retrieve? Which tools can it invoke? Where can it send information?
Two major security disclosures—EchoLeak in Microsoft 365 Copilot and ForcedLeak in Salesforce Agentforce—show why those questions matter.
Both were documented researcher demonstrations of exploitable systems. They should not be described as confirmed criminal breaches of customer organizations. They demonstrate how an enterprise assistant could become an intrusion or data-exfiltration pathway.
The attack can arrive inside something the chatbot reads
Imagine an internal assistant summarizing a supplier document.
The employee’s request is legitimate: “Summarize the delivery requirements and identify any contractual risks.”
But the document contains instructions telling the assistant to retrieve internal information and send it elsewhere. The attacker hopes the assistant will treat those instructions as part of its task.
This is indirect prompt injection. The malicious instructions arrive through material the assistant reads—an email, document, webpage, or database record—rather than through the employee’s direct request.
The architectural problem is the crossing of a trust boundary: externally supplied content starts influencing actions performed with an internal user’s authority. The documented attacks below demonstrate that crossing in practice.
Example 1: EchoLeak—an email becomes a route out of Microsoft 365
EchoLeak, tracked as CVE-2025-32711, demonstrated a data-exfiltration path through Microsoft 365 Copilot.
A crafted email supplied malicious instructions. When Copilot retrieved that message during ordinary use, the attack could redirect it into including sensitive information from its context in an outbound request.
The chain combined prompt injection with weaknesses in link handling, automatic image fetching, and a permitted proxy route. “Zero-click” meant the victim did not need to click an attacker’s link; it did not mean every incoming email automatically triggered a leak.
The lesson extends beyond email filtering. An assistant can legitimately encounter an external message while holding access to internal information. If it follows the message’s instructions, an outside sender can influence how that internal authority is used.
Reading an email must not give its sender permission to direct the assistant.
Example 2: ForcedLeak—a sales lead becomes an instruction source
In September 2025, Noma Security disclosed ForcedLeak, an indirect prompt-injection chain affecting Salesforce Agentforce.
Researchers placed malicious instructions in a Web-to-Lead submission. The information entered the CRM through a normal public intake form. When an employee later asked Agentforce to process that lead, the assistant encountered the attacker’s text.
The demonstrated chain induced the assistant to retrieve other lead information and include it in a generated image request. Loading that image transmitted the information to a researcher-controlled server.
A critical supporting weakness was an expired domain that remained on a trusted list. Researchers could acquire it and use it as an outbound destination. Salesforce subsequently addressed the reported chain, including protections against output being sent to untrusted URLs.
The lesson: storing external text inside a trusted CRM does not make that text trustworthy. Its origin still matters.
The shared failure: content acquired authority
These examples suggest a useful way to review enterprise assistants:
Untrusted content enters → the assistant interprets it → trusted access is exercised → information leaves.
Blocking suspicious phrases may help, but an enterprise needs boundaries that continue to work when the model misinterprets something. The security design should assume that a plausible instruction can sometimes get through.
That brings us back to the foundations.
Preserve the requesting user’s permissions
Start with the identity used to retrieve information.
Suppose an employee asks an assistant for a customer account summary. The retrieval service should verify that the employee can access that account before returning the records.
A broadly privileged service account can undermine that boundary. If it retrieves information from every department, the application must independently enforce the requesting user’s permissions on every operation.
Filtering the answer afterward leaves sensitive information unnecessarily exposed to the model and its surrounding workflow.
For example, a sales assistant serving one regional team should have a clear, enforced boundary around the accounts it can retrieve. A request for another region’s customer export should fail at the service or API layer.
Separate answering from acting
Searching a knowledge base, sending an email, changing access, and approving a payment require different levels of authority.
Design tools around specific business operations. An assistant that summarizes invoices may need a narrowly scoped invoice lookup. It does not automatically need a general database query tool, unrestricted email delivery, or payment execution.
For consequential actions, confirmation should show the actual operation: the recipient, destination, records affected, and proposed change. Approval should apply to those details, and the backend should reject an altered request.
A vague “Continue?” offers little protection when the user cannot see what they are authorizing.
Control where information can leave
An assistant can disclose information through more than an explicit “send” tool.
The EchoLeak and ForcedLeak demonstrations involved generated output and outbound requests. That makes rendering, link handling, and network access part of the security boundary.
Review whether generated images load automatically, whether URLs can contain sensitive values, and which destinations tools and rendering components can contact.
Treat destination allowlists as maintained infrastructure. Assign ownership, review entries, and verify that trusted domains remain under the expected organization’s control.
Treat the answer as untrusted output
An answer becomes more dangerous when another system executes it.
A model-generated customer identifier should pass authorization checks. A proposed transaction should pass business validation. Displayed content should be rendered safely. Generated commands should not flow directly into a privileged execution environment.
Build these checks into the application and its tools. OWASP’s agent-security guidance similarly emphasizes scoped tools, authorization, human oversight, output validation, and monitoring.
Record enough to reconstruct the incident
A useful investigation needs more than the final chat response.
Record the initiating user, the assistant’s identity, the sources retrieved, the tools requested, the authorization decisions, and the resulting actions. Correlate those events so investigators can follow one request across services.
Protect the records themselves. Credentials and unnecessary sensitive content should stay out of logs. Visibility should help explain an incident without creating another repository of exposed information.
Draw one path through your chatbot
Ask your team to trace a realistic request from the user, through retrieved content and tool calls, into a business system.
Then answer:
- Where is the user’s identity checked?
- Which material can an outsider influence?
- What can the assistant retrieve?
- Which component authorizes each action?
- Where can information leave?
- Can you stop the workflow and revoke its access?
The resulting permissions, destinations, and business rules will tell you far more about your exposure than the friendliness of the chat interface.
Your chatbot is a doorway. Before opening it, know what it can read, change, and send.