Gateway

Security

OpenClaw ships with conservative defaults. On a regular host install the Gateway binds to loopback; most chat channels answer an unknown DM sender with a pairing code instead of processing the message; and group access is allowlisted, usually behind a mention gate. The exceptions are deliberate and documented: container images default to an exposed bind (pair that with auth - see the exposure runbook), and a few workspace channels such as ClickClack trust workspace membership by default - each channel page states its exact defaults. Run on those defaults and you are in good shape, and one command tells you if you have drifted:

bash
openclaw security audit

The pages below are the deep end: the trust model, what the audit checks, and how to harden further as you expose more surface.

Security pages

Understand the model:

  • Security trust model - One trust boundary per gateway, the boundary matrix, and the findings closed as no-action.
  • Running the security audit - What openclaw security audit checks and the order to fix findings in.
  • Security audit checks - Reference catalog of every checkId, its severity, and its auto-fix support.
  • Threat model - Adversarial threats to the OpenClaw platform and ClawHub, mapped to MITRE ATLAS.

Harden a deployment:

Expose and operate:

Run it from the CLI:

  • openclaw security - Run the audit, read findings, and apply the supported auto-fixes.
  • openclaw policy - Inspect and test the tool policy the guidance above configures.

Where each section moved

Every anchor this page used to publish still resolves here. Each entry below carries the original anchor and links to its new home.

Security trust model

Running the security audit

Hardened baselines

Access control and allowlists

Prompt injection

Tool and agent permissions

Browser control risks

Network exposure

Secrets, storage, and logs

Operator incident response

Was this useful?
On this page

On this page