Control Packs · DAT-003 · v1.0.0

Many clients.
One boundary each.

Keep each client's data apart in storage, caches, logs and exports.

Tenant Data Isolation

In review

See it in an app

Where this goes wrong in an app.

Pick the kind of app closest to yours. Amber marks where the problem happens. Blue marks where your decision applies.

In the failure map

Which step of a system this protects.

Most systems built with AI agents follow these steps. This safeguard covers the highlighted one. See the map for your own system →

  1. Starts hereA request or outside content arrives
  2. Decided hereThe app or AI decides what to do
  3. Acts hereThe change is made
  4. Checked afterThe result is recorded and watched
  • This safeguard’s step: Stored throughoutRecords every step reads and writesOne tenant sees another’s data

Reference and context

Pack reference · v1.0.0

What this safeguard addresses

Make tenant isolation explicit across storage, retrieval, caching, logging, deletion, and export paths.

  • Tenant data is mixed across a boundaryStorage, cache, search, logs, or exports allow data from one tenant to be selected or disclosed in another tenant's context.
Matching rule
{
  "all": [
    {
      "characteristic": "MULTI_TENANT",
      "equals": true
    },
    {
      "characteristic": "SENSITIVE_DATA",
      "equals": true
    }
  ]
}

Decisions you need to make

Leave a decision open when its value is unknown. Confirm a suggested value only if it matches your intended design.

  • Which data paths require an explicit tenant-isolation check?Isolation can fail outside the primary database query, including caches, search, logs, and exports.DAT-003-Q1 · multi_select

Requirements for the coding agent

  • DAT-003-R1Enforce tenant context at storage, retrieval, cache, search, logging, deletion, and export boundaries, and test cross-tenant denial.

Tests and evidence to keep

  • TENANT_DATA_BOUNDARY_TESTVerify tenant-scoped reads, writes, cache keys, search filters, deletion, export, and denied cross-tenant access.
  • configuration_or_policy
  • implementation_location
  • test_result
  • telemetry_definition

Passing a published example shows that example's behavior. A coding agent's implementation report remains a claim until its evidence is independently checked.

Related guidance

  • AC-3 · Access EnforcementNIST_SP_800_53_5_2_0 · partially addressesTenant context at authorization and data boundaries supports a defined access partition; it does not cover all access enforcement.
  • AC-4 · Information Flow EnforcementNIST_SP_800_53_5_2_0 · partially addressesCross-tenant denial across storage, cache, search, logs, and export addresses selected information flows; it is not complete flow coverage.
  • PT-5 · Processing Personally Identifiable InformationNIST_SP_800_53_5_2_0 · partially addressesTenant-scoped processing and deletion boundaries reduce inappropriate PII processing; they do not establish privacy compliance.

These references cover related topics. They do not mean this pack satisfies a framework, certifies your project, or has government endorsement.

Review your project

Design guidance, not independently verified implementation or certification.