In brief
- A leak into an AI answer happens when the assistant retrieves a document the person asking has no right to read, usually because permissions were checked at indexing time or not at all.
- Often the assistant is not the root cause. It exposes permission problems that were already in your shared drives.
- You can test for it in an afternoon with a planted document and an account that has no access.
An AI assistant leaks a document when it answers someone using information that person was never allowed to read. No break-in is needed. The person asks an ordinary question, the system finds a relevant passage, and the passage comes from a file their account should not reach. The answer then carries the information out of the file and into a chat.
How the leak happens
Most business assistants work by retrieval. Your files are split into passages, indexed, and the passages closest to a question are handed to the model to write an answer. Every step is a place where permissions can be lost.
The index ignores who is asking. If all documents go into one shared index and retrieval ranks by similarity alone, the best match wins, whoever asked. The OWASP guidance on vector and embedding weaknesses calls for permission-aware stores, fine-grained access controls and logical partitioning, so that one group's content cannot be retrieved for another group.
Permissions are checked once, at indexing time. A snapshot of who could see what on Monday is wrong by Wednesday. Someone leaves the project, a folder moves from open to restricted, a client engagement ends. If the assistant does not check the source system at the moment of the question, the old access keeps working.
The permissions were already too loose. This is the most common cause and it is not the assistant's fault. Microsoft's own guidance for Copilot says it surfaces organizational data a user has at least view permission to, and it publishes a deployment blueprint on oversharing because years of "anyone with the link" defaults and broad groups become visible once a search that actually reads documents is turned on. The assistant is a flashlight in a room that was never tidy.
Derived content has no permissions at all. A summary of a restricted contract, pasted into a shared project or saved as a note, is a new file. Nothing tells it to inherit the restrictions of its source. Chat histories, generated reports and exported answers all have this problem.
A test you can run in an afternoon
You do not need a security team to check the basics. Plant a tripwire and try to trip it.
- Create a document in a restricted location. Give it a harmless but unique phrase, such as a made-up project name that appears nowhere else.
- Create or borrow a test account with no access to that location.
- Ask direct questions that name the phrase. Then ask indirect ones: "summarize the latest confidential planning documents" or "what projects are being discussed this quarter?"
- Change the permissions, revoking one test user's access, and ask the same questions again after the vendor's stated sync time and again an hour later.
- Put a summary of the document in a shared project and see who can reach it.
- Look at the log. Does it show which documents were retrieved for each answer, and does it show denied attempts?
| Test | What you do | A pass looks like |
|---|---|---|
| Direct ask | Name the planted phrase from a no-access account | The assistant says it found nothing |
| Indirect ask | Ask a broad question the planted file would answer | The planted file never appears in the answer or the citations |
| Revocation | Remove access, then re-ask | Access stops within the sync time the vendor promised |
| Derived copy | Save a summary to a shared space | The summary carries the source's restrictions, or the tool warns |
| Log review | Check what was retrieved | Each answer lists its source documents, denials are recorded |
Repeat the test whenever you connect a new data source or change how permissions are managed.
What to ask a vendor
Ask whether permissions are checked against the source system at question time, for the specific user, or only copied once. Ask how often permission changes sync, and what happens to content the moment access is revoked. Find out whether different customers' data lives in separate indexes. Check that answers cite their sources, and that the citations are limited to documents the asker can open.
Davy's security page says that connecting a data source or sharing a file does not open every document in it to all employees, and that access follows permissions assigned by person, department and company. That is the right claim to make. Test it the way you would test any other vendor's.
Fix the permissions, not only the tool
If the tripwire test passes but your shared drives are a mess, you still have a problem, because someone with legitimate but excessive access can now find things in seconds. Before a wide rollout, review "anyone with the link" sharing, large broad groups, and folders whose owners left the company. Start with the places that hold payroll, legal matters, client financials and board material. Tightening those is slow, tedious work and it pays off with or without AI. The Enterprise page describes how Davy approaches rollouts across larger teams.






