OpenClaw security risks and the built-in security audit

OpenClaw has no SSO-enforcing enterprise edition and documents a single trusted operator boundary per gateway, so the security audit is a useful check, not a control that makes it safe for mixed-trust staff use. This page covers the documented risks, what the audit checks and fixes, and the triage order.

On this page

Does the OpenClaw security audit make it safe for staff use?

OpenClaw is open source under the MIT license, has no paid tier, and its built-in security audit is a free check with partial remediation, not a complete control. Running openclaw security audit costs nothing beyond the time to read and act on its findings. It checks DM and group policies, cross-agent session access, elevated tools in open rooms, exec approval drift, gateway bind and auth, Tailscale exposure, browser control exposure, disk permissions and plugin allowlists. With --fix, it flips open group policies to allowlists and tightens state and config permissions to 600 for files and 700 for directories. Everything else, including the decisions about who may reach the agent and what it may do, stays with your team.

The project itself sets the boundary this audit works inside. OpenClaw assumes one trusted boundary per gateway, and its security policy describes the product as local-first agent infrastructure for trusted operators, not a boundary between adversarial users on one gateway. The audit does not change that. A shared gateway that several teams or people with different trust levels can message does not become multi-tenant because the audit passes. The docs direct mixed-trust deployments to separate gateways and credentials, ideally on separate OS users or hosts. Plugins run in-process with the gateway's privileges, and the model is not treated as a trusted principal, so a clean audit still leaves those assumptions in place.

Before approval, the reviewer should decide three things. First, whether each proposed gateway serves one trust domain, and if not, how many gateways and hosts the deployment needs. Second, whether the --fix changes are acceptable to run on production state, or whether findings should be reviewed first, since the audit does not cover every control. Third, which triage items must be closed before any exposure, following the docs order that starts with open access combined with enabled tools, then public network exposure, remote browser control, permissions and plugins. Confirm the exact audit behavior against the installed version, since the docs describe it and your environment determines what it can see.

Which security risks does OpenClaw document itself?

The OpenClaw security policy and docs state several risks directly, and they share one theme: the gateway is built for a single trusted operator, not for adversarial users sharing one deployment. Each card below is a risk the project names, what it means for a reviewer, and what to confirm before approval.

Operators control the agent's full reach

The OpenClaw security policy says anyone who can operate an agent can make it do anything that agent can do. Access to the agent is therefore access to every tool, file, channel and credential the agent holds. For a reviewer, the question is not whether a user is trusted with one function but whether that user should hold operator rights at all. Confirm who can message or administer each agent, and which tools each agent exposes to them.

Security policy

Plugins run with gateway privileges

The security policy says plugins are trusted code that runs in-process with the gateway's privileges. A plugin does not sit behind a separate permission boundary, so installing one is a code-trust decision equal to installing software on the gateway host. Before approval, inventory every installed plugin, confirm its source and review its code, and restrict installation to an approved list.

Security policy

The model is not a trusted principal

The project states that the model itself is not a trusted principal. Instructions that reach the model from messages, web pages or documents can steer what it does, so the model's choices cannot be the control that keeps an action safe. Reviewers should place enforcement in gateway configuration, allowlists and approval settings, and should not rely on the model declining a harmful request.

Security docs

Node Code Mode is not a sandbox

The security policy says Node Code Mode's node:vm is not a security boundary. Code run through it should be treated as having the same reach as the gateway process, not as contained code. If your team plans to enable this mode, confirm it in writing with the project and in your own testing, and do not present it to auditors as an isolation control.

Security policy

Message tool sends across conversations

The docs say agents with message tool access can send across conversations and providers by default, because tools.message.crossContext.allowAcrossProviders defaults to true. An agent that reads one chat could post its contents into another channel or provider. Reviewers should set this key deliberately for each deployment, confirm which channels each agent can reach, and document the result as part of the rollout record.

Tool permissions docs

What the audit covers and what it leaves to you

This table maps each area the built-in audit checks to what the audit does with it: report only, fix with --fix, or check live with --deep. The audit is included with OpenClaw at no cost, but it reports on configuration and does not decide your policy. Most areas are report-only, so each finding needs an owner and a decision before you expose the gateway.

