Do Sandbox Restrictions Actually Work for AI Agents Running in Linux and gVisor?
An experienced security researcher has published a detailed case study asking whether access-control mechanisms inside Linux sandboxes used by AI agents actually deliver the expected restrictions. The work focuses on scenarios where an agent runs inside an isolated environment—built on container runtimes or virtual machines—yet individual tools launched by the agent must operate with narrower rights than the full session.
The author explains that simply instructing an LLM “do not modify files” does not reduce process privileges. Instead, a trusted wrapper must apply concrete Linux controls such as Landlock, classic BPF socket filters, or CGROUP_DEVICE programs before handing control to the tool. Because these controls may behave differently under gVisor’s Sentry kernel, each mechanism must be validated from inside the sandbox with the exact privileges the wrapper will possess.
Experiments were performed on Ubuntu 22.04 (Linux 6.8.0-138-generic) and two gVisor releases using both the runsc do command and full OCI bundles. With elevated capabilities, Landlock ABI version queries returned ENOSYS in both gVisor releases, while the host kernel reported ABI 4. Kernel selftests confirmed the absence of Landlock handlers. When a CGROUP_DEVICE program was loaded and attached to a cgroup v2 hierarchy, gVisor accepted the operations and reported the program as attached, yet /dev/null and /dev/zero remained accessible—contrary to the host, where EPERM was correctly returned.
A classic BPF filter attached via setsockopt(SO_ATTACH_FILTER) also succeeded without privileges. On the host the filter dropped UDP datagrams as intended; under gVisor the same packets continued to arrive. The discrepancy persisted across network modes (--network=none and --network=host) and user IDs.
The researcher concludes that three distinct failure modes must be distinguished: absence of the mechanism, insufficient privileges to configure it, and successful configuration that nevertheless produces no effect. A practical acceptance procedure is proposed: verify that the target action succeeds without the policy, confirm the policy is accepted, then confirm the action is blocked afterward. The same sequence must be executed with the exact rights the AI tool will receive, and the entire test repeated after any change to kernel, runtime, image, or mount configuration.
If a mandatory restriction cannot be shown to work, the tool must not be launched. The article provides the full test harness and instructions in a public repository so practitioners can reproduce the checks for their own AI-agent sandboxes.
Related articles
AI Agent Autonomously Exploits MONAI Label Flaw to Obtain Root Shell in 11 Minutes
CISA added a critical unauthenticated path traversal vulnerability in MONAI Label to its Known Exploited Vulnerabilities catalog. An AI agent using the CAIRN engine identified the flaw on a live server, wrote a reverse shell into sitecustomize.py, and triggered execution via the training API to obtain root access without any human step-by-step guidance. The entire process from reconnaissance to shell took 11 minutes on a real medical imaging research server. The same agent later received a proxy channel and expanded laterally by searching for additional instances of the vulnerable software across university networks. Over 100 organizations have been compromised using similar AI-driven tactics targeting payment systems, e-commerce platforms, and AI infrastructure. AWS MadPot observed related activity involving the ARTEX framework aimed at stealing AI model credentials.
AI Agent Pipeline Uncovers Critical OpenClaw Vulnerability Missed by Traditional Scanners
A security researcher built an autonomous penetration testing system using an uncensored DeepSeek model running inside the ztorch harness to proactively attack his own infrastructure. The setup combined ZCode with the abliteration.ai API and the TORCH-2.0 framework, allowing the agent to discover eight vulnerabilities, including one critical flaw granting unauthenticated remote command execution on an OpenClaw gateway. Unlike conventional Chinese vulnerability scanners, the LLM-driven agent performed reconnaissance through browser developer tools, identified WebSocket endpoints, and successfully executed six privileged remote calls without any credentials. The entire test cost approximately two dollars on DeepSeek and five to seven dollars on GLM-5.3. After manually patching the issues, the researcher re-ran the agent to confirm remediation. The experiment demonstrates that LLM-based agents can emulate real pentester behavior rather than simple rule-based scanning, highlighting both their defensive value and the emerging threat of similar automated attacks from adversaries.
OpenID Foundation Launches Agent Auth Working Group to Standardize AI Agent Identification and Authorization
The OpenID Foundation has announced the creation of the Agent Auth (AAuth) working group to develop common standards for verifying that AI agents are acting on behalf of specific individuals or organizations. The initiative addresses critical challenges in access control, permission delegation, and audit trails as enterprises increasingly grant AI agents access to corporate data. Existing guidance from NIST, OWASP, Sber, Yandex Cloud, and VK Tech already explores how to limit agent permissions, handle revocation, and maintain clear records of actions performed. The new group will evaluate prior proposals, including a draft protocol published by Dick Hardt in April, and aims to release a developer version of the core specification in Q2 2027 with a final version in Q1 2028. AAuth Supervision focuses on obtaining explicit user consent that defaults to single operations and can optionally extend to similar actions within the same task. The effort responds to real-world deployments where companies must determine which operations an agent may perform autonomously and how to trace accountability back to the human who issued the original instruction.
Ruishu Information Deploys AITM+BATM+AI Gateway to Break Agent Fatal Three Elements
The rise of autonomous AI Agents has shifted security focus from model compliance to risks involving untrusted content, private data access, and exfiltration capabilities. Security firm Dragos sent nearly two million bait requests to AI providers and uncovered widespread data leakage and privacy violations in Agent service chains. Researcher Simon Willison defined the Fatal Three Elements that close a complete data theft attack chain when combined. Ruishu Information counters these risks with a three-layer architecture consisting of AITM for lifecycle management, BATM for dynamic access control, and an AI security gateway for traffic oversight. The solution replaces static permissions with continuous trust verification across supply chain, behavior, and data flows. National regulators in China have issued guidelines requiring security controls throughout the Agent lifecycle.