Securing an AI Assistant You Deploy to Staff
A practical security review for the AI assistant you are about to roll out: what it can read, what it can do, who sees the logs, and what breaks first.

The most common way an internal AI rollout goes wrong has nothing to do with the model. Someone connects an assistant to the company document store, the assistant indexes everything that store will show it, and within a week a staff member asks an innocent question and gets back the salary band table, the redundancy list, or a folder of board papers that had been shared to "everyone in the organization" in 2019 and forgotten.
Nothing was hacked. The assistant did its job. It made legible a permissions mess that had been protected only by the difficulty of finding things. That is the characteristic AI deployment failure: a tool that is very good at search applied to a filesystem that was never tidy.
This article is a security review you can run before you deploy, in roughly the order the questions matter. It assumes you are deploying something someone else built, which is what almost everyone is doing.
Start with the permissions you already have
Before any question about the model, answer this one: if a new employee had read access to everything this assistant will have read access to, would that be acceptable? If the answer is no, the assistant is not the problem to solve first.
Run a discovery pass over whatever the assistant will connect to. In most document platforms you can report on items shared with the whole organization, items shared by anonymous link, and items shared externally. Those three lists are your immediate work. The second is usually the worst, because link sharing survives staff departures and has no owner.
Two decisions follow from that pass.
Identity propagation. The assistant should act with the permissions of the person asking, not with its own. Platforms describe this as on-behalf-of access or identity passthrough. Where it is available, insist on it. Where the only option is a service account with its own access, you have built a permissions bypass with a chat interface, and you need to scope that account down to a narrow, explicitly chosen corpus rather than the whole estate.
Scope by inclusion, not exclusion. Choose the specific sites, folders or knowledge bases the assistant may use, and leave everything else out. Exclusion lists fail quietly the first time someone creates a new folder.
Decide what the assistant is allowed to do
There is a sharp risk boundary between an assistant that returns text and an assistant that can act. Answering questions, drafting, summarizing and searching are read operations. Sending an email, creating a ticket, updating a record, approving something, calling an external API or running code are write operations, and each one needs its own decision.
OWASP calls the failure mode here excessive agency, and the practical rule is short. Authorization lives in the tool, never in the prompt. The system prompt that says "only update records belonging to the requesting user" is a preference. The API that checks the requesting user's permission on every call is a control. If the assistant can be talked into asking for something, and the backend will do whatever it is asked, you have an access control problem wearing an AI costume.
Build a short table of every tool or connector the assistant can reach, and for each one record: what it can read, what it can change, whose permissions apply, whether the action is reversible, and whether a human has to confirm it. Anything irreversible, financial, permission-changing or externally visible gets confirmation. Everything reversible and read-only runs freely, because confirmation prompts on trivial actions train people to click through the important ones.
Work out where untrusted content enters
An assistant becomes meaningfully more exposed the moment it reads content that someone outside your organization chose the wording of. Inbound email, uploaded PDFs, scraped web pages, supplier invoices, candidate CVs, support tickets: all of these are attacker-controllable text arriving in the same channel as your instructions. That is the setting for indirect prompt injection, and it is worth understanding properly before you connect a mailbox. Our explainer on prompt injection and why AI assistants trust the wrong text covers the mechanism and the mitigations that actually hold.
The deployment-level version of the advice is about blast radius rather than about detecting bad prompts.
- Separate the risky path. An assistant that reads external content should have the fewest tools and the narrowest data access of any assistant you run. Do not give the mailbox reader the ability to send mail.
- Constrain egress. A great deal of injection-based data theft works by getting the model to put sensitive text into something that leaves the environment, such as a URL it renders or a request it makes. Restrict outbound network access from the assistant's runtime, and be careful about rendering images and links from model output.
- Do not let the model decide trust. If a document says it is approved, that is content, not a fact. Approval status comes from your systems.
Read the terms, once, properly
Someone in your organization needs to have actually read the data handling terms of the tool you are buying, and to be able to answer four questions without looking them up again: are our inputs used to train or improve the model, how long is data retained and where, who at the vendor can access it under what process, and which subprocessors are involved. Record the answers somewhere your privacy and procurement people can find them, because they will be asked by a customer eventually.
Enterprise tiers usually differ from consumer tiers on exactly these points, which is why a sanctioned enterprise deployment is a better security outcome than staff using personal accounts for the same work. The policy question that follows is covered in more depth in our piece on data leakage through AI tools and what a workable policy looks like.
Logging you will be glad to have
Turn logging on before the pilot, not after the incident. The minimum useful set is the identity of the person asking, the prompt, which sources or tools the assistant accessed, and what it returned or did. Retain it as long as you retain comparable application logs, and put it where your existing monitoring can see it rather than in a vendor console nobody opens.
Two things this buys you. The obvious one is investigation: after a report that the assistant disclosed something, you can establish what it actually saw. The less obvious one is that reading a month of real queries is the fastest way to learn what people are using the tool for, which is usually not what the business case said. Expect to find staff pasting in things your policy forbids, and treat that as a signal about the policy's clarity as much as about the staff.
What to tell staff, in plain terms
Training for an internal assistant does not need to be long. It needs to answer the questions people will otherwise answer for themselves.
- What it can see. People assume an assistant is private. Tell them whether their queries are visible to administrators, because the assumption otherwise is that they are not.
- What not to put in. Name the categories, not the principle. Customer personal data, credentials and keys, unreleased financials, anything under a confidentiality obligation, anything about an identified individual's health or employment.
- That output is a draft. Model output is a contribution from an unverified source. It gets the review you would give work from a new contractor, and someone named signs off anything that leaves the organization or enters a product.
- How to report something odd. A document the assistant should not have found, an answer that contained someone else's data, an instruction it seemed to follow from a file. Give people one named route, and make it safe to use. Our guidance on no-blame reporting applies here exactly as it does to phishing.
Got a message you are not sure about? Paste the message or link into CyberWatch AI Scan for a free check.
A pilot that produces evidence
Pick one department with a real, narrow use case. Name the participants rather than opening it to volunteers. Fix the data scope in advance and write it down. Run for four to six weeks, then do three things: read a sample of the logs, ask participants what they stopped using it for and why, and run a short adversarial test of your own against the configuration, including a document containing instructions aimed at the assistant.
What you are looking for is not whether people liked it. It is whether the assistant retrieved anything it should not have, whether anyone pasted in data the policy excludes, and whether any action it took would have been hard to reverse. Those three answers tell you whether to widen the rollout or widen the controls first.
Where this fits in your wider security work
Almost nothing in the list above is AI-specific. It is access control, egress control, logging, procurement review and a short policy, applied to a new kind of application. The reason AI deployments surface problems so reliably is that they are unusually good at exercising permissions nobody has audited in years, and unusually bad at failing loudly when they do.
If you are also thinking about how AI changes the attacks coming at you rather than the systems you build, our guide to AI-powered cyberattacks separates what is documented from what is projected. If the assistant you are deploying can act autonomously across several systems, the permission and auditability problems in autonomous AI agents with tool access matter more than anything else on this page. And if you want the shorter version aimed at staff rather than at whoever is configuring the thing, start with using AI tools at work.
One last test before you go live. Ask yourself what the assistant would have to do for you to notice within a day. If there is no clear answer, you are not ready to deploy it; you are ready to configure the logging that makes deploying it reasonable.
Frequently asked questions
What is the first thing to check before rolling out an AI assistant?
What it can read. An assistant connected to your document store inherits whatever that store will show the account it runs as, and most organizations have files shared more widely than anyone remembers. Fix the permissions before the assistant makes them searchable.
Should the assistant run as a service account or as the user?
As the user, wherever the platform supports it. A service account with broad access turns every query into a potential permissions bypass, because the assistant can retrieve things the person asking was never entitled to see.
Do we need a separate AI policy document?
A short one. Name the approved tools, the data categories that must never go into any tool, what output has to be reviewed before use, and who to ask. One page that staff read beats a chapter nobody opens.
What logging do we need?
Who asked what, which documents or tools the assistant touched, and what it returned or did. Without that you cannot answer the only question that matters after an incident, which is what the assistant saw and where it went.
Is prompt injection a real concern for an internal assistant?
Yes, as soon as it reads content you do not control: inbound email, uploaded files, web pages, supplier documents. An internal assistant that only reads your own vetted wiki and returns text is much lower risk.
Can we stop staff pasting sensitive data into it?
Not reliably, and a hard block usually pushes the activity onto personal accounts where you have no visibility. Pick a sanctioned tool whose terms you have read, turn off training on your inputs, and make the policy specific about categories rather than vague about caution.
How do we handle assistants that take actions, not just answer?
Treat each tool the assistant can call as a separate privilege decision, enforce authorization in the tool rather than in the prompt, and require human confirmation for anything irreversible, financial or externally visible.
What does a sensible pilot look like?
One department, named participants, a known data scope, logging on from day one, and a review after four to six weeks that looks at real queries. Pilots that skip the log review tell you about enthusiasm, not risk.
Sources
- OWASP Top 10 for LLM Applications 2025, OWASP Gen AI Security Project
- LLM02:2025 Sensitive Information Disclosure, OWASP Gen AI Security Project
- LLM06:2025 Excessive Agency, OWASP Gen AI Security Project
- Joint Guidance on Deploying AI Systems Securely, CISA
- Guidelines for secure AI system development, UK National Cyber Security Centre
- AI 100-2 E2025, Adversarial Machine Learning: A Taxonomy and Terminology of Attacks and Mitigations, NIST
- AI Risk Management Framework, NIST
- MITRE ATLAS, MITRE
- Zero Trust Maturity Model, CISA


