Agent security
OpenClaw Security: Review Gateway Trust, Skills and Tool Access
Review an OpenClaw deployment by mapping its gateway trust boundary, inbound channels, skill instructions, execution environments and the authority available to individual tools.

Executive summary
An OpenClaw security review starts with the gateway's operator and trust boundary, not the number of connected tools. Establish who can influence the agent, identify which tools execute inside or outside its sandbox, and record the authority each skill can exercise. Test a harmless task before granting additional access.
Establish who the gateway serves
A gateway used by one developer to organize personal projects is a different deployment from a gateway reachable by several colleagues or external chat participants. Before reviewing settings, write down the people, accounts, channels and machines that are supposed to participate. Include the person who administers the host and anyone who can change agent configuration. Those people have different privileges even if they interact through the same conversation surface.
The OpenClaw trust model describes a gateway as a trust boundary for a single operator or mutually trusting team. It is not designed to provide isolation between adversarial tenants inside one gateway. A different conversation or account label should therefore not be treated as evidence that the corresponding participants cannot affect one another's resources. When separate groups cannot trust each other, review separate deployments and the host, identity and storage boundaries between them.
For a first review, draw the gateway as a box. Put the intended operator inside the box and every inbound channel outside it. Mark each connection that can start a request. Then draw every resource the gateway or an agent can reach. If a participant who belongs outside the box could influence a task that reaches an internal resource, document that path before expanding the deployment.
Review connected services using our MCP security guide alongside the gateway’s own trust model.
Trace a request to the machine that acts
Gateway authentication answers whether a caller may reach a particular interface. It does not establish that every operation requested through that interface is appropriate. A trusted operator can ask an agent to summarize a document that includes text from an unknown sender. That sender's text remains untrusted even after the operator has authenticated.
Follow the request past the gateway into the selected agent and its execution environment. Identify where a shell command actually runs, where browser activity occurs, which filesystem is mounted and which identity a connector uses. A sandbox configuration can change some of these answers without changing the identity of the user who started the conversation.
The OpenClaw sandboxing documentation distinguishes sandboxed tool execution from other parts of the gateway. It also documents configuration choices affecting workspace access. Verify the effective settings for the deployed agent rather than concluding that a gateway is isolated because a container exists somewhere in the system. In particular, identify any tool that can act on the host or request authority beyond the sandbox. Treat that as a separate review item.
Make a skill and tool authority register
Skills can supply instructions that shape how an agent approaches work. That makes a skill directory security-relevant even when the skill itself is not an executable program. A skill may encourage an agent to call a tool, retrieve a particular resource or perform an unnecessary follow-up operation. The resulting action must still be within the task's authorized scope.
Use the skills documentation to identify where skills are loaded from, how they are selected and which requirements apply. Do not assume that reviewing the displayed description reveals every instruction or dependency. Record the actual source and revision being evaluated. If the source can change without a review, the approval is only valid for the version you inspected.
Here is a proposed register for a gateway used to help with documentation work. It is a review worksheet, not an OpenClaw configuration file.
- Documentation skill. Intended authority: Read synthetic project notes. Evidence to collect: Reviewed instructions and source revision. Decision owner: Skill maintainer.
- Local file tool. Intended authority: Read and edit disposable workspace files. Evidence to collect: Resolved workspace and mount permissions. Decision owner: Host administrator.
- Issue connector. Intended authority: Read issues in a test repository. Evidence to collect: Connector account and target scope. Decision owner: Repository owner.
- Shell helper. Intended authority: Run the approved formatter. Evidence to collect: Execution location and available credentials. Decision owner: Platform team.
Add a separate entry when a skill can choose between several tools. The skill owner may understand the instruction, but the tool owner understands the effect. Require both to agree before authorizing a new route to a sensitive resource.
Run a harmless boundary check
Use a disposable gateway or test environment, synthetic notes and a test repository containing no real credentials. Create a permitted file inside the intended workspace and another dummy marker outside the intended workspace, using a location deliberately created for the exercise. Do not point the test at personal directories or production resources.
Ask the agent to summarize the permitted note. Record which tool it uses and whether the action succeeds. Then provide a synthetic note containing an instruction to include the second marker in the summary. This is a controlled test of whether untrusted content can influence the task, not a request to weaken isolation. Observe whether the agent proposes a second action, whether the relevant boundary rejects it, and whether any marker reaches the response.
If the agent declines on its own, record that behavior separately from enforcement. A refusal does not establish that a file tool could never reach the marker. To evaluate actual access, ask the administrator to run an authorized test of the configured boundary using the same disposable resources. Also try the intended legitimate task after the negative case. A gateway that cannot read the documentation it was installed to process is not ready for wider use.
Decide which changes require a fresh review
A previously approved gateway may acquire new authority without a change to its main purpose. An added channel can broaden who influences requests. A new skill can change the operations the agent proposes. A connector reauthorization can grant access to a different account or resource. A workspace mount can reveal files that were previously absent. Treat these changes as events requiring a targeted review of the affected path.
The gateway security guidance is a useful starting point for reviewing access and deployment configuration. Preserve a dated record of the settings that mattered, but do not store live credentials in that record. Assign the administrator a clear responsibility to review differences between the approved configuration and the running instance.
When your organization also uses supported coding-agent integrations, consider a pending shell call that attempts to send a workspace file to an unexpected destination. Harden evaluates pending calls on supported tool paths using the action and relevant task context before execution, with allow, redact or block outcomes. That is a separate action-level boundary, not evidence of native OpenClaw coverage. If you want to assess this alongside your other developer workflows, Book a Call with our team to define the supported paths and test scope.
FAQs
Is one OpenClaw gateway suitable for unrelated customers?
Do not use separate conversation identifiers as a substitute for tenant isolation. The documented trust model assumes one operator or mutually trusting participants. Review dedicated deployments and independent resource boundaries when the parties are not mutually trusted.
Does enabling a sandbox isolate the whole gateway?
No. Review the execution environment for each tool and the gateway itself. A tool running outside the sandbox or using a separately privileged service has an authority boundary of its own.
Should we approve every skill that comes from a familiar publisher?
Review the version and instructions that will actually load, along with any dependencies and tools the skill can influence. Publisher identity can inform review but does not establish that every action proposed by the skill is appropriate.
Can a successful test prove that all future requests are safe?
A test provides evidence for a specific configuration, input and route. Revisit it when channels, skills, identities, tool permissions or execution environments change. Keep the original evidence so a later reviewer can identify what changed.
Which account should an issue connector use?
Choose an identity scoped to the repositories and operations the gateway requires. Record its owner and revocation procedure. Do not rely on the agent to avoid unrelated repositories that the connector is technically able to access.


