Do these 3 things before closing this tab:
1Scan for outdated or missing drivers - takes under a minute2Clear out junk files and repair common Windows errors3Fix the driver behind crashes, sound loss and screen glitchesiTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more
Secure OpenClaw by treating every Gateway as a deliberate trust boundary and then layering controls: restrict who can trigger the agent, allow only necessary tools, minimize workspace data, sandbox tool execution, keep the Gateway on loopback, authenticate any remote access, and enforce outbound traffic outside the agent where the risk warrants it. No single switch is sufficient. Sandboxing is disabled by default, and when enabled it moves tool execution—not the Gateway process—into the sandbox.
Start with the trust boundary: who is allowed to share a Gateway?
Decide this before changing tool or network settings. OpenClaw’s security model treats one Gateway as a boundary for one operator or a mutually trusting team. It is not a hostile multi-tenant boundary for mutually adversarial users sharing one agent or Gateway.
“OpenClaw is not a hostile multi-tenant security boundary for mutually adversarial users sharing one agent or gateway.”
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
A sender allowlist, DM pairing, or separate session context controls access and routing, but does not turn one Gateway into a strong tenant-isolation system. Anyone who can message a tool-enabled agent shares the delegated authority of those tools. Session identifiers select where a conversation is routed; they are not authorization tokens.
Popular on Amazon
- 【90 Degree Full Function USB C Adapter】Supports the latest USB4 standard for up to 40Gbps of bandwidth, 8K video support, and up to 240W Fast charging; Support USB PD 3.1 Extended Power Range (EPR) including 140W, 180W and 240W. Your productivity is easily doubled. *Warm Tip: For the best fit, please make sure the USB-C port is fully exposed; thick or bulky cases may affect compatibility.
- 【Reliable Quality】Made from high-quality, scratch-resistant aluminum alloy, delicate metal frame. get excellent wear resistance and heat dissipation. Non-Slip Design for easier insertion and removal.
- 【Small and portable】Ultra thin size, ultra compact design, a petite physique that matches the minimalist design of your modern laptops. Coming with a slim figure that won't block the port next to the one it's plugged into.
- 【Compatibility】Widely work with most usb c, thunderbolt 4/3 devices. Compatibilit for ROG Ally, Steam Deck, Switch, MacBook Pro, Quest 3 VR headset, Surface Book 2, iPhone 18/17/16/15, Samsung Galaxy S23/S22/S21, Note 20/10, Google Pixel, ChromeBook, etc.
- 【Excellence Customer Support】If you experience any issues or cable failure, simply reach out to our dedicated customer service team. We provide a prompt response within 18 hours, providing you with the necessary technical support to resolve any concerns.
| Deployment situation | Recommended boundary | Why |
|---|---|---|
| One operator | One Gateway with least-privilege tools and a local listener | Simplest model when the operator controls all inputs and files. |
| Mutually trusting team | One Gateway, with pairing or an explicit sender allowlist and deliberate group membership | Convenient shared operation, but every permitted user can invoke the agent’s delegated capabilities. |
| Adversarial customers, departments, or tenants | Separate Gateways and credentials; preferably separate operating-system users or hosts | Creates distinct trust boundaries instead of relying on chat policy or session routing. |
If different users must never be able to influence one another’s files, credentials, or tool authority, split the deployment. A separate host is stronger than a separate process, and a separate operating-system identity adds another boundary. Do not describe a shared Gateway with per-user sessions as equivalent isolation.
What should the conservative baseline look like?
Use this as a starting point, then inspect the effective configuration on the release you run. OpenClaw’s hardened-baseline guidance is intentionally a baseline, not a universal drop-in file; option names and compatibility can change.
- Choose one trust boundary. If users are not mutually trusted, create separate Gateways, credentials, and—where practical—OS users or hosts.
- Keep the Gateway local. Bind it to loopback unless a specific remote-access requirement exists.
- Require authentication before widening access. Configure token authentication and a real firewall before using a LAN, tailnet, or other non-loopback listener.
- Require deliberate message access. Keep DM policy at
pairingor use an explicitallowlist. Do not selectopenunless you intentionally want a public channel;disabledignores inbound DMs. - Separate user context where needed. For a multi-user DM setup, use a per-channel-and-peer scope such as
dmScope: "per-channel-peer"rather than allowing everyone into one default main-session context. - Start with a narrow tool profile. Deny automation, runtime, and broad filesystem capabilities unless the task genuinely requires them. Messaging-only work should not automatically receive shell, browser, or file-management authority.
- Make workspace access explicit. Use no workspace access when files are unnecessary, read-only when inspection is sufficient, and read-write only for a task that must create or modify files.
- Disable elevated execution by default. If an operation needs elevation, make it a separate, reviewed exception rather than a standing capability.
- Restrict session visibility. Keep agents from inspecting unrelated sessions unless that is a documented requirement.
- Run the security audit. Execute
openclaw security auditafter configuration changes and before exposing a network surface; use--deepwhen a live Gateway check is appropriate.
Keep a copy of the intended policy and compare it with the effective policy reported by the running Gateway. A setting that exists in a configuration file but is overridden by a profile, agent-specific rule, or version change is not an effective control.
Quick wins for a faster PC:
Repair Windows errors before they cause bigger problemsFix Now →Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Clear out junk files and repair common Windows errorsFree Scan →How do permissions, workspace access, and elevated execution differ?
They answer different questions. Tool policy decides which capabilities may be called; sandbox configuration decides where tool execution occurs; workspace mounts decide which data the execution environment can see; elevated execution decides whether an exec operation can cross an additional privilege boundary.
Tool policy: allow only the calls the task needs
Begin with the smallest useful set. An agent that only triages messages does not need a shell, package manager, arbitrary HTTP client, or write access to a project tree. Add one capability at a time, and document why it is present. Treat a tool that can launch processes, alter files, access credentials, or make external requests as high-impact even when its normal use appears benign.
Do not assume that enabling a sandbox automatically narrows the tool list. A sandbox can change execution placement while leaving the permitted tool policy unchanged.
Also popular on Amazon
- 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
- Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
- Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
- HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
- What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.
Workspace access: the data boundary
OpenClaw documents three useful workspace modes: none, ro (read-only), and rw (read-write). Choose none when the task needs no files, ro for analysis or retrieval, and rw only when the agent must persist changes.
Every bind mount expands what the sandbox can reach. Mounting a broad host directory exposes more than the immediate task requires; mounting a sensitive directory can turn a tool mistake into data disclosure. Mounting the Docker socket is especially dangerous because access to that socket can effectively provide control over the host’s container runtime.
Elevated execution: a separate exception
Keep elevated or privileged exec disabled in the baseline. If it is unavoidable, scope it to the smallest agent or session, require an approval step, and record when and why it was used. Do not treat a container boundary as permission to grant unrestricted host privileges.
How should message access and sessions be isolated?
Use pairing or an allowlist to control who can start a direct conversation, then use session scoping to reduce accidental context sharing. These controls reduce exposure, but they do not replace separate Gateways for adversarial users.
pairing: the documented default DM policy; an unknown sender must complete the pairing flow.allowlist: only explicitly permitted senders can use the channel.open: makes the channel public when deliberately configured; it should not be a casual troubleshooting setting.disabled: ignores inbound DMs.
In a multi-user direct-message deployment, the default main session can share context. A per-channel-peer or per-account-channel-peer scope provides more separation between conversations. Groups still need membership controls and mention gating so that merely joining a room does not grant every participant an easy trigger path.
Remember the limitation: session scoping separates conversation context and routing, not the underlying delegated authority. If two untrusted users can invoke the same file, shell, or network tools, they still share that power.
Also popular on Amazon
- Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
- Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
- Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
- Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
- What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.
What does OpenClaw sandboxing protect, and what does it not protect?
Sandboxing is off by default. When enabled, tool execution moves into a sandbox, while the Gateway remains on the host.
“The Gateway process always stays on the host; only tool execution moves into the sandbox when enabled.”
This distinction matters operationally. A compromised or misconfigured tool can still interact with the Gateway’s host-side responsibilities through whatever interfaces remain available, and the Gateway itself is not magically containerized by turning on tool sandboxing.
Choose the execution backend and scope
OpenClaw describes Docker, Podman, SSH, and managed backends. The right choice depends on the trust boundary and the data the task needs:
- Local container backends: useful for disposable tool environments, but they share the host kernel and require careful mounts, capabilities, and network settings.
- Remote or managed backends: can move execution away from the Gateway host, but introduce another trust and credential boundary that must be governed.
- Agent scope: the normal default; keeps each agent’s environment distinct.
- Session scope: stricter isolation for sensitive or short-lived work.
- Shared scope: a shared container or workspace; choose it only when cross-agent sharing is intentional.
Use agent or session scope when agents have different trust levels. Shared scope can create an unexpected path for one agent to read or alter another agent’s state.
Why a container or VM is not “perfectly sandboxed”
Containers and virtual machines are useful boundaries, not guarantees of complete isolation. Singapore’s IMDA case study warns that containers share underlying system components such as the host kernel and may be escaped without additional safeguards. It recommends combining isolation with identity boundaries, outbound-network restrictions, audit logging, network segmentation, or stricter workload isolation.
Also popular on Amazon
- Portable and powerful USB-C HUB: BENFEI USB Type-C HUB, with super-soft and knot-free silicone woven design cable, meets most mobile office needs. Compact, lightweight, stylish, and powerful portable USB C Hub equipped with 1 x HDMI port, 1 x 100W charging, and 3 x USB ports. 18-month warranty, 24-hour response, to ensure you feel at ease when using our product.
- Design centered on comfort and reliability: Thanks to BENFEI's end-to-end in-house cable production capability, in-house PCBA and assembly capability, using the industry's most advanced silicone woven design and process, 20cm cable in length, no knots, super-soft, the HUB is easy to use in all scenarios: laptop, tablet, stand etc. Super-soft, 25000+ life cycles, to meet your daily carrying and office needs.
- 100W Charging: Support up to 90W USB C pass-through charging via Type-C port to keep your laptop powered. 10W is reserved for other interface operations. No data and video function on the Type-C port.
- 4K HDMI Display: The HDMI port supports media display at resolutions up to 4K 30Hz, keeping every incredible moment detailed and ultra vivid. Please note that the C port of the Host device needs to support video output.
- Transfer Files in Seconds: Transfer files and from your laptop at speeds up to 10 Gbps with USB A 3.2 port. Extra 2 USB A 2.0 ports are perfectly for your keyboards and mouse.
Apply the same caution to a VM. A VM can separate an OpenClaw host from your primary workstation, but it does not eliminate risk from exposed services, mounted folders, shared credentials, vulnerable guest software, or unrestricted egress. “I have a VM” is not the same as “the agent cannot affect anything important.”
Recommended Free Tools
How do you secure the Gateway’s network exposure?
Keep the Gateway on loopback whenever local operation is enough. If another machine must connect, authenticate first and put a firewall between the listener and every untrusted source.
Inbound access
The Gateway multiplexes HTTP and WebSocket traffic on one port, with 18789 as the documented default. Treat that port and binding behavior as release-sensitive: verify them against the version you deployed. On regular hosts, gateway.bind defaults to loopback. Detected container setups may default to 0.0.0.0 for ingress, which can expose the service more broadly than expected.
Non-loopback startup requires configured authentication and fails closed without it. Never publish an unauthenticated Gateway on a wildcard listener such as 0.0.0.0. If remote access is needed, the OpenClaw network guidance prefers a private tailnet service over a broad LAN bind where that fits your topology. If a LAN bind is unavoidable:
- Configure token authentication before changing the bind address.
- Allow only the required source IPs in the host and network firewalls.
- Expose only the Gateway port; do not open unrelated container or administration ports.
- Confirm the listener address and firewall behavior from outside the host.
- Re-run
openclaw security auditand review the network and authentication findings.
Outbound access
Inbound authentication does not control what the agent can contact. For deployments that handle sensitive data or can perform consequential actions, route outbound traffic through a policy-enforcing proxy rather than relying on a simple firewall allowlist alone. IMDA recommends a proxy that can restrict permitted external services, apply rate limits, inspect or modify requests where appropriate, and provide visibility.
PC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11Outdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchKeep critical egress policy, kill switches, and logs in a control plane the agent cannot modify. If the agent can change its own proxy rules, firewall policy, or audit destination, the control is not independent.
Also popular on Amazon
- 【Read before You Buy】 Note: This adapter is USB 2.0 version and cannot transmit HDM, VGA, or other video signals. Nevertheless, they are fully capable of charging devices,duplicating files, and can be seamlessly integrated with USB-C earphones, wireless network adapters, and SD card adapters.
- 【Easy to Use and Safe】Thanks to modern manufacturing techniques, we've made these adapters sufficiently compact so that they can remain inserted in your device without noticeable protrusion or inconvenience. This means you don't have to constantly plug and unplug them, reducing the likelihood of wear and misalignment, and making them more convenient to carry around.
- 【Reliable Quality】Engineered for enhanced durability, durable aluminum alloy shell material,get excellent wear resistance and heat dissipation,the male USB C and female USB connectors & the male USB and female USB C connectors are designed to be plugged and unplugged up to 20000 times. Provides data transfer, device charging, memory space expansion, and additional computer peripherals.
- 【Think more for you】Do you need to connect a USB-C-enabled device to an odd device that only has USB-A ports? Then these USB-A male to USB-C female adapters are made for you.Simply insert the adapter into the USB-A port on the device, and you can instantly connect your USB-C device to the device that originally didn't have the correct connection port.
- 【Trusted xiwxi Quality and Service】As a responsible brand seller, you will receive xiwxi's 12-month Quality assurance and lifetime friendly customer service, you're not just buying a product,you're investing in peace of mind with all-round quality and exceptional customer service.
What should you verify after hardening?
Use a short, repeatable verification workflow instead of assuming that intended settings took effect.
- Confirm the boundary. Write down which users, agents, hosts, and credentials are mutually trusted. If the answer is “not all of them,” split the Gateway or host boundary.
- Check the effective listener. Confirm the Gateway is on loopback unless remote access is required. Record the actual port, bind address, authentication mode, and firewall source restrictions.
- Check message policy. Verify DM pairing or allowlists, group membership rules, mention gating, and the chosen per-peer session scope.
- Check tools. Review the effective allow and deny policy. Confirm that shell, automation, filesystem, browser, and network capabilities are absent unless specifically needed.
- Check workspace exposure. Verify whether access is
none,ro, orrw; inspect every bind mount; and ensure no Docker socket or broad sensitive directory is mounted. - Check sandbox placement. Confirm whether sandboxing is enabled for the relevant agents or sessions, which backend is used, and whether the Gateway remains host-side as designed.
- Check egress. Verify that outbound requests follow the intended proxy or firewall path and that the agent cannot alter the enforcement point.
- Run the audit. Execute
openclaw security audit. Use--deepfor a live Gateway check when appropriate. Treat--fixas a narrow convenience for documented safe remediations, not as an automatic security guarantee. - Recheck after every change. Configuration edits, plugin installation, a new mount, a new tool, or a new network route can create policy drift.
The audit reviews inbound DM and group policy, tool-damage potential, network exposure and authentication, local disk hygiene, plugin allowlisting, and sandbox or policy drift. Use its findings to prioritize fixes according to severity and the consequences of your particular deployment; passing an audit does not prove that the system is secure.
Common hardening mistakes and their fixes
| Mistake | Why it fails | Fix |
|---|---|---|
| Putting several untrusted users on one Gateway | Sessions and allowlists do not create hostile multi-tenant isolation. | Use separate Gateways and credentials, ideally separate OS users or hosts. |
| Enabling sandboxing and then granting every tool | Sandbox placement does not narrow the callable tool set. | Reduce the tool policy independently; add only task-required capabilities. |
| Mounting the whole home or project directory | The sandbox can read or modify far more data than necessary. | Prefer none or ro; mount the smallest required path. |
| Mounting the Docker socket | The sandbox may gain effective host container-runtime control. | Do not mount it in the baseline; redesign the workflow if runtime control is essential. |
Binding to 0.0.0.0 for convenience |
The service becomes reachable from unintended networks. | Use loopback, or authenticate and firewall a narrowly scoped remote listener. |
| Using a direct outbound allowlist as the only egress control | The agent may still reach unreviewed services or alter the path. | Use an external policy-enforcing proxy and an independent kill switch where warranted. |
Running --fix and assuming the problem is solved |
The option applies only a documented, narrow set of safe changes. | Read the audit findings, inspect effective policy, remediate manually, and run the audit again. |
What is the practical security posture?
A defensible OpenClaw deployment has one clearly defined trust boundary, a minimal tool and data policy, sandboxed execution where useful, no unnecessary elevated access, a loopback Gateway by default, authenticated and firewalled remote access when required, and independently enforced outbound controls for higher-risk workloads. The controls reinforce one another: permissions limit capability, workspace settings limit data, sandboxing changes execution placement, network policy limits reachability, and the audit exposes drift.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
That layered posture is safer than relying on a VM, a container, a sender allowlist, or a single “sandbox” setting as if any one of them were complete containment.
Frequently Asked Questions
Can I use one OpenClaw Gateway for several departments if each has a separate session?
Only when those departments are mutually trusted with the same delegated tools and data. Per-session routing reduces context mixing, but it does not provide adversarial-user isolation; separate Gateways and credentials are the safer design for independent departments.
When should OpenClaw workspace access be set to read-only?
Use ro when the agent must inspect files but should not change them, such as classification or summarization. If it does not need files at all, none removes a larger data-exposure path.
What does openclaw security audit --fix actually do?
It applies only the documented set of narrow, safe remediations; it is not a complete hardening operation. Review the findings and effective policy, make any remaining changes deliberately, and rerun the audit.
Free tools Windows power users keep installed
One-click scans. No signup required.
Is a private tailnet connection a substitute for Gateway authentication?
No. A private network path reduces exposure, but the Gateway still needs its configured authentication and authorization controls. Treat the network as an additional layer, not as proof that every reachable device is trusted.
When is an outbound policy-enforcing proxy worth the operational effort?
It is most valuable when the agent can transmit sensitive data, call consequential external services, or operate across multiple users or hosts. A separate proxy can restrict destinations, rate-limit requests, provide visibility, and preserve a kill switch outside the agent’s control.

