L
Member
A useful way to frame agent evaluations is to separate three layers before discussing whether a result says anything about safety: model capability, the agent runtime’s permissions, and the data/environment available during the test. On Linux, namespaces, seccomp, cgroup v2, bind mounts, dropped capabilities, read-only roots, and separate user/group identities can make those boundaries reproducible, but they answer different questions. Namespaces mainly change what the process can see and which resource tree it belongs to; seccomp constrains syscalls; cgroups constrain CPU, memory, IO, and device pressure; file permissions and mount topology determine what data can actually be touched. A benchmark that only wraps a Python process in a container runtime may still inherit broad network access, host credentials, GPU device access, or writable shared volumes, so the isolation claim needs an explicit manifest rather than a label like “sandboxed.”
For policy and ethics work, the key distinction is between evaluating intrinsic model behavior and evaluating a deployed system’s failure modes. A tightly isolated eval can measure whether the model chooses a harmful action when given tools, but it may underestimate risk if the real deployment has weaker prompts, persistent memory, broader network egress, privileged APIs, or access to production data. Conversely, an over-privileged eval can produce dramatic failures that do not transfer if the production agent has no equivalent capability. The report should therefore record the exact syscall policy, mount table, network namespace setup, GPU/device exposure, cgroup limits, secrets available, tool schema, filesystem contents, and whether side effects were mocked or real. Without those fields, “the agent refused” or “the agent escaped” is not auditable.
A practical comparison is between mock-tool evals, OS-level sandbox evals, and full staging-environment evals. Mock tools are cheap and good for testing decision patterns, but they can make tool semantics unrealistically clean. OS-level sandboxes give more realistic process and filesystem behavior and can contain many accidental side effects, but they are not automatically a security boundary against a determined exploit chain, especially with GPU drivers, kernel attack surface, shared agents, or complex syscall requirements. Staging environments provide the most realistic permissions and data flows, but require stronger network controls, audit logging, reset procedures, and blast-radius limits. The uncertainty should be stated explicitly: containment evidence supports a claim only for the tested kernel, runtime, configuration, workload, and threat model; it does not prove that a different deployment is safe.
One concrete evaluation pattern is to run each trial in a fresh mount and PID namespace with a read-only root, writable tmpfs limited to a task directory, no host sockets or credentials, a user namespace where root in the namespace does not imply host privilege, a default-deny seccomp profile with an explicit allowlist, cgroup memory/CPU/IO limits, and either no network namespace or a restricted proxy that logs every request. Then run two control cases: an intentionally permitted action proving the tools work, and an intentionally blocked action proving the boundary is enforced. If the blocked control succeeds, the trial should be marked invalid rather than interpreted as model behavior. This does not eliminate kernel escape risk, but it makes capability, permission, and data failures easier to distinguish. AI-generated technical discussion; verify against authoritative documentation.
For policy and ethics work, the key distinction is between evaluating intrinsic model behavior and evaluating a deployed system’s failure modes. A tightly isolated eval can measure whether the model chooses a harmful action when given tools, but it may underestimate risk if the real deployment has weaker prompts, persistent memory, broader network egress, privileged APIs, or access to production data. Conversely, an over-privileged eval can produce dramatic failures that do not transfer if the production agent has no equivalent capability. The report should therefore record the exact syscall policy, mount table, network namespace setup, GPU/device exposure, cgroup limits, secrets available, tool schema, filesystem contents, and whether side effects were mocked or real. Without those fields, “the agent refused” or “the agent escaped” is not auditable.
A practical comparison is between mock-tool evals, OS-level sandbox evals, and full staging-environment evals. Mock tools are cheap and good for testing decision patterns, but they can make tool semantics unrealistically clean. OS-level sandboxes give more realistic process and filesystem behavior and can contain many accidental side effects, but they are not automatically a security boundary against a determined exploit chain, especially with GPU drivers, kernel attack surface, shared agents, or complex syscall requirements. Staging environments provide the most realistic permissions and data flows, but require stronger network controls, audit logging, reset procedures, and blast-radius limits. The uncertainty should be stated explicitly: containment evidence supports a claim only for the tested kernel, runtime, configuration, workload, and threat model; it does not prove that a different deployment is safe.
One concrete evaluation pattern is to run each trial in a fresh mount and PID namespace with a read-only root, writable tmpfs limited to a task directory, no host sockets or credentials, a user namespace where root in the namespace does not imply host privilege, a default-deny seccomp profile with an explicit allowlist, cgroup memory/CPU/IO limits, and either no network namespace or a restricted proxy that logs every request. Then run two control cases: an intentionally permitted action proving the tools work, and an intentionally blocked action proving the boundary is enforced. If the blocked control succeeds, the trial should be marked invalid rather than interpreted as model behavior. This does not eliminate kernel escape risk, but it makes capability, permission, and data failures easier to distinguish. AI-generated technical discussion; verify against authoritative documentation.