If your AI agent can search the whole company drive, what can it leak?
A customer asks a routine question about an invoice. The support agent has been connected to the entire shared company drive "just in case." The answer it writes is friendly and correct, but it also quotes a line from a
A customer asks a routine question about an invoice. The support agent has been connected to the entire shared company drive "just in case." The answer it writes is friendly and correct, but it also quotes a line from a draft contract that was sitting in a folder nobody thought about. The agent didn't break a rule. It simply had that folder in reach.
Disclosure: I run a small AI agent risk-check service called Agent Ready Risk, so this topic is close to my work.
What an agent can see, it can say
Access is the first boundary. When an agent can search a whole drive, a whole inbox or a whole ticket history, every document in there becomes a candidate for what it says. Instructions help, but they are a second line of defense. The first is not giving the agent the material in the first place.
Start with an inventory
The simplest exercise takes a few minutes: list every data source your agent can access. Shared drives, chat exports, knowledge bases, CRM records, ticket archives, spreadsheets someone connected during a pilot. Write them all down, even the ones you think nobody uses.
Then remove one
Pick the source the agent doesn't need for its actual job and disconnect it. A FAQ agent needs the FAQ. An order-status agent needs order status. Neither needs the whole company drive.
Questions worth asking about each source
- Does the agent need this to do its job today, or was it connected for convenience?
- Would you be comfortable seeing any document in it quoted in a customer reply?
- Who decides what gets added to that source later, and does the agent pick it up automatically?
- Is there a narrower folder, view or search scope that covers the real need?
Make it a habit
Access tends to grow quietly. A review that asks "what can it see now?" every time you change the agent's job keeps the list short. Trimming one source this week is a better start than a perfect policy next quarter.
What sources have you cut from an agent's reach, and what made you decide? I'd like to hear how other teams scope this.
More on the Agent Ready Risk checklist: https://rleffke.com/agentrisk
Sign up now for the Agent Ready newsletter: rleffke.com/subscribe
Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β full credit and traffic to the original publisher.