Skip to content
Back to blog

AI Inference Supply Chains: Verify the Route, Retention and Provider Boundary

6 min read
AI Inference Supply Chains: Verify the Route, Retention and Provider Boundary

Sources checked: . FailSafe Research.

A data processing agreement names a provider. It does not show which service actually received the prompt. Inference can pass through a gateway, a marketplace, a regional endpoint or a fallback model, and each hop can have its own logging, retention and access rules. For teams sending source code, customer records or security findings to a model, the useful question is not whether the contract says zero retention. It is whether the deployed route matches the contract, and what evidence proves it.

This guide sets out an assessment method. It does not assert how any named provider handles data. Confirm the current terms, endpoints and processing locations with each provider before relying on them.

Why the contract and the route can disagree

Most AI applications do not call one model endpoint directly. A typical path includes an application gateway, a routing layer that selects a model, a provider SDK, and sometimes a fallback when the first choice is unavailable or over budget. Each layer can add a log, a cache, a queue or a second provider.

Three common mismatches follow:

  • The approved provider is not the only processor. A fallback or a router can send the same context to a service the buyer never reviewed.
  • The retention setting is not the retention behavior. A console flag can be overridden by request parameters, account settings, debugging features or a downstream intermediary.
  • The region is not the jurisdiction. A region-pinned endpoint can still call a control plane, a logging service or an evaluation job elsewhere.

None of these requires malice. They are the normal result of composing several services under time pressure, and they are exactly what a technical review should test.

Build the route inventory first

Before testing, write down the intended path for each AI feature. If the inventory cannot be completed from documentation, that is already a finding.

What to record for each AI feature that sends sensitive context
LayerQuestionEvidence to keep
Application endpointWhich service initiates the model call, and under which tenant identity?Service name, environment, identity and the code path that makes the call.
Gateway or routerWhich component selects the model, and can it change the destination at runtime?Routing configuration version, selection rule and a request ID from the router.
Model providerWhich provider and model version served the request?Provider response metadata, model identifier and the account or project used.
Fallback pathWhat happens when the primary model is unavailable, rate-limited or over budget?Fallback order, the condition that triggers it and the provider it reaches.
Logging and cachesWhere are prompts, completions and metadata written, and for how long?Log destinations, retention settings, cache configuration and deletion procedure.
Human accessWho can read request data, and under what support or review process?Role list, support-access agreement and audit-log source.

Keep the inventory tied to a deployed version. A diagram reviewed six months ago does not describe the routing that runs today.

Four tests that produce usable evidence

1. Canary prompts

Send a unique, harmless marker through each feature and each fallback path. The marker should be traceable but not sensitive. Then look for it in the places the data should and should not appear: provider request metadata, gateway logs, application logs, support tooling and any evaluation or debugging store.

A canary proves that a specific request reached a specific place. It does not prove which hop was responsible for a leak, and it does not measure prevalence across traffic. Treat it as an exposure test, not an attribution method.

2. Egress observation

Record the destinations the application actually contacts during inference, including control planes and telemetry. Compare that list with the approved provider set. A destination that appears only on the fallback path is still part of the processing chain.

3. Retention checks

Use a test account and a synthetic record. Apply the documented deletion or retention control, then check whether the record is still reachable through the APIs, logs or support surfaces that the agreement covers. Record the control applied, the time, the scope and the observed result. Where a provider offers no way to verify deletion, record that limitation rather than inferring success.

4. Configuration drift

Compare the deployed routing, model versions and retention settings with the reviewed baseline. Drift is common after a model upgrade, a cost change or an incident response. A route that silently moved to a cheaper model is also a data-handling change.

What to ask before signing

  • Which legal entity and which service process the request, and does any reseller or marketplace sit between us and that service?
  • Does the zero-retention setting apply to all request types, including evaluations, abuse monitoring and debugging?
  • What triggers a fallback, and can we disable it or restrict it to approved providers?
  • Where are logs and backups stored, and what is the deletion path and timeline?
  • Can we obtain request-level evidence that a test record was deleted?
  • What changes when a model version is retired or upgraded?

An answer that cannot be demonstrated technically is a hypothesis, not a control. Ask for the evidence behind the claim.

When local inference is the right answer

Some buyers cannot make a multi-hop route acceptable at all. A fully local configuration removes the third-party inference hop and keeps model processing inside the customer boundary. That does not remove every question: the customer still needs to decide what happens when the local model fails, whether any cloud fallback exists, how support access works and how evidence is retained.

The fail-closed acceptance guide covers that failure path. The multi-model routing guide covers how a pentest or agent workflow should keep one approved route across testing, reproduction and reporting.

Where FailSafe fits

FailSafe tests authorized AI applications and the infrastructure around them. A scoped assessment can inventory the deployed model route, test fallback behavior with synthetic markers, review egress and retention controls, and produce evidence that ties each result to a configuration version. The AI and LLM penetration testing scope covers model, retrieval and tool boundaries. The sovereign deployment page covers regional hosting and customer-operated inference.

Testing stays within an agreed boundary. We do not send real customer data, we do not test a provider without authorization, and we do not present a canary result as proof about traffic we did not observe.

What this guide does not establish

This is an assessment method, not a finding about any provider. It does not claim that a specific vendor retains or exposes data, and it does not replace the provider's current terms, a legal review or a security questionnaire response. Canary tests show what happened to a synthetic request in a controlled configuration. They do not measure all traffic, all regions or all future versions.

Questions & answers

Questions about this topic

Direct answers to common questions about this page.

It is the set of services that handle a prompt between your application and the model that answers it, including gateways, routers, model providers, fallbacks, logging and caches. Each service can process or retain data.

Not on its own. The setting has to apply to the request type and to every hop in the deployed route. Ask for request-level evidence, and test with a synthetic record where the provider supports it.

It can show that a specific synthetic request reached a specific service or log. It cannot identify which hop was responsible for a leak, and it does not measure prevalence across real traffic.

It removes the third-party model provider from the path when the configuration is fully local. The customer still needs to define fallback behavior, support access, retention and evidence handling.

Only with that provider's authorization. A customer assessment typically tests the customer's application, its routing and its own controls, and reviews the provider terms and evidence the customer can obtain.

Put this guidance to work

Bring the AI features, model providers and fallback paths you want checked. FailSafe can test the deployed route within an agreed scope and produce reviewable evidence.

Startup offer: $999 USD for 250 credits and one authorized black-box run. Sign in to SWARM before Stripe checkout. Custom scope and sovereign deployments are separate.

Review your inference route