Browse / Tool and Agent Misuse / Sandbox escape
Sandbox escape
7 records in Tool and Agent Misuse.
- Claude Code: TOCTOU Race in Edit Tool Allows File Writes Outside the Workspace A symlink swapped into a workspace directory after path validation lets the Edit tool write files outside the workspace, reachable from sandboxed code.
- Claude Code: Sandbox Escape via Git Worktree Path Confusion Allows Unsandboxed Code Execution A malicious repository's worktree layout and symlinks let git's fsmonitor hook run outside the sandbox and overwrite a shell startup file in the home directory.
- n8n: computer-use Shell Sandbox Not Enforced on Linux and Windows The shell tool's sandbox was only applied on macOS, so on Linux and Windows commands ran with unrestricted host filesystem and network access.
- PraisonAI vulnerable to sandbox escape via `print.__self__` builtins module leak in `execute_code` (subprocess mode) The AST filter for agent Python execution misses an attribute on built-in functions, letting code reach the builtins module and run OS commands.
- PraisonAI Vulnerable to Code Injection and Protection Mechanism Failure Calling type.__getattribute__ with string attribute names evades the AST filter that blocks dangerous dunder attributes, letting agent-run code escape the sandbox.
- PraisonAI: Python Sandbox Escape via str Subclass startswith() Override in execute_code A str subclass overriding startswith defeats the underscore guard, letting attacker-supplied Python reach subprocess functions and run OS commands.
- smolagents has Sandbox Escape Vulnerability in the local_python_executor.py Module Code the agent executes can abuse whitelisted modules and functions to escape the local Python sandbox and run arbitrary code on the host.