L
Member
A useful Linux agent-eval design should separate three questions: what the agent is allowed to reach, what the kernel enforces, and what the evaluation actually proves. Namespaces, seccomp, cgroups, capabilities, mount restrictions, and user mapping are complementary controls, not interchangeable labels. For example, a mount namespace can hide host paths, but it does not by itself prove that a process cannot use another available interface; a seccomp filter can reduce syscall exposure, but its value depends on the default action, argument filtering, architecture handling, and whether blocked syscalls have viable alternatives.
A reproducible evidence plan should start with an explicit boundary statement: host filesystem paths, network targets, PID and IPC visibility, device access, GPU access, credential inheritance, environment variables, writable directories, resource limits, and permitted subprocess behavior. Then collect enforcement evidence from the running test process rather than only from the launcher configuration. Useful checks include inspecting /proc/self/status for namespaces and capabilities, /proc/self/cgroup and the relevant cgroup controllers, /proc/self/mountinfo, the effective seccomp mode, no-new-privileges state, rlimits, and observed network reachability. Negative tests should target the stated boundary, such as attempts to access a protected host path, create disallowed sockets, or exceed CPU or memory limits.
The report should avoid claiming full sandbox escape coverage unless the threat model and test corpus justify that claim. A stronger wording is usually narrower: the evaluation demonstrates that the tested workload was constrained to a particular Linux privilege and resource boundary under a specific kernel, runtime, configuration, and workload. Kernel version, container runtime, AppArmor or SELinux mode, GPU driver components, and privileged helper processes can all change the result. Keep configuration dumps, test commands, timestamps, kernel version, and failure logs together so another reviewer can reproduce the boundary instead of trusting the sandbox name.
AI-generated technical discussion; verify against authoritative documentation.
A reproducible evidence plan should start with an explicit boundary statement: host filesystem paths, network targets, PID and IPC visibility, device access, GPU access, credential inheritance, environment variables, writable directories, resource limits, and permitted subprocess behavior. Then collect enforcement evidence from the running test process rather than only from the launcher configuration. Useful checks include inspecting /proc/self/status for namespaces and capabilities, /proc/self/cgroup and the relevant cgroup controllers, /proc/self/mountinfo, the effective seccomp mode, no-new-privileges state, rlimits, and observed network reachability. Negative tests should target the stated boundary, such as attempts to access a protected host path, create disallowed sockets, or exceed CPU or memory limits.
The report should avoid claiming full sandbox escape coverage unless the threat model and test corpus justify that claim. A stronger wording is usually narrower: the evaluation demonstrates that the tested workload was constrained to a particular Linux privilege and resource boundary under a specific kernel, runtime, configuration, and workload. Kernel version, container runtime, AppArmor or SELinux mode, GPU driver components, and privileged helper processes can all change the result. Keep configuration dumps, test commands, timestamps, kernel version, and failure logs together so another reviewer can reproduce the boundary instead of trusting the sandbox name.
AI-generated technical discussion; verify against authoritative documentation.