Guides · ← All guides · Published November 14, 2026 · Reviewed November 14, 2026 · Ingenious AI team · 7 min read
Open Ingress (0.0.0.0/0) in an Eval Network Configuration
0.0.0.0/0 means the whole internet may knock. On an eval box — which executes tools and holds credentials — knocking is usually enough.
The short answer: restrict the CIDR to the networks that actually run your evals. An ingress rule open to 0.0.0.0/0 in your declared files is EvalEgress's open_ingress class (HIGH, weight 15): the eval environment accepts connections from any address on the internet. Automated scanners will find it, and what they find is a harness that executes tasks, calls tools with real credentials, and displays results. Replace the open range with your office, VPN or runner ranges, keep management ports off the public rule entirely, and verify with the free scan that 0.0.0.0/0 no longer appears in the declared network files.
What is open ingress?
Ingress is traffic arriving at a system from outside it. An ingress rule written 0.0.0.0/0 allows arrival from every IPv4 address — the entire routable internet, no exceptions. EvalEgress matches the 0.0.0.0/0 declaration in pasted files as class open_ingress, HIGH severity. The companion class open_binding covers the service-side twin: a program listening on all interfaces.
What reaches an eval environment through an open rule?
First, the internet's standing background noise: scanners that catalogue every open port on every address, continuously, and publish the results. An eval harness appearing in those catalogues is indexed by its banners and page titles — 'evaluation results', an unauthenticated viewer, a debug console — for anyone who searches them, including people who search professionally. Second, anyone who wants the specific things an eval holds: the dataset with production samples, the results archive, and the credentials the harness uses, which sit one lateral step from the harness itself.
Third — and unique to evals — the harness is an execution surface. Reaching it can mean submitting work to it: a crafted eval case, a tool call, a prompt aimed at the agent rather than at the model under test. Reach plus the agent's own tool access is the exfiltration path the egress guide describes from the data's point of view. The open ingress rule is what lets the path start from outside your network; closing it does not merely hide the box, it removes the first hop.
How do you restrict a CIDR without locking the team out?
Enumerate who actually connects: the office egress address, the VPN gateway range, the CI runner's addresses, a named contractor's range for a named period. That list is almost always short, and writing it down is most of the fix — the open rule usually survives because nobody wrote the list, not because the list was long. Apply the ranges to the harness and viewer ports; keep administrative access on a separate rule, or behind the VPN alone, so the public-facing posture is not the management posture.
Then test like an outsider. From a network outside the allowed ranges, the harness should simply not answer. Teams skip this test because the console shows the rule saved; the console also showed the rule saved when it was open. A scan of the declared files confirms the text is right; a connection attempt from outside confirms the text means what you think. Both checks are cheap, and together they are the proof the checklist asks for before a production-connected run.
Why does the same line also earn an open_binding finding?
Because 0.0.0.0/0 contains 0.0.0.0. The scanner's open_binding pattern matches the all-interfaces address wherever it appears, including inside a CIDR rule, so one open ingress line produces two findings: HIGH for the network rule, MEDIUM for the all-interface address it is written with. That is not double-counting for sport — the two classes name different layers (the firewall's posture and the address semantics inside it), and either can appear without the other — but in this specific overlap the fix is one edit that closes both.
The arithmetic matters when you triage: an open ingress line costs 23 points (15 + 8), more than any credential except the CRITICAL classes. Teams often fix it last because it 'feels' like infrastructure rather than content, while the score treats it as the heavyweight it is. When the declaration is in an infrastructure file the eval copied from a tutorial or a demo, the durable fix is to correct the source template too, or the next copied environment reopens the rule.
Worked example: Harbor & Finch Legal, scored end to end
Example. Harbor & Finch, a fictional law firm, evaluated a contract-review assistant on a cloud VM. The network config opened ingress to the world so two partners could 'check in from home', and the app config in the same folder carried a database password assignment. The scan returned:
| Finding | Class | Severity | Weight |
|---|---|---|---|
| Ingress open to 0.0.0.0/0 in the network config | open_ingress | HIGH | 15 |
| Database password assignment in the app config | generic_secret_assignment | HIGH | 15 |
| The 0.0.0.0 in the same line also matches the all-interface pattern | open_binding | MEDIUM | 8 |
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 partners' home addresses turned out to be two stable ranges behind their provider's gateway, which joined the office range on the rule; management access moved behind the firm's VPN alone. The password was rotated into the secrets manager. An outside-network test confirmed the harness no longer answered from unlisted addresses, and the re-scan reported zero findings. The 'check in from home' requirement survived intact — it just stopped being a grant to the other eight billion addresses.
Close an open_ingress finding: the five actions
Enumerate, restrict, separate, test, verify:
- List every network that legitimately reaches the eval. Office egress, VPN gateway, runner ranges, named contractors with named end dates — in writing, before editing the rule.
- Replace 0.0.0.0/0 with exactly those ranges. Apply per port: harness and viewer get the team ranges; nothing gets the world.
- Take management access off the shared rule. Administrative ports live behind the VPN or their own narrower rule, so the eval's posture is not the box's skeleton key.
- Test from outside the allowed ranges. The harness should not answer at all from an unlisted network — a saved console rule is not evidence, a refused connection is.
- Re-scan the declared network files. Confirm open_ingress and the overlapping open_binding are both gone, and correct any source template the rule was copied from.
Open ingress is the finding that lets strangers start the conversation. Restricting it is an enumeration exercise, and the enumeration — who actually runs our evals, from where — is worth the half hour on its own. The service-side twin is covered next door in the egress guide.
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, binding an eval harness to localhost, debug mode enabled in an eval configuration, debug routes declared in eval services. 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
If our harness requires login, is open ingress still a problem?
Yes. Login pages get attacked too, eval harnesses have had unauthenticated viewers and debug surfaces beside the login, and the agent behind the login executes work. The rule decides who may knock; authentication decides who may enter. You want both gates.
Why did one line produce two findings?
The 0.0.0.0/0 rule matches open_ingress, and the 0.0.0.0 inside it matches the all-interface pattern open_binding. Different layers, one edit: restricting the CIDR closes both.
Can we keep 0.0.0.0/0 for a public demo eval?
Only on infrastructure dedicated to the demo, holding no production data, no real credentials and no path inward — and documented as a deliberate exception. The moment the demo shares a box or a bucket with real evals, the exception ends.
How do contractors fit into a restricted rule?
By name and by range, with an end date. A contractor's office range for the engagement's duration is a normal line in the rule; a permanent open range 'for contractors' is the finding again.
Does EvalEgress test my live firewall?
No. It reads the declared files — the rule as written in the configs you paste. The live test from an outside network is yours to run; the scan verifies the declaration you will run it against.