Audit areaWhat the audit doesWhat you still decide
DM and group policiesReports findings; --fix flips open group policies to allowlistsConfirm who may message the agent in direct and group chats
Cross-agent session accessReports onlyDecide which agents may read or send across sessions
Elevated tools in open roomsReports onlyRemove elevated tools from any room others can join
Exec approval driftReports onlyReview approval settings after every configuration change
Gateway bind and authReports; --deep adds a live gateway checkConfirm the bind address and authentication before exposure
Tailscale exposureReports onlyVerify which tailnet members can reach the gateway
Browser control exposureReports onlyLimit or disable remote browser control in your configuration
Disk permissionsReports; --fix sets 600 on files and 700 on directoriesCheck that backups and copies keep the same restricted modes
Plugin allowlistsReports onlyApprove each plugin, since plugins run in-process with gateway privileges

How openclaw security audit, --deep and --fix differ

The three modes of openclaw security audit do different things, and a reviewer should treat them differently. The default run reads the gateway's configuration and state and reports findings across DM and group policies, cross-agent session access, elevated tools in open rooms, exec approval drift, gateway bind and auth, Tailscale exposure, browser control exposure, disk permissions and plugin allowlists. It changes nothing. The --deep flag goes further by attempting a live check against the running gateway, so it exercises the deployed system rather than only the files on disk. The --fix flag applies remediations, but the project limits these to safe changes: flipping open group policies to allowlists and tightening state and config permissions to 600 for files and 700 for directories. Anything beyond that, such as changing which tools an agent may use, is left to the operator.

A clean result from the default audit does not mean the deployment is safe. The audit checks only what it is designed to check, so it says nothing about prompt injection from inbound messages, the contents of installed plugins, which secrets the agent can read, or what an authorized operator can make the agent do. The project's own policy states that plugins run in-process with the gateway's privileges and that anyone who can operate an agent can make it do anything that agent can do. Confirm the audit version and the scope of each check against the current docs before citing a result in an approval record. Reviewers should also confirm that a clean run was made on the host and configuration that will actually serve staff.

Review the --deep live check and --fix on a copy of the deployment before running either on a production host. A live check contacts the running gateway, so confirm which network path it uses, who is permitted to run it, and whether it could disturb active channel sessions. --fix changes permissions and group policies on live state, and a policy flip can silently stop an agent from answering a group that depended on the old setting. Record the configuration and permissions before the run so the change can be reversed, and have the owner of each affected channel confirm the new behavior. Work through the triage order the docs recommend first, starting with open access combined with enabled tools, because a remediation applied out of order can leave the highest-risk exposure in place.

In what order should an OpenClaw gateway be triaged before exposure?

The documented sequence starts with the most severe combinations of access and capability, then works outward through network, browser, file permissions and plugins. Each step closes a class of risk before the next one is reviewed, so the gateway is only exposed once the highest-impact issues are settled.

  1. Review open access combined with enabled tools

    Start by listing every channel, group and direct message path that can reach the agent, and every tool that agent can call. The OpenClaw docs place open access alongside enabled tools first because an open entry point paired with powerful tools gives strangers the most reach. Confirm that group policies are not open and that sensitive tools are limited to the people who need them. The step is complete when the reviewer can name who can message the agent and which tools each of those senders can trigger.

  2. Confirm the gateway is not publicly exposed

    Next, check how the gateway is reachable on the network, including bind address, authentication and any Tailscale exposure. A gateway that is reachable from the public internet widens the pool of possible senders beyond your own staff, so this comes before deeper configuration review. Ask the platform team to show the bind setting and the authentication method in use. The step is complete when the gateway is reachable only from networks your organization controls and the authentication setting is recorded.

  3. Restrict remote browser control

    Then review whether browser control is exposed to remote callers. Browser control lets an agent act inside a logged-in session, so a remote path to it can carry the agent's actions into web accounts. Verify that browser control is reachable only from the local host or an approved admin path, and that no remote client can drive it. The step is complete when the reviewer has written down each path to browser control and confirmed that every path is intended.

  4. Check file and config permissions

    Once access and network paths are settled, check the permissions on OpenClaw state and configuration on disk. The documented audit tightens these to owner-only access, which limits what other local users on the host can read, including credentials and transcripts. Confirm which operating system account runs the gateway and that no other account on the host needs to read its files. The step is complete when the state and config directories are restricted to that account and the reviewer has recorded the result.

  5. Review plugins and their allowlist last

    Finally, review installed plugins and the plugin allowlist. The project's security policy says plugins run as trusted code inside the gateway process with its privileges, so each plugin is a decision about trusted code, not a setting. Confirm that every installed plugin is one your organization has reviewed, that its source is known, and that the allowlist excludes anything else. The step is complete when the approved plugin list matches what is installed, and the reviewer has signed off on the gateway for exposure.

