Skip to content
HighAI coding agentsBLWK-AI-021

An AI agent's command sandbox is turned off ​

What this means ​

An agent's command sandbox is turned off (Codex danger-full-access, Cursor CLI sandbox.mode: disabled, Claude Code's weaker nested sandbox).

How to fix it ​

Turn the agent's sandbox back on (for example remove sandbox_mode = “danger-full-access” from ~/.codex/config.toml, or sandbox.mode “disabled” from the Cursor CLI config). If one command genuinely needs to escape it, allow that command alone rather than switching the sandbox off for everything.

Check it yourself ​

Run a scan and look for BLWK-AI-021 in the results:

sh
bulwark scan
bulwark ai scan

Installed the standalone CLI package instead of the app? The command is bulwarkctl.

References ​

Released under the Apache License 2.0.