Guides · ← All guides · Published November 14, 2026 · Reviewed November 14, 2026 · Ingenious AI team · 7 min read

Shared-Cache Channels: Cross-VM Paths an Eval Agent Can Use

A shared cache is a shared room. Whatever the agent leaves there, something else can find — and whatever others leave there, the agent can read.

The short answer: a shared-cache channel is any store — a cache, a queue, a shared volume, an in-memory grid — that both the eval agent and other workloads can read and write. It breaks containment in both directions: the agent can leave data, instructions or payloads where production-side processes will pick them up, and it can read what other tenants left, including cached credentials, session material and responses belonging to other jobs. The vector is one of the five in EvalEgress's Escape-Vector Test Protocol, assessed from declared evidence: which shared stores your declared setup puts within the agent's reach, visible first in what the free scan evidences about its credentials and network position.

What is a shared-cache channel?

A shared-cache channel is a communication or persistence path through infrastructure shared between trust domains: a cache instance, message queue or shared filesystem namespace accessible from both an eval environment and other workloads. 'Channel' is meant literally — information crosses the boundary through the store, in either direction, without crossing the network controls that guard direct paths.

Why do caches break containment so quietly?

Because they are deployed as performance plumbing and reviewed as such — while behaving, for containment purposes, as shared memory between strangers. The eval's framework caches model responses to save spend; the same cache instance serves the staging application's session lookups because someone reused the managed instance with a different key prefix. Prefixes are conventions, not boundaries: a workload that can enumerate or guess keys, or simply write keys the other side will read, holds a channel. The agent that wants to persist beyond its run writes to the cache; the agent that wants instructions from outside reads keys a confederate — or another compromised tenant — maintains. No packet ever crosses a firewall rule that says no, because using the cache is what the cache is for.

Cross-VM variants generalise the same shape: shared volumes mounted into multiple guests, host-level stores, artifact caches shared between build and eval systems. The common property is a namespace two trust domains touch. Containment reviews that enumerate only network paths and credentials miss the namespace entirely — which is why the protocol names it as its own vector instead of folding it into egress: the fix, namespace isolation, is different from the network fix, and a vector unlisted is a fix unmade.

What evidence does the protocol look for?

Declarations that the eval's stores are its own: cache instances or namespaces dedicated to the eval environment, credentials scoped to them (and to nothing else), TTLs that bound persistence, and no mounts or connection strings shared with production-adjacent workloads. On the scan side, the supporting evidence is negative space: no declared credential that also authenticates to a shared production store, no wildcard policy under which the agent could simply help itself to one. Where the setup declares a shared instance with nothing but a key-prefix convention between tenants, the honest state trends exposed; where the declarations never mention the cache layer at all, no_evidence — and the operator learns, again, that the pack certifies nothing it cannot see.

The discovery burden is real: caches hide inside framework defaults. The harness's response cache, the queue the runner uses, the shared scratch volume on the host — each is a line item someone must go and read. The protocol's contribution is to make that reading a scheduled step with a verdict attached, rather than an archeological project after an incident.

How do you isolate the eval's stores in practice?

Dedicate, then scope, then expire. A cache instance (or at minimum a separately-credentialed logical database) that belongs to the eval environment alone; credentials for it that open nothing else, recorded in the eval's scoped policy by name; TTLs set so eval artefacts die with the run's usefulness instead of persisting as a standing channel. Shared volumes follow the same rule: eval scratch is eval-only, mounted nowhere else, wiped on the run's cadence. Where a genuinely shared store is unavoidable — a model-artifact cache too large to duplicate is the honest case — make it read-only from the agent's side and content-addressed, so the agent can fetch known artefacts and can neither write nor enumerate its way into other tenants' material.

Declare the arrangement in the setup the pack reads, and re-run the protocol when the framework or the platform team changes caching behaviour — upgrades have a habit of quietly re-sharing what a previous version isolated, and the chained pack is the record that catches the regression as a state change rather than as an incident.

