Sandbox Network Isolation¶
Hawk runs each sample's agent tool code in a Kubernetes sandbox whose network is deny-by-default: with no configuration, a sandbox pod can reach cluster DNS and its own sibling pods, and nothing else. Internet access is something you opt into, not something you opt out of.
Who may opt in depends on the eval set's isolation level.
At standard, the task's sandbox definition decides, as described below. At
strict, the eval set decides: the sandbox reaches only the hosts and address ranges its isolation
names (allow_domains: ["*"] is the whole internet), whatever the task asks for, and
where it names none a task that asks for internet is refused.
# allow_domains only works at strict, so it implies `level: strict`.
isolation:
allow_domains: [pypi.org, files.pythonhosted.org]
This matters for any evaluation that runs untrusted or model-generated code, and it is the required posture for cyber-related evaluations, where the agent must not reach the public internet or the infrastructure around it unless the engagement explicitly scopes it in.
The deployment's default level¶
An eval set that sets no isolation runs at standard, unless your deployment's
operator made strict the default (hawk:defaultIsolationLevel: strict).
hawk eval-set prints a warning when a strict default applies. Under it:
- A task that opens egress itself is refused when the runner loads it. Allow what it
needs under
isolation.allow_domains(["*"]for the whole internet), or opt out withisolation: standardon the eval set. - A task item cannot opt out on its own: items may only be stricter than their eval
set, so a task that has to decide its own network goes in its own eval set at
standard. - Samples with no sandbox still run. A
strictyou write, including one implied byallow_domains, refuses them. - Human evals stay at
standard. - An
isolationmapping that names nolevel, such as{runtime_class: gvisor}, takes the default too, and a task item's takes its eval set's. - An eval set that pins a runner image has to write its level. Where that level is
strict, under either default, each task item'sisolationmapping has to write one too.
Which setting to use¶
Set level: strict. With nothing more, the sandbox reaches no internet,
and runs in a Nitro Sandbox if your deployment runs strict on Nitro, and under gVisor
otherwise. Unless the operator has set hawk:nitroWithoutNetworkCard to false, a strict Nitro
Sandbox that uses no network
has no network card: a server in it must listen on 127.0.0.1 or 0.0.0.0, its own
hostname leads to an address it cannot reach, and a service with a DNS record resolves from
/etc/hosts alone: reach it by its short name. Its VM is up to one vCPU and
128 MiB smaller, and its clock
is not kept in step: AWS gives such a guest no NTP.
Where the deployment also carries such a sandbox's traffic through its node
(hawk:egressOverVsock), one that names hosts has no card either, in a VM 128 MiB and up to
one vCPU larger than with a card. A sandbox whose services share a network has no card
either, in an eval set that takes the whole internet or an address range that way
(every condition). Its
services then reach each other by name over TCP alone: a datagram or a ping to a sibling
fails where it is sent (Operation not permitted). A server its siblings reach must listen
on 0.0.0.0 or 198.19.0.1, and sees each of them at 198.19.0.2. A connection to a port
nothing listens on is accepted and then reset: wait for a sibling with a request it answers.
A task that needs more between its services, a port scan for example, goes in another eval
set, where its sandbox keeps its card. A pod holds 64 connections to its siblings and its
proxy at once, and 64 that its siblings make to it: one more that it makes waits up to 10
seconds for a place, and is then reset.
For a task
that must reach named hosts, name them in allow_domains:
the egress proxy says whether the sandbox then reaches them through
a proxy, which one, and what it refuses. runtime_class: kata is a different runtime,
glovebox's Kata, with
networks of its own. With runtime_class: kata:
| The task needs | Set |
|---|---|
| The whole internet | allow_domains: ["*"], and on Kata network: open as well |
| Named web hosts | allow_domains |
| An IP range | level: standard, and the range in the task's own allowCIDR |
| UDP, or every port of a range | the same, with network: open |
Unless you set network, Hawk runs a one-service task on lockdown and a task with
several services on peer, so its services can reach each other.
Where your deployment does not offer Kata, strict alone takes the same allow_domains.
isolation names each host exactly: a wildcard, such as *.example.com, is refused in
allow_domains and in a request rule's host. It can't name Datadog's domains or Sentry's
(sentry.io, getsentry.com), where Hawk's own telemetry goes, or a name under one. A
Sentry your deployment hosts elsewhere is not among them.
To keep one service (a scorer, a hidden test set) out of the agent's reach, also set
network_mode: none on that service in the task's sandbox definition.
The trust boundary¶
Hawk keeps the model credentials out of the environment the agent can touch:
- The runner (the Inspect eval loop) is the trusted process. It makes all model API calls, talking to the middleman proxy with the caller's short-lived OAuth JWT — never a provider API key. Its egress is open (it needs the gateway plus package installs).
- The sandbox (where the agent executes bash/tools) is the untrusted
environment. It has no model API key and no gateway URL, and its egress is
deny-by-default. Setting
api_keyin an eval config is rejected outright.
So a provider key is never injected into a container the agent controls — the agent reaches the model only indirectly, through the trusted runner. This holds for every sandbox provider.
Sandbox providers¶
The rest of this page describes the Kubernetes sandbox provider — Hawk's
default and what production deployments use. It translates a task's Compose or
values.yaml definition into Cilium network policies, and it is what enforces
the per-eval configuration and always-on guarantees below.
Other providers isolate differently, and the specifics here do not carry over:
- Docker (
hawk local, local Compose runs) applies Docker's own network semantics directly — e.g.network_mode: noneremoves the container's network interface entirely. The Cilium VPC-deny and cross-sample guarantees below do not apply. - EC2, Modal, and other providers enforce whatever that provider and your
deployment configure. The
network_mode→ Cilium mapping and the always-on guarantees here are not automatic; verify isolation against the provider before relying on it.
The provider is selected per evaluation, by the task's Inspect sandbox type.
Specifying network access per eval (Kubernetes provider)¶
Network policy comes from the task's sandbox definition (the Docker Compose
file or Kubernetes values.yaml the task references). The eval set's isolation can
override it: allow_domains and allow_requests at strict, and network on a
Kata sandbox. Hawk translates the result into Cilium network policy:
| Compose declaration | Internet | Other services in the same sample |
|---|---|---|
network_mode: none |
no | no (deny-all) |
a network marked internal: true |
no | only services sharing that network |
| nothing specified | no (unless a sibling grants it) | all of them, but only if the file defines no networks |
network_mode: bridge |
yes | all of them, but only if the file defines no networks |
| one non-internal, bridge-driver network every service joins | yes | yes |
Internet is granted per sandbox, not per service
If any service sets network_mode: bridge (or the file defines a single
non-internal, bridge-driver network that every service joins), every
service in that sandbox reaches the internet — except any service set to
network_mode: none, which stays fully denied. bridge grants * (every
domain); for a scoped engagement, use the allowlist below instead.
Because the grant can't be scoped to one service, Hawk rejects a compose
that grants internet while some service sits only on an internal: true
network — that service asked to stay offline and Hawk cannot honour it here.
Use network_mode: none for a service that must stay offline regardless of
its siblings.
Reachability between services is a separate question
Internet access and sibling reachability are decided by different rules, so
read both columns independently. If the compose defines no networks, every
service can reach every other. If it defines networks, a service is reachable
only by peers sharing one of its networks — and a service that joins none,
including one whose only setting was network_mode: bridge, is unreachable
from all of them.
Hawk can only express that split when the file declares networks, so it
rejects a compose that sets network_mode: bridge on one service and
leaves another on no network at all while declaring none. Under Docker those
two sit on separate networks and cannot reach each other; declare a shared
network and put every service on it.
Full isolation: network_mode: none¶
Gives a service no network access — no internet, no cluster DNS, and no network traffic to or from sibling services. Use it for a container that must stay unreachable over the network, e.g. one holding reference solutions or hidden tests. It stays denied even while a sibling has internet:
services:
default:
image: my-task-image
scorer:
image: my-scorer-image
network_mode: none # deny-all, even though `default` may reach the internet
Combining network_mode: none with networks on the same service is rejected —
they ask for opposite things.
Isolation is at the network layer
none blocks communication initiated from inside the sandbox. The trusted
Inspect harness in the runner still reaches every container out-of-band via
the Kubernetes API (exec, file read/write) — that path drives scoring and
setup, and is how controlled cross-sandbox channels are built (e.g. a trusted
proxy relaying between an isolated container and the agent). The network
policy does not touch it. In a Nitro Sandbox with a network card its commands and files
go to execd's port in each pod instead, which a network policy opens to the eval set's
runner namespace.
Human evals force port 2222 open
network_mode: none denies all ingress, with one exception: on a human eval
below strict, Hawk re-opens TCP 2222 on the default service so a
baseliner can SSH in from the jumphost; submitting a human eval at strict
is rejected rather than left unreachable. Agent eval sets never get that
rule, so an isolated agent sandbox has no inbound port at all, or only execd's in a
Nitro Sandbox with a network card. The rule
admits world (a jumphost on a VPC ENI); a deployment whose jumphost
reaches pods through an in-cluster router names that router's pods with
hawk:humanEvalSshIngressFromEndpoints, since SNAT gives those
connections the router pod's identity instead.
Siblings without internet: internal: true¶
To let services talk to each other but not the internet, put them on a network
marked internal: true:
services:
game:
image: my-registry/game:v1
networks: [task-net]
default:
image: my-registry/agent:v1
networks: [task-net]
networks:
task-net:
driver: bridge
internal: true
This only holds if no other service opens the sandbox up. Because the internet
grant is sandbox-wide, internal: true cannot keep one service offline while a
sibling sets network_mode: bridge — Hawk rejects that combination rather than
quietly putting the service online. To isolate a single service regardless of its
siblings, use network_mode: none.
Scoped internet allowlist (recommended for cyber engagements)¶
network_mode: bridge opens everything. For an engagement where only specific
targets should be reachable, use a Kubernetes values.yaml sandbox config and
name exactly what the agent may reach — everything else stays blocked:
allowDomains:
- "target.example.com"
allowCIDR:
- "10.20.0.0/24"
services:
default:
image: my-task-image
allowDomains, allowCIDR, and allowEntities are the inspect_k8s_sandbox
agent-env chart values. Only none and bridge are accepted for
network_mode; any other value fails the run (checked per service).
Always-on guarantees¶
On the Kubernetes provider these hold regardless of the per-task config above:
- One public address. Outbound traffic leaves through the VPC's NAT gateway, so every host sees the deployment's shared public address.
- VPC infrastructure is blocked. A cluster-wide Cilium policy selects every
pod in namespaces the API labels
app.kubernetes.io/component: sandbox, regardless of the pod's labels. The existing pod-label policy also covers pods labelledapp.kubernetes.io/name: agent-env, even outside those namespaces. Both deny egress to the primary VPC subnet and the hybrid node/pod networks, plus EC2 IMDS (169.254.169.254) and EKS Pod Identity (169.254.170.23). Egress intentionally defaults to deny: pods without matching egress allows lose all outbound access, including DNS. With interface VPC endpoints on (hawk:vpcInterfaceEndpointsorhawk:oktaProvisioningAgent), ECR, CloudWatch Logs and Secrets Manager resolve to addresses inside the primary VPC subnet, so a sandbox can't reach those services directly. - Cross-sample isolation. One sample's pods cannot reach another's. The
sandbox allow rules are keyed to a per-sample Helm release name, and a
sandbox's egress permits only same-release endpoints plus
world— which does not cover in-cluster pod identities. Note this is enforced on the source side, and the shared sandbox namespace is not itself a boundary, so don't assume an in-cluster workload is fenced off by anything other than these rules. - SSH ingress on port 2222. On human evals below
strict, the sandbox'sdefaultservice accepts ingress on TCP 2222 from theworldentity, which is how the jumphost reaches the session; agent eval sets never get this rule. The jumphost connects from a VPC address outside the pod CIDR, which Cilium labelsreserved:world; in-cluster sources carry pod orremote-nodeidentities and do not match. Nothing listens on 2222 unless the task starts an SSH server.
No kernel boundary at standard — opt in per eval set
The sandbox chart's implicit default service uses runtimeClassName: gvisor,
and Hawk preserves that value when a task does not define the service itself.
Task-authored services that do not name a runtime get CLUSTER_DEFAULT, which
the chart renders by omitting the field. Those pods run under the node's
default runtime (runc), with no kernel boundary, unless the operator set
hawk:sandboxRuntimeClassName to fill them in.
Kubernetes has no "default RuntimeClass" concept (unlike StorageClass) — a pod
must name it. Ask for a boundary from the eval-set config, without touching the
task's sandbox definition: a Kata microVM where hawk:enableGloveboxKata installs
it, a Nitro Sandbox where hawk:enableNitroSandbox does, or gVisor where
hawk:enableGvisor does:
A task can also pin runtimeClassName on a service in its own values.yaml;
the eval-set setting wins where both are present. The full precedence is:
isolation.runtime_class > a task's kata-lockdown pin > the
runtime strict implies > a task pin naming another real RuntimeClass
(nvidia, gvisor, ...) > the deployment default (hawk:sandboxRuntimeClassName)
CLUSTER_DEFAULT. A task that writesruntimeClassName: CLUSTER_DEFAULTitself (the METR task bridge does, on every non-GPU sandbox) gets the deployment default, just as an unset field would. Don't assume gVisor is in use without checking the rendered values. See Isolation Levels for the full posture.
Kata networks¶
glovebox enforces a Kata
sandbox's network from outside the VM, so code inside it cannot loosen the rules. The
network comes from isolation.network, or, when that is unset, lockdown for one
service and peer for several.
lockdown |
peer |
open |
|
|---|---|---|---|
| Internet | only the named hosts | only the named hosts | what the task's network rules allow |
| The sandbox's other services | none (one service only) | yes, by name | yes |
IP ranges in the task's allowCIDR, at standard |
one port each | one port each | every port |
On lockdown and peer, the named hosts come from isolation.allow_domains at strict,
or the task's own allowDomains at standard. With none, the sandbox reaches no internet.
On open, the rules above on this page apply, as for any sandbox. The always-on guarantees
above hold on every network.
What none of them stops: data sent to an allowed host, such as an upload to a package
index. GitHub is the one exception: on lockdown and peer, git clone works and
git push does not.
How runtime_class: kata settings enforce networking
lockdown. The VM has no network card. A relay in the VM carries each connection to a proxy the node runs for the pod, outside the VM. The proxy admits each named host by its exact name (example.comdoes not admitapi.example.com), or, for a wildcard in a task's ownallowDomains, every name below*.example.com, over HTTP and HTTPS, and refuses any host whose address is not public. It passes eachallowCIDRrange through on its one port without reading the traffic. The VM never learns a real address: the node answers its lookups with placeholders.peer. Traffic to the internet takes the same path. The VM also gets a network card, filtered by the node, that reaches only addresses inside the cluster's private network, IPv4 only. The node answers lookups for the sandbox's own services, and the sandbox's network policy limits the card to those services and the cluster DNS server. The cluster admits akata-peerpod only in a namespace labelledglovebox.dev/peer-network=allowed, which Hawk sets, and refuses a container port of 61440 or above, which the node keeps for itself.open. An ordinary pod network card with no proxy of glovebox's (the egress proxy applies where it is on). The network policy admits each host inallow_domainson ports 443 (Cilium checks the TLS name) and 80 (it checks theHostheader), and whateverallowCIDR,allowEntitiesandallowDomainsPortsopen. The node logs each connection but blocks none.
The egress proxy¶
On a deployment that runs Nitro Sandboxes or gVisor, unless its operator has set hawk:egressThroughProxy to
false, a strict sandbox reaches the hosts its eval set names through a proxy that Hawk
runs for the sample, outside the sandbox. This holds on every runtime except Kata's lockdown
and peer networks, which keep their own proxy. Such an eval set
can't pin a runner image or tag, and it refuses a task whose own sandbox definition pins
kata-lockdown: set isolation.runtime_class: kata, or remove the pin. The rules below
describe Hawk's proxy. On those two Kata networks, with the setting on or off, a rule in
allow_requests is refused, and so is a name the first rule below refuses, except one
that ends in a service's name.
allow_domainshosts take three methods:GET,HEADandOPTIONSwith at most one byte of body, over HTTPS and HTTP. That limits the method, not what a path, query or header can carry out, nor what a host does on aGET.github.com,gitlab.comandbitbucket.orgalso take whatgit cloneandgit fetchpost, so a clone works and a push does not; Git LFS and other git hosts need a rule below. A host is an exact name:hf.coleaves outus.aws.cdn.hf.coandcas-server.xethub.hf.co, which a Hugging Face download needs named. Refused: a name with an underscore, punycode or a closing dot, a name of one label, an address, and a host that ends in the name of one of the sandbox's own services, which clients would reach without the proxy. The proxy dials no address a name resolves to that is private (10/8,172.16/12,192.168/16,100.64/10), link-local (169.254/16), loopback, kept for benchmarks (198.18/15), multicast or reserved (224/3). It looks a name up for IPv4 addresses alone, so a host with only an IPv6 address gets a 503.-
allow_requestsnames anything else. Rules are tried in order, beforeallow_domains, and the first rule a request matches decides it.isolation: allow_domains: [pypi.org, files.pythonhosted.org, us.aws.cdn.hf.co, cas-server.xethub.hf.co] allow_requests: - host: github.com # what `git clone` of a `my-org` repository sends methods: [GET, POST] paths: ["/my-org/*/info/refs", "/my-org/*/git-upload-pack"] - host: huggingface.co paths: ["/api/models/my-org/*", "/api/resolve-cache/models/my-org/*", "/my-org/*"] credential: HF_TOKEN runner: secrets: - name: HF_TOKEN -
allow_domains: ["*"]is the whole internet, the hosts of Hawk's own telemetry among them.allow_requestsbeside it is refused, and so is any other spelling of it (**,*.). The network policy opens it for a task item that names noruntime_class, orgvisor, or grants a GPU, and on Kata's open network: the sandbox gets no proxy, so no request log and no method rule. A task item that namesruntime_class: nitroornitro-32bitand grants no GPU reaches it with no network card, through its proxy, or not at all. The launch is refused unless every task item of the eval set isstrict, grants no GPU and names one of those two classes, on a deployment that has that route (hawk:egressOverVsock) and runsstricton Nitro. In such a sandbox:- Every TCP connection the sandbox makes, but those to itself and to its sibling
services, goes to the proxy, to a name or to a public address on any port. Hawk
sets no proxy variables and adds no certificate: a program sees the origin's own.
The proxy logs each one
with its host, port and bytes. UDP other than a lookup and ICMP fail where they are
sent (
Operation not permitted), and there is no IPv6. - A lookup of an IPv4 address for a name with a dot, written in ASCII letters, digits,
-and_, gets a stand-in address in198.19.128.0/17, whether or not its host exists and never the host's own, so a program that refuses private or reserved addresses refuses every host. Any other name or record gets an empty answer. Look a name up again rather than keep its address: past 32,766 names, the one used longest ago gives its address to the next. A lookup sent over TCP to a resolver outside the sandbox is a connection like any other. - A connection is accepted before the proxy has reached its host, and reset if the
host refuses it or does not answer: a port scan sees every port open.
A connection ends both ways at once: a program that closes its sending side before
the reply has come (
nc -N) gets none. - The proxy keeps 8,192 destinations (a host with a port) at a time, each for about five seconds after the last new connection to it, a name's for as long as its DNS record lasts: a scan of more ports than that finds new destinations refused meanwhile. A pod's 64 connections at once count these too.
The eval set is refused as it starts, with a message that says what to change, where a service of such a sandbox has an HTTP, TCP or gRPC probe or an extra DNS record, one on a network declares port 3128, or one that shares a network with another declares a port that is not TCP (a compose file's
exposecounts as a port). A sibling service is reached by its name alone: one with no DNS record or port is not reached at all. A task that needs more of the network than this names anotherruntime_class, such asgvisor, in an eval set without the items that still take*this way. - Every TCP connection the sandbox makes, but those to itself and to its sibling
services, goes to the proxy, to a name or to a public address on any port. Hawk
sets no proxy variables and adds no certificate: a program sees the origin's own.
The proxy logs each one
with its host, port and bytes. UDP other than a lookup and ICMP fail where they are
sent (
-
allow_cidrnames IPv4 address ranges, each a /24 at widest and on one TCP port:203.0.113.0/24is port 443 of each of its addresses,203.0.113.0/24:5432the port written. Only a task item that namesruntime_class: nitroornitro-32bitand grants no GPU takes one, as it takes*: in the same eval sets, with no network card, and with all that the list above says. The proxy carries a connection to an address of a range on its port without reading it, and refuses every other. A program has to dial the address: a name is refused, though it resolves into a range. What a host in a range relays, as a resolver does or a load balancer many sites share, is in reach with it. A range is refused besideallow_domainsorallow_requests, and where it holds an address the proxy dials for no name (the first rule above) or one of0.0.0.0/8. - Where the proxy is off,
allow_domainsopens each host it names to every request, and an eval set withallow_requestsrules is refused when it launches or resumes. - The proxy adds a
credential, so the sandbox is never given it. It sends the runner secret asAuthorization: Bearer <value>on every HTTPS request its rule allows, in place of the sandbox's ownAuthorization. Withcredential_scheme: basicit sends the secret, ausername:password, base64-encoded asAuthorization: Basic. A private GitLab clone needs that, the secretoauth2:<token>of an access token withread_repositoryalone, and rules forGETof the repository's.git/info/refsandPOSTof its.git/git-upload-pack, cloned by its.gitURL. A key the sandbox sends another way, in another header or the query, still reaches the origin: the rule holds the paths, not the account. A path that echoes request headers hands it to the agent, so the rule must name thepathsit may ride. Paths match case-sensitively, an escape's hex digits aside: an earlier rule for/api/open/*doesn't keep the credential off/api/OPEN/x, nor off a method that rule doesn't name. A request with the credential carries noCookie, and its reply noSet-Cookie. - For named hosts, programs must honour the proxy. Each service, except one with
network_mode: none, getsHTTPS_PROXY,HTTP_PROXY,NO_PROXYand the proxy's certificate authority inSSL_CERT_FILE,REQUESTS_CA_BUNDLE,NODE_EXTRA_CA_CERTSand similar variables, in place of any the task set itself, and a file that names it for wget (WGETRC,WGET2RC), which then skips the user's own wget configuration. A program that ignores them, such as a Java client orssh, reaches no named host, and a browser, which keeps its own certificate store, no HTTPS one. Node reads them from 22.21 and 24.5 only (from 24.0, itsfetchalone), and on Node 22 and 24fetchreaches nohttp://URL: it asks for a tunnel to port 80, and the proxy tunnels port 443 only. BusyBox'swget, which is Alpine's, andwget2before 2.1 fetch no HTTPS URL through the proxy: use curl there. Onlylocalhost,127.0.0.1,::1,0.0.0.0, a name under.svc.cluster.local, the proxy's own name and the names of the sandbox's own services that have a port or a DNS record skip the proxy: a request to the pod's own address or hostname gets its 403, and so does one to[::1]from Python'surllib: uselocalhostthere. The proxy speaks HTTP/1.1, to an origin's port 443 or 80 alone: no WebSockets, HTTP/2 or gRPC. A download fetched withConnection: close, as Python'surllibfetches, is cut short if its client reads nothing for 10 seconds near the end. A large upload the proxy refuses fails after 10 to 20 seconds, not at once, in a client that writes its whole body before it reads the answer. The proxy takes 128 connections at once and closes any more without a reply, and ends an upload whose origin acknowledges or accepts none of it for five minutes. A pod with no network card holds 64 connections to it at once. The proxy drops the headers some origins take for the real method, path or host (X-HTTP-Method-Override,X-Original-URL,X-Forwarded-Host,Forwardedand the like), and any header with an underscore in its name. It normalizes a path before it matches and forwards it://and\become/,.and..segments are resolved, and escapes of letters, digits and-._~are decoded. A path or query with a byte outside ASCII gets a 400: percent-encode it. A rule'spathsmust write such an escape out where a path has one:*takes no such escape. The certificate variables name a file that holds the proxy's authority alone, andSSL_CERT_DIRnames/etc/ssl/certsunless the task sets it (repeat there a directory your image's ownENVnames): a client that reads that directory too, as OpenSSL's do, still trusts what its image keeps there. One that trusts the file alone, as Python'srequestsandhttpxdo, refuses a sibling service whose certificate comes from an authority the image installed: give it the image's own bundle for that connection (verify=in both). The proxy checks an origin's certificate against the roots in its own image, whatever the service's image trusts: a host behind a private certificate authority gets a 503. It opens its own TLS connection to each origin, so an origin that asks for a client certificate, and a client that pins its origin's certificate, don't work through it. - Every request the proxy sends on is logged, each connection it carries for
*or an address range too, and refused ones up to a budget, as JSON lines in the output of the sample'segress-proxypod: method, authority, path, status code and the rule it matched, orrefusedfor one the proxy refused.hawk logsleaves the log out; an operator can read it from the pod log archive. The log is best effort: it can lose records, and enforcement doesn't depend on it.
Verify before a sensitive run¶
Network isolation is enforced structurally — Hawk does not yet run a
pre-flight sandbox-escape probe or auto-validate the config before a cyber eval.
Before a run where isolation matters, render the task's sandbox values and
confirm allowDomains / allowEntities / allowCIDR contain only what you
intend, and in particular that world / * appear only when you meant to open
the internet. Where the egress proxy serves the sandbox,
allowDomains is empty there: read the hosts in the release's egress-proxy
CiliumNetworkPolicy instead.
Human oversight¶
Network isolation bounds where the agent can go; it does not gate what actions it
takes. For a human to review and approve or reject tool calls live — and to
terminate a run that exceeds scope — use
human-in-the-loop approvals
(acp_server / approval on the eval-set config). The two are complementary:
isolation is the network boundary, approvals are the action boundary.
Note that the human-eval SSH carve-out described under
network_mode: none is not an enforcement
boundary either. A baseliner with shell access can bridge an isolated sandbox to
their own machine regardless of network policy. That is a tolerable trade for a
human you have chosen to give a shell, and is the reason the same port is not
opened for agent evals.
See also the Security reference for the deployment-level view.