// BLOG
agent → [ sandbox ] → your files
THE AGENT, SANDBOXED
A chatbot talks. An agent acts. That's the whole shift OpenClaw represents, and it's why "just install it and go" is the wrong instinct. Once you give something the ability to read your files, run commands, browse the web, and message people on your behalf, you've handed it real power. Real power needs real guardrails.
This isn't a fear piece. OpenClaw is genuinely useful, and it's part of how I run this business now. But there's a real gap between "it works" and "it's set up safely," and most setup guides skip straight past the second part.
Out of the box, OpenClaw can execute almost any command with your full user permissions. No restrictions, no approval prompts, no walls by default. That's fine for a five-minute demo and genuinely risky for anything you'd actually rely on. If an agent gets fed a bad instruction, whether through a sketchy email, a compromised webpage, or anything else it reads, it can act on that instruction with the same access you have.
This isn't speculation. It's stated directly in OpenClaw's own documentation: tools run on the host for the main session unless you configure sandboxing. In other words, sandboxing isn't on by default. You have to turn it on.
Think of a sandbox as a walled-off room the agent operates inside. It can still get its work done, but if something goes wrong, the damage stays inside the walls instead of spreading to your whole computer. Turning sandboxing on is the single highest-leverage thing you can do before anything else.
Don't try to lock everything down perfectly on day one, and don't hand over full access on day one either. A staged approach works better in practice:
If something feels off at any stage, drop back a level and figure out why before moving forward again.
Sourced from OpenClaw's official GitHub repo (github.com/openclaw/openclaw). The exact output you'll see when running these will vary by version. This shows the commands themselves, not a simulated result.
If a tool that used to work suddenly stops, like the agent silently failing at a web search it could do a minute ago, it's usually not broken. Sandboxed agents often have permissions set in more than one place at once (the agent's own settings, and the sandbox's separate settings), and both have to agree before something's allowed. If in doubt, check both layers, not just one.
Exact settings and command syntax vary by version. Always check OpenClaw's current official docs for the specifics. This post covers the concepts that don't change version to version.
None of this is complicated once you've done it once. But if it feels like more setup than you want to own yourself, figuring out sandbox configs, permission layers, and what to allow and what to block, that's genuinely the kind of work I do. This site runs on the same tools this post is about.
GET IN TOUCH →