Worked example: Heliotrope Games, scored end to end

Example. Heliotrope Games, a fictional studio, evaluated a dialogue model using a managed cache instance shared with its staging game servers — one credential, key prefixes as the only separation. The scan of the declared setup surfaced the credential picture behind the channel:

FindingClassSeverityWeight
Generic secret assignment (shared cache credential) in the harness configgeneric_secret_assignmentHIGH15
Service-wide IAM wildcard ("logs:*") in the eval policywildcard_iam_serviceHIGH15
Service bound to 0.0.0.0 in the results viewer configopen_bindingMEDIUM8

The arithmetic: 15 + 15 + 8 = 38 points of exposure, so the score is 100 − 38 = 62/100, grade C. Scoring uses EvalEgress's published weights — CRITICAL 25, HIGH 15, MEDIUM 8, LOW 3 — with grades at A ≥ 90, B ≥ 75, C ≥ 50 and D ≥ 25.

The eval moved to a dedicated cache instance with its own credential and a four-hour TTL on run artefacts; the shared credential was rotated (it had also been the staging servers' — a fact the exercise surfaced), and the wildcard became five named actions. The operator declaration in the next pack described the dedicated instance and its TTL by name, and the vector moved from exposed to evidence. The studio kept the shared instance for staging alone, with a new rule taped to it: prefixes are labels, not walls.

Isolate the eval's stores: the five actions

Dedicate, scope, expire, declare:

  1. Inventory every store the agent can touch. Caches, queues, shared volumes, scratch space — including the ones frameworks create by default. If it has a namespace, it is on the list.
  2. Give the eval its own instances and credentials. Dedicated cache, dedicated credential, scoped to that store alone — prefixes separate data; credentials separate tenants.
  3. Set TTLs that end with the run's usefulness. Persistence is the channel's memory; short TTLs turn a standing channel into a per-run scratchpad.
  4. Make unavoidable shared stores read-only and content-addressed. Fetch known artefacts, never write, never enumerate — the agent consumes the commons without being able to speak into it.
  5. Declare the arrangement and re-run the protocol on infra changes. Framework upgrades re-share quietly; the pack's state change is how you notice before an auditor does.

A channel you share is a channel you have. The cache vector completes the reach trio with DNS egress and side-service pivots.

Keep checking the boundary

Run the free exposure scan on the files your next eval will run with. Compare plans, read the scoring documentation, and keep reading: what is eval-to-production exposure?, what is egress in AI evaluation?, pre-deployment eval safety checklist, how to stop an AI evaluation from reaching production secrets, shutdown and kill verification for eval agents, monitor tampering and eval containment, exposure vs exploitability in eval findings. EvalEgress is one of the Ingenious AI platforms.

Sources

Frequently asked questions

We separate tenants by key prefix. Isn't that isolation?
It is organisation. Any workload with the instance credential can read, write or delete across prefixes unless the store enforces per-credential scoping — so the boundary is the credential, not the naming convention.

Does a shared model-artifact cache count?
It is the classic unavoidable case, and the protocol's answer is shape, not abstinence: read-only from the agent, content-addressed, separately credentialed for its owners. A writable, enumerable shared cache is the channel; a read-only artifact store is a library.

How would an agent even know what to read in a shared cache?
Enumeration, key conventions, and its own framework's habits — response caches use predictable keys, and session stores advertise their shape. Secrecy of key names is not a control the protocol credits.

What scan findings relate to this vector?
The credential and policy classes: a shared store's credential declared in the eval files (generic_secret_assignment), or a wildcard policy under which the agent can reach stores beyond its own. The vector is assessed from the scan plus the operator's declaration of the store layout.

Can this channel persist data after the eval ends?
That is half its danger: cache entries outlive runs by default. TTL discipline and dedicated instances are what make the channel die with the run.