Zero-trust architecture for AI platforms has moved from experiment to execution. The same principles that hardened networks — verify every request, assume breach, grant least privilege — now have to be applied to the models, data, and prompts that run enterprise AI.
What Does Zero Trust Mean for an AI Platform Specifically?
Zero trust is the principle that no user, device, workload, or network position is trusted by default, and that every access decision is made explicitly, with the least privilege needed, on the assumption that a breach has already occurred somewhere. Applied to AI platforms, the principle does not change, but almost every implementation detail does, because the things requesting access are no longer only people.
A traditional enterprise system has a bounded set of identities: employees, service accounts, and a handful of integrations. An AI platform adds several categories that perimeter-era controls were never designed to handle:
- Agents acting on a user's behalf. A system that reads documents, calls internal APIs, and writes records inherits the user's authority without inheriting the user's judgement. It will attempt whatever it was told to attempt.
- Non-deterministic execution paths. The same input can produce a different sequence of tool calls tomorrow. You cannot pre-approve a path that is decided at run time, so authorisation has to be evaluated per action rather than per session.
- Probabilistic outputs treated as data. Generated text enters downstream systems as though it were authoritative. Whatever consumes it may act on content that no human wrote or reviewed.
- Third-party model endpoints. Prompts and retrieved context leave the network to be processed by a provider. That is an egress path carrying your most sensitive assembled context.
- Retrieval surfaces that span trust zones. A vector index built from documents with mixed classification levels can surface a restricted paragraph in response to an innocuous question.
The operational consequence is that zero trust for AI is less about network segmentation and more about per-action authorisation, data provenance, and output handling. The question shifts from "is this request coming from inside the network?" to "is this specific action, on this specific record, by this specific agent, on behalf of this specific user, permitted right now?"
Getting this right is what separates an AI platform that can be opened to the whole organisation from one that must stay locked to a small pilot group.
Why Do Traditional Perimeter Controls Fail for AI Workloads?
Perimeter security assumes you can distinguish inside from outside, and that the valuable thing to protect sits behind a boundary. Both assumptions break in an AI platform.
The boundary is gone, but the data is assembled. Retrieval-augmented generation deliberately pulls fragments from many sources into a single context window. Each source may be individually protected, yet the assembled prompt can be more sensitive than any single document, because it combines them. A perimeter control sees many authorised reads; the AI system sees one composite artifact that must be classified as a whole.
Authorisation is now per action, not per session. A user session that is authorised to read a document store is not thereby authorised to email its contents externally. With an agent in the loop, that distinction is exactly the one that gets blurred. The agent will do what the task implies, and the task often implies more than the user would have done manually.
Identity is delegated and chained. A user asks an assistant, the assistant calls a tool, the tool calls an API, the API queries a database. By the fourth hop, the original user's authority has been passed down in a way few systems record. Without explicit delegation tokens, every hop runs as a service account with broad rights.
The output is an exfiltration channel. Summarisation, translation, and code generation are all legitimate functions that can move sensitive content into a form that looks innocuous. A model asked to "summarise the documents you can see" will do exactly that, to whoever asked.
| Assumption | Traditional system | AI platform reality |
|---|---|---|
| Trust boundary | Network perimeter | Per action and per data element |
| Identity | User or service account | Delegated chain: user, agent, tool, API |
| Execution | Deterministic and pre-approved | Decided at run time from model output |
| Sensitive asset | Database or file store | Assembled context and generated output |
| Exfiltration risk | Outbound file transfer | Summarised or translated text |
The practical reading is not that existing controls are useless, but that they are necessary and no longer sufficient. Identity, segmentation, and monitoring still matter enormously; they just no longer cover the failure modes that are specific to probabilistic, delegated, retrieval-driven systems.
What Are the New Attack Surfaces Created by AI Platforms?
Six surfaces account for most of the new risk. Each has a distinct control, and conflating them leads to buying the wrong tooling.
- Prompt injection, direct and indirect. Direct injection is a user crafting input that overrides instructions. Indirect injection is far more dangerous: malicious instructions placed in retrieved documents, web pages, or emails that the model processes on the user's behalf. The model cannot reliably distinguish content from instruction, so the mitigation must be structural — constrain what tools can do, not what text says.
- Tool and action abuse. Every capability an agent has is reachable through language. If an agent can send email, delete records, or move money, a successful injection can trigger those actions. Controls here are about capability scoping, human approval thresholds, and idempotency rather than about filtering.
- Retrieval leakage across classification levels. A vector index has no native notion of clearance. Without per-document access control enforced at query time, retrieval will surface content the requester could not open in the source system. This is the most common serious finding in AI platform assessments.
- Training and fine-tuning data exposure. Data used for fine-tuning can be memorised and regurgitated. Sensitive records should not enter training sets without a specific decision, and even then should be evaluated for memorisation.
- Model and dependency supply chain. Open-weight models, adapters, embedding models, and the packages around them are all executable supply chain. Pickled formats and remote code execution in loading paths are real, not theoretical.
- Output consumption as an injection vector. Generated content is often rendered in a browser, executed as code, or fed into another system. Treat every model output as untrusted input to whatever consumes it.
Notice what is absent from this list: the model weights themselves. In practice, the far more common failures are in the surrounding plumbing — what the agent is allowed to do, what retrieval can surface, and what happens to the output. Security programmes that focus on the model and neglect the plumbing consistently miss the actual incidents.
How Do You Establish Identity and Least Privilege for Agents and Pipelines?
Identity is the control surface everything else depends on. For AI platforms, the work has four parts.
Give every agent a distinct, attestable identity. Not a shared service account. Each agent definition, pipeline stage, and tool connector gets its own workload identity with its own credentials, its own audit trail, and its own revocation path. When something goes wrong — and it will — the ability to revoke one agent without stopping the platform is worth the setup cost.
Propagate the user's identity through the chain. Use short-lived, audience-restricted delegation tokens rather than replacing the user context with a service identity at the first hop. The token should carry: who the original user is, what they authorised, which agent is acting, and an expiry measured in minutes. Every downstream service validates the token and authorises the combined identity, not just the agent's.
Scope capability per task, not per system. An agent that answers questions about invoices needs read access to invoices. It does not need write access, it does not need access to payroll, and it does not need to send email. Define a capability manifest per agent — which tools, which data domains, which actions — and enforce it at the tool gateway, not inside the prompt.
Separate read, write, and irreversible actions. Reads can be broad with good audit. Writes require tighter scoping and usually idempotency keys. Irreversible actions — sending external messages, executing payments, deleting records — should require explicit human approval, with the request, the affected records, and the reasoning shown to the approver.
Two implementation details matter more than they appear to. First, enforce authorisation at the tool gateway, so a compromised model or a successful injection cannot reach a capability that was never granted. Second, expire delegation aggressively; tokens that outlive the task turn a scoped permission into a standing one.
How Do You Protect the Data That Feeds and Leaves Models?
Data protection for AI has three distinct moments, and most programmes only handle one.
Ingress: what enters the context. Retrieved documents must carry their classification with them, and retrieval must filter by the requester's clearance before the results reach the model. Enforce this at the retrieval layer, not by post-filtering model output — by then the content has already been processed. Where sources span classification levels, maintain separate indexes per level rather than one mixed index with filtering on top; filtering bugs are silent and catastrophic.
Processing: what the provider sees. Decide explicitly where inference runs. For sensitive workloads, use a deployment where prompts and completions are not retained or used for training, prefer a private or virtual-private deployment over a shared endpoint, and record the decision in the risk register. Where prompts must cross to a third party, strip or tokenise direct identifiers first, and log what was sent.
Egress: what comes back and where it goes. Generated output is data. Apply the same classification and handling rules you would to a document: scan for sensitive patterns before rendering, restrict where it can be stored or forwarded, and watermark where practical. Output that will be rendered in a browser must be escaped like any other untrusted input.
Add two cross-cutting practices. Maintain prompt and retrieval logs as security telemetry, with the same retention and access controls you apply to database audit logs — they frequently contain the most sensitive assembled content in the organisation. And define a retention position for embeddings: vector representations can be inverted well enough to recover approximate source text, so they are not anonymous artifacts and should not be retained indefinitely.
How Should You Segment and Monitor an AI Platform?
Segmentation and monitoring are where zero trust stops being a document and becomes an operating posture.
Segment on three axes rather than one:
- Environment. Separate development, evaluation, and production AI environments, with distinct credentials, distinct data, and no production data in development. Evaluation environments in particular are often overlooked and frequently contain production samples.
- Data domain. Separate retrieval stores by classification and by domain, so a compromise of the marketing index does not reach finance or HR content.
- Capability. Separate agents that can read from agents that can write, and both from agents that can take irreversible action. A read-only agent compromised by injection has a far smaller blast radius than one with write capability.
Monitoring must be adapted because the failure signature is different. Traditional security monitoring looks for anomalous access; AI platform monitoring must also look for anomalous behaviour by an authorised identity — an agent suddenly calling a tool it has never used, retrieving an unusual volume, or producing output that trips a content filter.
| Signal to collect | Why it matters | What it catches |
|---|---|---|
| Tool invocation logs with full arguments | Shows what the agent attempted, not just what succeeded | Injection attempts, capability abuse |
| Retrieval query and returned document IDs | Reconstructs exactly what entered the context | Cross-classification leakage, unusual access |
| Delegation token lineage per request | Traces which user and agent authorised each action | Privilege chaining, identity confusion |
| Output destinations and downstream consumption | Tracks where generated content landed | Silent exfiltration through summarisation |
| Denied action attempts | Failed authorisations are the best early warning | Probing, over-broad agent scope |
Alert on denied actions specifically. A well-scoped agent should almost never attempt something it is not permitted to do; a sudden rise in denials means either a misconfiguration or an injection attempt, and both warrant immediate attention.
How Do You Handle Supply Chain and Model Provenance Risk?
An AI platform is assembled from components you did not build: base models, adapters, embedding models, agent frameworks, and a large dependency tree around all of them. Each is an executable supply chain.
- Maintain a model inventory with provenance. For every model in use: origin, version, licence, known vulnerabilities, who approved it, and what it is permitted to process. You cannot answer an auditor's question about which models touched customer data without this.
- Pin versions and verify checksums. Model files and adapters should be pinned and verified like any other artifact. Unpinned model references are a remote-code-execution path waiting to be used.
- Avoid unsafe serialisation formats. Prefer safetensors over pickle-based formats for weights, and scan any format that permits executable content during loading.
- Scan the dependency tree continuously. Agent frameworks move fast and their transitive dependencies move faster. Automated scanning with a defined remediation SLA is the minimum.
- Assess hosted versus self-hosted explicitly. Hosted endpoints reduce operational burden and concentrate risk in a provider you must assess. Self-hosting gives control and adds an operational surface you must defend. Record the reasoning either way.
- Test for memorisation before fine-tuning on sensitive data. Canary testing — inserting known unique strings, training, then probing for them — gives a measurable answer to whether the model regurgitates its training data.
One governance practice pays for itself quickly: require that any new model, adapter, or agent framework enters through a review that asks three questions — what data will it process, what can it do, and how would we revoke it. Most risky additions fail the third question, which is why it is asked last.
What Does a Zero-Trust AI Platform Reference Architecture Look Like?
Assembling the controls produces a layered architecture. The order matters: each layer assumes the one below it.
- Identity and access. Enterprise identity provider, workload identities per agent and pipeline, short-lived delegation tokens, and per-agent capability manifests. Everything above depends on this being correct.
- Gateway and policy enforcement. A single ingress point that authenticates, authorises per action, enforces rate and cost limits, and routes to models. All traffic passes through it; nothing bypasses it.
- Retrieval layer with per-document access control. Indexes segmented by classification, access enforced at query time against the requesting identity, and full logging of query and returned document identifiers.
- Model serving layer. Pinned, verified models running in an isolated environment with egress restrictions, and no ambient access to production data sources beyond what the retrieval layer provides.
- Tool gateway. The authorisation point for every action. Validates the delegation chain, checks the capability manifest, enforces approval thresholds for irreversible actions, and logs arguments.
- Output handling. Classification, scanning, escaping, and destination controls applied to generated content before it is rendered or stored.
- Observability and response. Prompt, retrieval, tool, and output logs treated as security telemetry, with detection rules for anomalous agent behaviour and a rehearsed revocation path.
The single most important design property is that the tool gateway is the only path to action. If an agent can reach a capability without passing through it, every control above can be bypassed by a sufficiently clever prompt, and prompts are cheap to make clever.
Equally important is the rehearsed revocation path. In an incident, the useful capability is not detection but the ability to disable one agent, revoke its credentials, and preserve its logs — within minutes, without a deployment. Teams that have never rehearsed this discover during the incident that revocation requires a release.
How Do You Roll Out Zero Trust Without Stalling Delivery?
Zero trust programmes fail when they are launched as a gate. Six practices keep security and delivery moving together.
- Start with the asset inventory, not the controls. List every agent, model, data source, and tool connection, with what data it can reach and what it can do. Most organisations discover agents they did not know existed, and the inventory alone removes a large share of the risk.
- Ship the gateway first. Getting all traffic through one enforceable point is the highest-leverage early step, because every subsequent control becomes easier once there is a single place to apply it.
- Default to read-only for new agents. Make write and irreversible capability something a team must request and justify, rather than something they get by default. This inverts the usual pattern and eliminates most accidental over-permissioning.
- Build the approval path before you need it. Human-in-the-loop approval for irreversible actions should exist from the first agent that can take one, not be retrofitted after an incident.
- Provide a paved road. Give teams a template agent with identity, logging, scoped capabilities, and approval thresholds already wired. Teams bypass security they have to build; they adopt security that arrives pre-built.
- Rehearse incident response quarterly. Run a tabletop where an agent is compromised and must be revoked. The first rehearsal always reveals that revocation is slower than assumed, which is exactly what you want to find out in a rehearsal.
The measure of a working programme is not the number of controls deployed. It is whether the organisation can safely give more people access to more capability over time. Zero trust done well does not shrink what AI can do; it makes it safe to expand what AI is allowed to touch.
Frequently Asked Questions
Zero trust means no user, device, workload, or network position is trusted by default, and every access decision is explicit, least-privilege, and made on the assumption of breach. For AI platforms the implementation shifts from network segmentation to per-action authorisation, data provenance, and output handling, because the entities requesting access now include agents acting on a user's behalf along non-deterministic execution paths.
Four reasons: retrieval assembles fragments from many sources into one context window that is more sensitive than any single document; authorisation must be evaluated per action rather than per session because execution paths are decided at run time; identity is delegated through chains of user, agent, tool, and API; and generated output is itself an exfiltration channel through summarisation or translation.
Indirect prompt injection places malicious instructions in content the model processes on the user's behalf, such as retrieved documents, web pages, or emails. It is more dangerous than direct injection because the attacker never interacts with the system and the model cannot reliably distinguish content from instruction. Mitigations must be structural: constrain what tools can do rather than trying to filter what text says.
Give every agent a distinct, attestable workload identity rather than a shared service account. Propagate the user's identity using short-lived, audience-restricted delegation tokens that expire in minutes. Define a capability manifest per agent covering tools, data domains, and actions, and enforce it at the tool gateway. Separate read, write, and irreversible actions, requiring human approval for the last category.
Enforce access control at retrieval time, not by post-filtering model output, because by then the content has already been processed. Carry classification metadata with each document and filter by the requester's clearance. Where sources span classification levels, maintain separate indexes per level rather than one mixed index, since filtering bugs on a mixed index are silent and catastrophic.
No. Vector representations can be inverted well enough to recover approximate source text, so they should be treated as derived data with the same classification as their source. Apply a defined retention position to embeddings rather than keeping them indefinitely, and include them in data subject access and deletion processes.
Collect tool invocation logs with full arguments, retrieval queries with returned document identifiers, delegation token lineage per request, output destinations and downstream consumption, and denied action attempts. Then alert on anomalous behaviour by authorised identities, such as an agent calling a tool it has never used or a sudden rise in denied actions.
Maintain a model inventory with provenance, licence, and approval for every model in use. Pin versions and verify checksums, prefer safetensors over pickle-based weight formats, scan dependency trees continuously with a remediation SLA, assess hosted versus self-hosted explicitly, and run canary memorisation tests before fine-tuning on sensitive data.
Start with an asset inventory rather than controls, ship the enforcement gateway first so later controls have a single application point, default new agents to read-only, build human approval paths before they are needed, provide a pre-wired template agent as a paved road, and rehearse agent revocation quarterly so incident response is proven rather than assumed.
What Are the Key Takeaways on Zero-Trust AI Platforms?
Zero trust for AI platforms is a set of enforced properties, not a checkbox. These are the principles that separate enterprise-ready deployments from demos with credentials.
- Start with a specific decision, not a platform purchase: the pilot question defines the data, the owner, and the access model.
- Enforce least privilege at query time: permission checks belong in the retrieval path, not the login screen.
- Governance and usability must be designed together: access controls and explainable answers are the same layer.
- Adoption depends on trust, and trust depends on transparent, explainable outputs: every answer must trace to its sources — and to the person who asked.
- Audit like you are already breached: the end-to-end log is the product; test it with real drills.