How the triage sequence narrows exposure

The triage starts with whether open access and enabled tools coexist, since that combination is the first thing the docs say to clear. It then moves through public network exposure, remote browser control, and permissions, and finishes with plugin allowlists. Each stage is a hand-off: a gateway that clears one check moves to the next, and any failure at a stage is a reason to hold exposure. Check each area with openclaw security audit before deciding to expose the gateway.

The documented triage order, with each failed area leading to a hold.

Why message tools and cross-context sends need a decision

Before staff use an OpenClaw agent, the security lead needs to decide how far its message tool may reach. The OpenClaw docs state that agents with message tool access can send across conversations and providers by default, because tools.message.crossContext.allowAcrossProviders defaults to true. In practice, an agent that reads a message in one channel, such as a group chat, can relay or post content into a different conversation or a different provider, such as a direct message or another chat platform. Information that a staff member shared in one place can therefore leave that conversation without anyone choosing to move it.

The risk is not limited to deliberate misuse. Anyone who can operate an agent can make it do anything that agent can do, and the agent may also act on instructions embedded in content it reads, such as a web page or an inbound message. The OpenClaw security policy describes the gateway as built for trusted operators, not as a boundary between adversarial users. If a gateway serves people with different levels of trust, a cross-context send can carry one group's material into another group's view. Decide which conversations and providers the agent is meant to serve, and whether any of them must stay isolated, before staff rely on it.

Confirm the effective value of tools.message.crossContext.allowAcrossProviders in each gateway configuration, rather than assuming the default was left unchanged. Then record the intended scope in a written policy and check it against the agent's tool allow and deny settings. The OpenClaw docs on tool and agent permissions are the natural next read for how message tools are granted and restricted.

Where the audit and the documented model leave gaps

The built-in audit checks configuration, but the project's own documentation describes a trust model that the audit cannot enforce. The cards below cover the gaps that remain after the audit passes, and the usual ways security teams close them before exposing a gateway to staff.

The audit does not cover every documented risk

The audit checks DM and group policies, cross-agent session access, elevated tools in open rooms, exec approval drift, gateway bind and auth, Tailscale exposure, browser control, disk permissions and plugin allowlists. Risks the docs describe outside that list, such as prompt injection from messages, web pages and email, are not scored by the audit. Map each documented risk to an owner and a control, and treat a clean audit as one input, not a sign-off.

Audit checks

The model is not a trusted principal

The security policy states that the model itself is not a trusted principal, and that anyone who can operate an agent can make it do anything that agent can do. A safe-looking instruction in a chat or a document can still drive a tool call. Restrict which tools an agent holds, require exec approvals for sensitive commands, and do not rely on the model to refuse a request.

Security policy

Plugins run as trusted code

Plugins run in-process with the gateway's privileges, so a plugin can read anything the gateway can read and act with its credentials. The audit checks plugin allowlists but cannot judge what an installed plugin does. Before installation, have a reviewer read the plugin source, pin the version, restrict the allowlist to approved names, and repeat the review on every update.

One trust boundary per gateway

The docs assume one trusted boundary per gateway, and the policy says the gateway is not a boundary between adversarial users. Mixed-trust groups, such as a contractor and an internal team, cannot safely share one instance even with separate chat channels. The usual approach is one gateway per trust level, separate credentials for each, and separate OS users or hosts so that a compromise of one does not expose the other.

Security docs

Cross-context messaging by default

The docs say agents with message tool access can send across conversations and providers by default, because tools.message.crossContext.allowAcrossProviders defaults to true. An agent in one channel can therefore post into another. Confirm this setting in your configuration, set it to match your data classification, and test whether a message can leave the room where its data was shared.

Vulnerability handling runs through private advisories

The project has no paid bug bounty. Core vulnerabilities go through a private GitHub security advisory on the openclaw/openclaw repository. Your team should subscribe to the repository's advisories, track the minimum Node.js versions the project recommends for security, and name an internal owner who tests and applies each fix on your own gateways.

Report and advisories

Which decisions to settle before running the audit in production

