Governed Agents Guide

Reference · Data

Keeping Client Data Out of Public AI Models

Boundaries are enforced before the model, not promised by it.

01Three questions

  1. What data classes exist? Public/internal, client-confidential, regulated. Each gets a rule.
  2. Which model may see which class? Public frontier model, private endpoint, or on-premises. The routing table is the control.
  3. What proves it held? A log of model calls by class, plus a sample case where out-of-scope data was filtered before the call.

02What filtering looks like

Filtering is deterministic code that removes or masks out-of-scope fields before the prompt is assembled: account numbers, names, addresses, anything outside the task's scope. It runs every time, not when someone remembers. The model never sees the excluded fields, so there is nothing for it to leak.

A sample routing table

Data classAllowed destinationConditionEvidence
Public / internalPublic model endpointNo client identifiersModel-call log by class
Client-confidentialPrivate endpointMasked fields; no trainingFilter rule and before/after sample
RegulatedPrivate or on-premisesContract and approval on fileRouting table and approval record

03Separation

If one agent serves many clients, each client's or matter's data must stay separate: separate context, separate retrieval, separate logs. "The model doesn't remember" is not separation; the retrieval layer is where cross-client leakage happens.

04Evidence

05FAQ

Is a private model enough?

Private hosting removes the public-service path, but the boundary still has to exist: what the agent reads, what it sends, and what it logs are separate decisions.

Can we use public models at all?

Yes, for classes whose rules allow it. The point is the per-class decision, documented and enforced — not a blanket yes or no.

05Questions to ask the vendor

These map to OWASP's 2026 items for sensitive information disclosure and vector/embedding weaknesses, and to the data controls in ISO/IEC 42001.12

Next: regulated industries.

Free · the 24-point audit

Get the shadow AI audit

Twenty-four checks across visibility, identity, data, and governance — each with the evidence that answers it. The printable version of the method on this page.

We use the address to send the pack, then a person checks in once. No list, no sequence; no sales calls unless you ask. Privacy.

06Sources

  1. OWASP GenAI Security Project, “OWASP GenAI LLM Top 10 2026.”
  2. ISO, ISO/IEC 42001:2023 — AI management system.