Guides · ← All guides · Published November 14, 2026 · Reviewed November 14, 2026 · Ingenious AI team · 8 min read
How to Isolate an Eval Environment From Production (Identity, Network, Data)
Isolation is not a VPC diagram. It is the state where an eval can be fully compromised — or fully obedient to a malicious test case — and production notices nothing.
The short answer: isolate on three axes simultaneously. Identity: the eval runs as its own role, scoped to named actions on eval resources, holding no production credentials — secrets fetched per-suite from a manager at runtime. Network: harnesses and viewers bind to localhost or the private interface, ingress is restricted to the networks that run evals, results storage is private. Data: the eval's stores are its own (dedicated caches and buckets, TTL-bound), and production data enters as deliberate, minimal samples through an export step — never as standing access. Verify the posture by scanning the declared setup: the free scan reads exactly the declarations isolation is made of, and the 16 classes are its failure modes, enumerated.
What is eval environment isolation?
Isolation is the property that the eval environment shares no standing trust with production: no shared credentials, no shared role, no open network path, no shared writable store. It does not mean the eval cannot use production-derived data or call production-shaped APIs; it means every crossing is a deliberate, narrow, logged act rather than a standing condition.
What does the identity axis require?
A role that exists only for the eval, created from the eval's observed calls — never cloned from a deployment role, which imports production's permissions wholesale (the single most common isolation failure, and the one that brings admin_managed_policy and the wildcard classes with it). Credentials per suite, born in the secrets manager, rotated independently of the product's. And a hard rule with a mechanical check: no production credential is ever valid inside the eval environment, so a leaked eval folder, however widely it travels, contains nothing production will honour. Test the axis by asking the incident question: if this folder were published tomorrow, what production action could a reader take? Isolation is the arrangement whose answer is 'none' — the folder holds references, a scoped role's name, and eval-only secrets whose death would cost an afternoon.
Keep the monitor and kill control on the far side of this axis too: independence means the eval's identity cannot touch them, which is an identity statement before it is an architecture one. The independence check formalises it; isolation is where you build it.
What does the network and data axis require?
Network: the eval's services listen on localhost or the private interface; ingress names the runner networks and no others; egress resolves through a controlled resolver with the run's zones allow-listed — the posture whose absence the network classes (open_ingress, open_binding, public_bucket_acl) report. Data: results and caches live in stores dedicated to the eval, private by ACL, TTL'd so runs do not accumulate into a shadow archive of production samples. Production data crosses via an export: a named person or job extracts a minimal, purpose-shaped sample (redacted where the eval does not need the raw fields), lands it in the eval's dataset store, and logs the crossing. The eval then works on data that is already inside the boundary, instead of holding a standing key to the warehouse outside it.
The export step feels like friction and functions as the audit trail: what production data has the eval programme touched, ever, is answerable from the export log. Teams that skip it discover, during the first diligence review, that the honest answer is 'whatever the role could read' — an answer isolation exists to retire.
How do you verify isolation without a penetration test?
By scanning the declarations, which is what isolation is made of — plus two drills. The scan reads the eval's identity paperwork (policies: scoped or wild?), its credential paperwork (values or references?), its network paperwork (open or enumerated?) and its debug surface, and reports the gaps as named classes. The drills cover the dynamic residue: the kill drill proves the stop works across the boundary, and a tamper rehearsal proves the record cannot be edited from inside. Between the scan and the drills, the residual unverified claim is small and nameable — live-state drift between the declarations and the consoles — which a periodic console-side review of the eval role's actual attachments closes.
Re-verify on change, not on calendar alone: isolation erodes through helpful exceptions (a production credential 'for one run', an ingress opening 'for the demo'), each of which is a declaration change the next scan sees. The CI diff gate is the erosion alarm — new exposures block — and the pre-run checklist is the final human pass. Isolation, maintained that way, is a property with a maintenance log rather than a launch-day diagram.
Worked example: Verdigris Bank Labs, scored end to end
Example. Verdigris, a fictional bank's innovation lab, rebuilt its eval environment to the three-axis blueprint after its first scan described the old one — a staging clone with production-adjacent trust — in findings:
| Finding | Class | Severity | Weight |
|---|---|---|---|
| AdministratorAccess referenced in the cloned deployment policy | admin_managed_policy | CRITICAL | 25 |
| Wildcard principal ("*") in the shared resource policy | wildcard_principal | CRITICAL | 25 |
| Ingress open to 0.0.0.0/0 in the network config | open_ingress | HIGH | 15 |
| Public-read ACL on the shared results bucket | public_bucket_acl | HIGH | 15 |
The arithmetic: 25 + 25 + 15 + 15 = 80 points of exposure, so the score is 100 − 80 = 20/100, grade F. 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 rebuilt environment: a dedicated eval role with eleven named actions on eval resources only; per-suite secrets in the manager, production credentials invalid by construction inside the boundary; private binds, ingress restricted to the lab's runner range, a controlled resolver; dedicated results and cache stores with 30-day TTLs; production samples arriving through a logged export job, minimised and redacted. The scan of the new declared set reported zero findings. When the lab's parent bank ran diligence, the export log plus the report pair answered the isolation questions in one session — the blueprint had produced its own evidence.
The isolation blueprint: five actions
Three axes, verified two ways:
- Give the eval its own scoped identity. A role built from observed calls, per-suite manager-held secrets, and a standing rule that no production credential is valid inside the boundary.
- Close the network to an enumeration. Private binds, ingress restricted to runner networks, controlled DNS resolution — the posture the scan's network classes can verify from declarations.
- Dedicate the data stores and TTL them. Eval-only buckets and caches, private by default; runs leave artefacts with lifetimes, not a growing shadow archive.
- Cross production data only by logged export. Minimal, purpose-shaped, redacted where possible — the export log becomes the answer to 'what has the eval touched?'.
- Verify by scan and by drill, on every change. The declared-set scan for the paperwork, kill and tamper drills for the dynamics, the CI diff as the erosion alarm between them.
Isolation is the end state the individual findings are all pointing at. The run-level gate that keeps it true is the pre-deployment checklist.
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, staging config copied into an eval folder, prompt-injection cases in eval datasets, evaluating models with production data safely. EvalEgress is one of the Ingenious AI platforms.
Sources
- EvalEgress scoring documentation — the 16 finding classes, severity weights and declared-surface scope every judgement in this guide applies, published 2026.
- What Is Eval-to-Production Exposure? — the companion guide this page builds on, published November 7, 2026.
- The free EvalEgress scan — the declared-file scan this guide's checks are performed with.
Frequently asked questions
Does isolation mean the eval cannot use production data?
No — it means production data crosses by deliberate, minimal, logged export rather than by standing access. The eval gets the samples it needs; it does not get the warehouse.
We run evals in staging, which is already separate. Are we isolated?
Staging is a place, isolation is a trust property. If the staging eval role was cloned from deployment, holds production-honoured credentials or shares stores with production, the axes fail inside the separate place — scan the declarations and see.
What is the single most common isolation failure?
The cloned deployment role: it imports admin policies and wildcard principals wholesale, and it arrives with the copied config folder. Building the eval role from observed calls is the highest-leverage single fix.
How much does isolation cost in velocity?
An export step and a scoped policy, against the alternative of scoping every incident review to 'whatever the role could reach'. Teams report the export log pays for itself at the first diligence or incident question.
Can the scan prove isolation?
It proves the declared posture — no credential values, no wildcards, no open network declarations in the scanned set. Combined with the kill/tamper drills and a console-side review of the live role, the remaining gap is small and nameable, which is what verification means here.