The first decision is whether each gateway serves one trust level. The OpenClaw docs assume one trusted boundary per gateway, and the security policy describes OpenClaw as built for trusted operators, not as a boundary between adversarial users. If staff with different clearances, clients, or business units would share one gateway, the audit can tell you that DM and group policies, cross-agent session access, and elevated tools are set as configured, but it cannot make a shared gateway safe for mixed trust. Settle this first, because it determines whether you need separate gateways, separate credentials, and ideally separate OS users or hosts before any audit result means much.

The second group of decisions covers who may operate an agent and which channels and groups are open. The security policy states that anyone who can operate an agent can make it do anything that agent can do, so the operator list is effectively the authority list. Name those operators in writing, then decide which chat channels, direct message senders, and group rooms may reach the agent. Open group policies and elevated tools in open rooms are the first items the audit flags, and --fix flips open group policies to allowlists, so agree in advance who approves each allowlist entry and who may enable elevated tools.

The third decision is whether the gateway will be reachable beyond the host. Exposure touches the audit's gateway bind and auth checks, Tailscale exposure, and browser control exposure, and the docs' triage order puts public network exposure and remote browser control near the top. Record whether any bind address, tunnel, or remote browser control is permitted, and who signs off. Finally, name an owner for re-running openclaw security audit, with --deep for a live gateway check, after each OpenClaw upgrade, plugin change, or configuration edit, and confirm that the owner can review the Node.js version the project recommends for security. Without a named owner, the audit becomes a one-time check that drifts out of date.

What a security reviewer should ask to see

This table maps the evidence a reviewer should request for an OpenClaw gateway to the tool output or host setting that produces it. Use it to build a review request before approving exposure, and note which items come from the audit tool and which must be checked directly on the host. The main takeaway is that the audit report alone does not cover trust model, plugin code or incident handling, so those need separate written evidence.

Evidence requestedWhere it comes fromWhat to check
Audit output with --deep resultsOutput of openclaw security audit --deep, which attempts a live gateway checkAsk for the full report saved with a date and gateway version, not a summary. Confirm the live check ran against the gateway under review.
Record of --fix changesOutput of the audit run with --fix, which flips open group policies to allowlists and tightens permissionsAsk for before and after audit output. Confirm which changes were applied and who approved them, since fixes change live behavior.
File and directory permission statePermissions on OpenClaw state and config files on the gateway hostFiles should be 600 and directories 700 after remediation. Confirm with a host listing, because the audit alone does not prove the current state.
Gateway bind and auth settingsGateway configuration file and the audit's bind and auth checksConfirm the bind address, whether auth is enabled and which method is used. Flag any setting that exposes the gateway beyond the trusted network.
Tailscale and browser control exposureAudit findings for Tailscale exposure and browser control, plus the host network configurationConfirm whether either is reachable from outside the intended boundary. The docs rank public exposure and remote browser control high in triage.
Group and DM policy settingsConfig entries for DM and group policies and the audit's policy checkConfirm open group policies were changed to allowlists or have a documented reason to stay open. Open policies combined with enabled tools rank first in the docs' triage order.
Plugin allowlistPlugin allowlist configuration and the audit's plugin checkConfirm every installed plugin is listed and reviewed. The project states plugins run in-process with gateway privileges, so each one is trusted code.
Trust model statementThe project's security docs and security policy, which describe one trusted boundary per gatewayAsk for a written statement that the deployment has a single trust boundary, or a plan with separate gateways and credentials for mixed-trust groups.
Incident response procedureThe operator incident response page in the project's security docs, plus the company's own runbookAsk for the company procedure covering who can stop a gateway, rotate credentials and report a suspected vulnerability through the project's private advisory channel.

What do buyers ask before approving OpenClaw security controls?

Does OpenClaw have a paid security tier or enterprise plan?

No. The OpenClaw README states that OpenClaw has no paid tier, hosted service or token, and it runs on the user's own hardware. There is therefore no vendor-supplied security tier to buy. Any security work you pay for is a separate engagement with your own provider, scoped in writing. Ask your team to confirm the current README before procurement, because the project's packaging can change. Your recurring costs will come from your own infrastructure, staff time for reviews and any retainers you choose to sign.

Does the built-in security audit replace a penetration test?

No. The audit is a configuration review. The OpenClaw docs say openclaw security audit checks DM and group policies, cross-agent session access, elevated tools in open rooms, exec approval drift, gateway bind and auth, Tailscale exposure, browser control exposure, disk permissions and plugin allowlists. It does not test your application logic, your chat channel integrations, or how a model reacts to hostile input. The --deep option attempts a live gateway check, which is closer to testing but still bounded. A penetration test or AI agent red team is a separate exercise with its own scope and rules of engagement.

