AID-H-033.003: Region / Data-Zone / Residency / Retention-Constrained Routing

Version 1.20261015 · Actionable sub-technique

Bind routing decisions to data-handling policy. Requests that carry residency, sovereignty, data-zone, retention, or model-training restrictions must only route to endpoints whose legal and technical handling characteristics are pre-approved for that request class.

Pillars: data, app, infra

Lifecycle: building, operation

Scope boundary

Owns routing-time selection of model endpoints and regions that satisfy data residency, sovereignty, data-zone, retention, and provider-training restrictions already attached to an authorized inference request.

AID-H-029.002: AID-H-033.003 selects which endpoint or region may process data already authorized for inference; AID-H-029.002 decides whether the data may enter the inference stage at all. Stage authorization must precede route eligibility.

AID-I-002.002: AID-H-033.003 makes the policy-layer endpoint and region choice; AID-I-002.002 enforces network-layer destination reachability. Routing policy and egress enforcement must agree but are not the same decision.

AID-H-032.001: AID-H-033.003 governs geographic and legal compatibility; AID-H-032.001 governs shared versus dedicated capacity for tenancy isolation. A route may satisfy residency while failing the required isolation tier.

Implementation guidance

AID-H-033.003-G001

Attach data-zone and retention labels to requests and block routing to endpoints whose residency or retention profile is incompatible.
Concept:

Routing decisions must respect the request's data-zone, allowed-region, retention, and training-use labels before a backend is selected. These labels are routing preconditions, not after-the-fact audit tags.

Step 1: Carry policy labels on every request
{
  "request_id": "req-123",
  "data_zone": "eu-regulated",
  "allowed_regions": ["eu-west-1", "eu-central-1"],
  "retention_class": "no-training",
  "train_on_customer_data": false
}
Step 2: Evaluate backend compatibility before selection
# File: routing/select_region_safe_backend.py
from __future__ import annotations


def backend_is_compatible(request_labels: dict, backend_profile: dict) -> bool:
    if backend_profile["region"] not in request_labels["allowed_regions"]:
        return False
    if backend_profile["retention_class"] != request_labels["retention_class"]:
        return False
    if backend_profile["train_on_customer_data"] != request_labels["train_on_customer_data"]:
        return False
    return backend_profile["data_zone"] == request_labels["data_zone"]
Step 3: Verify routing rejections

When all candidate backends fail compatibility checks, emit a structured rejection record that captures the incompatible field rather than falling back to a looser region or retention profile.

Action: Make region, residency, and retention compatibility a hard routing gate. If the backend profile does not match the request labels, block the route.

Keep the action safely bounded

Reconcile the complete population of every labeled request and every candidate/effective endpoint considered for it; reject expired, revoked, or stale policy and asset bindings under the policy-defined freshness window.

Verify safely

A separately credentialed verifier independently replays label provenance, candidate compatibility, DNS/endpoint region, provider profile and effective route with forged label, unknown region, changed retention/training-use, failover, and profile-expiry fixtures, reads back effective state from the enforcement system, exercises positive, negative, boundary, stale-evidence, and dependency-failure fixtures, and reconciles every eligible item.

Open-source tools

Commercial / hosted tools

Threat mappings

MITRE ATLAS

MAESTRO

OWASP LLM Top 10 2026

OWASP ML Top 10 2023

OWASP Top 10 for Agentic Applications 2026

NIST Adversarial Machine Learning 2025

Cisco Integrated AI Security and Safety Framework

Google Secure AI Framework 2.0 - Risks

Databricks AI Security Framework 3.0

AID-H-033.003: Region / Data-Zone / Residency / Retention-Constrained Routing | AIDEFEND

Loading interactive view…

A Practical Knowledge Base for AI Security Defenses

Version