Bash safety knobs
Nexo's Bash safety model is layered. Even when the Bash tool is
available, execution is constrained by policy and runtime gates.
Main safety layers
- Per-binding tool allowlist
allowed_toolscan removeBashentirely for selected channels.
- Plan mode gating
- mutating paths are blocked until explicit exit/approval workflow.
- Destructive-intent integration
- plan-mode policy can auto-enter on destructive command detection.
- Worker-role curation
- worker bindings run a constrained tool surface by default.
Relevant config knobs
agents[].allowed_toolsagents[].inbound_bindings[].allowed_toolsagents[].plan_mode.*agents[].inbound_bindings[].plan_mode.*agents[].inbound_bindings[].role
Operational guidance
- For user-facing channels, prefer narrowing
allowed_toolsrather than trusting prompt-only behavior. - Keep plan mode enabled for coordinator bindings.
- Use worker role for delegated execution to reduce blast radius.