How much effort does the triage take, and what drives it?

The effort depends mostly on how many surfaces the gateway exposes. The documented triage order starts with open access combined with enabled tools, then public network exposure, remote browser control, permissions and plugins. Each channel you connect (for example Discord, Slack, Teams, Telegram or WhatsApp), each tool an agent can call, each plugin and each host adds items to review. A single-operator gateway on one host with no public bind is a small review. A gateway serving several chat channels, multiple agents and remote browser control is a larger one. Ask any outside provider to estimate effort from your written inventory, not from a generic number.

Can our own team run the security audit?

Yes. The audit is a documented command, so an engineer with administrative access to the gateway host can run openclaw security audit, review each finding and decide on remediation. Run --deep only where the gateway is in a controlled environment, because it makes a live check. The --fix option applies only safe remediations, such as flipping open group policies to allowlists and tightening state and config permissions to 600 for files and 700 for directories. Treat those changes as a starting point, then review them against your access model and record the result. An internal review should also cover the policy decisions the audit cannot make for you.

What external help is available, and what does it cover?

DeployOpen is a Chainscore Labs company that plans, implements, hardens, documents and supports self-hosted open-source platforms in the client's own infrastructure. For OpenClaw, relevant engagements can include security testing of applications, APIs, cloud and infrastructure, and AI systems and agents, including red teaming, along with compliance readiness work that prepares systems, controls and evidence. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. Ongoing review or continuous testing is available as a retainer. DeployOpen does not issue audit reports or certifications, so any formal assessment would come from an independent auditor. Ask for a written scope that names the channels, agents, tools, plugins and hosts in use.

What should we ask for in a written quote for this work?

Ask for a scope that lists the gateway hosts, chat channels, agents, tools, plugins, browser control and network exposure included in the review. Ask which findings from openclaw security audit the provider will verify, which remediations they will apply and which they will only recommend. Ask what evidence you will receive, such as audit output, change records and a list of open items with owners. Confirm whether the work is one-time or recurring, what happens when OpenClaw publishes a new advisory, and which party is responsible for applying fixes on your infrastructure. Confirm also how the Node.js version requirements in the README apply to your hosts.

Does the audit cover prompt injection and cross-channel data movement?

Only partly. The audit reviews policies and exposure, but the OpenClaw docs say agents with message tool access can send across conversations and providers by default, because tools.message.crossContext.allowAcrossProviders defaults to true. Reviewing that key is a configuration decision your team must make. The project's security policy also states that the model is not a trusted principal and that anyone who can operate an agent can make it do anything that agent can do. Prompt injection testing and a deliberate review of message tool permissions belong in a separate scope, not in the audit output.

How DeployOpen tests and hardens an OpenClaw deployment

DeployOpen plans, implements and hardens self-hosted open-source platforms inside the client's own infrastructure, and runs security testing that includes AI systems and agents. For OpenClaw, we work from the project's own audit checks, triage order and trust model, so the written scope reflects how the gateway is actually exposed and who will use it.

How we scope

  • We start by recording who will operate the gateway, which channels and tools are enabled, and whether any group access is open.
  • Each engagement is fixed-scope, with the systems, deliverables and timelines agreed in writing before any work begins.
  • The written scope states which audit findings are in scope, which remediations DeployOpen will apply, and which decisions stay with your team.

How we build

  • We run the built-in security audit, including the deep live gateway check, and record each finding against the project's triage order.
  • We review tool and agent permissions, message cross-context settings, and exec approval drift before changing any configuration.
  • Changes are applied in your environment, and we test gateway exposure, browser control and plugin allowlists with the results documented.

How we hand over

  • You receive a written record of audit results, the remediations applied, and the open items that still need an owner's decision.
  • Documentation covers file and directory permission changes, the allowlist policies in place, and the trust boundary the gateway enforces.
  • We confirm with you which residual risks, such as in-process plugin privileges and model-driven actions, are accepted and by whom.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, so new OpenClaw releases and advisories can be reviewed as they are published.
  • Re-running the security audit after upgrades or configuration changes helps catch drift that appeared since the last review.
  • Retainer scope is agreed in writing, and it should be confirmed for each advisory or upgrade you want DeployOpen to cover.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.