ExplainerAgents & automation
Is OpenClaw safe to run? What the documented incidents and its own security docs say
Check the dated OpenClaw incidents and advisories, see what its security docs recommend, and harden your own install with a checklist from those docs.
The answer to "is OpenClaw safe" depends on your setup. OpenClaw's docs describe a local, paired, tool-restricted baseline for one trusted operator, and they say to treat every third-party skill as untrusted code. The documented problems are real: malicious skills on ClawHub in early 2026 and hundreds of security advisories on the main repository. The project's own docs say sandboxing is off by default, so how safe your install is depends on how you set it up.
What OpenClaw is and what access it gets
OpenClaw is an MIT-licensed, open-source AI assistant that runs on your own computer and talks to you through chat apps. The OpenClaw README (opens in a new tab) names Discord, iMessage, Slack, Teams, Telegram and WhatsApp, plus more than 20 other channels. Companion apps for macOS, iOS, Android, Windows and Linux add voice, camera, screen and device actions on supported platforms.
The access is the reason people ask about safety. The README states that tools run on the host for the main session unless you configure sandboxing. Skills and plugins extend what the assistant can do. The security docs list node execution (system.run), browser control, control-plane tools and plugins among the permissions an operator has to manage.
Two defaults deserve attention before you connect accounts:
- Agents that can use the message tool can send across conversations and across channel providers by default.
- Container images default to an exposed bind, so the docs say to pair them with authentication.
Documented incidents: malicious ClawHub skills
ClawHub is the public registry for OpenClaw skills. The best-documented incident is Snyk's ToxicSkills study, published on February 5, 2026. Snyk scanned 3,984 skills from ClawHub and skills.sh as of that date. Human review confirmed 76 malicious payloads. Of all skills scanned, 534 (13.4%) had at least one critical issue and 1,467 (36.82%) had at least one security issue of any kind.
Snyk described three kinds of malicious behavior:
- setup instructions that pointed to external binaries, often in password-protected ZIP files that scanners cannot open
- encoded commands (Base64 or Unicode) that went after credentials such as AWS config files
- persistent backdoors through systemd service files, deleted system files and weakened configuration
Every confirmed malicious skill in the Snyk set contained malicious code patterns, and 91% also used prompt injection. At publication, Snyk said eight malicious skills were still live on ClawHub. Its report also cites a coordinated campaign of more than 30 malicious ClawHub skills that OpenSourceMalware.com documented in February 2026. Snyk tied one publisher account to more than 40 skills built from the same template.
Submission volume explains part of the problem. Snyk reported daily ClawHub submissions rising from under 50 in mid-January 2026 to over 500 by early February.
Security advisories on the OpenClaw repository
The OpenClaw security advisories list (opens in a new tab) is long. On November 5, 2026 the repository's Security tab counted 722 published advisories, spread over 73 pages. Severity labels on the pages read for this article were Moderate and High.
Three High-severity examples:
| Advisory | Published | Severity | Affected | Fixed in |
|---|---|---|---|---|
Unauthenticated local RCE via WebSocket config.apply (CVE-2026-25593) | February 4, 2026 | High (CVSS 8.4) | openclaw before 2026.1.20 | 2026.1.20 |
| Exec approvals could outlive their reviewed working directory | September 11, 2026 | High (CVSS 7.3) | openclaw before 2026.8.1 | 2026.8.1 |
| WhatsApp login tool could reach non-owner turns | September 11, 2026 | High (CVSS 8.1) | @openclaw/whatsapp before 2026.8.1 | 2026.8.1 |
The February bug let a local process on the same machine write configuration through the Gateway WebSocket without authentication. A crafted cliPath value then ran shell commands as the gateway's user. The advisory's interim advice was to enable gateway.auth.
The September exec-approval bug matched a reusable approval on command arguments but ignored the working directory. An approved command could later run against files the operator never reviewed. In the WhatsApp case, a non-owner sender whose message was admitted could force a new login QR code for the configured account.
All ten advisories on the first page of the list were published on September 11, 2026. Each advisory cited here names a fixed version, so running an old release keeps known bugs open.
What OpenClaw's security policy treats as in and out of scope
The OpenClaw security policy (opens in a new tab) states the trust model plainly. One gateway serves one trusted operator, or a team whose members trust each other. It is not a boundary between users who distrust each other.
Several things fall outside the policy's scope. These include deployments exposed to the public internet, chains that rely on prompt injection alone, malicious behavior by plugins the operator chose to install, and intentional features such as local shell access or dangerous* config options. Installed plugins are part of the trusted computing base. The model itself is not a trusted principal.
For a reader, this means the project will fix a bypass of its auth, approvals, allowlists or sandbox. A skill you installed that steals your keys is your risk to manage.
What OpenClaw's security documentation recommends
The OpenClaw gateway security guide (opens in a new tab) sums up its hardened baseline in one line: keep the Gateway local, paired and tool-restricted. On a regular host install the defaults already lean that way. The Gateway binds to loopback, most chat channels answer unknown direct-message senders with a pairing code, and group access is allowlisted behind a mention gate.
The guide also covers prompt injection. It says to treat untrusted content reaching the model as a risk and to keep bypass flags off in production. Full tool access without a sandbox is the riskiest setup it describes. Restricted profiles, read-only mode and per-agent access profiles narrow what an agent can touch.
Sandboxing is opt-in. The OpenClaw sandboxing page (opens in a new tab) says it is off by default and calls it an imperfect boundary that still limits file and process access. Only tool execution moves into the sandbox; the Gateway stays on the host. Docker is the default local backend.
If you suspect a compromise, the docs give four steps: contain, rotate credentials, audit and collect evidence.
A hardening checklist from the OpenClaw docs
Each step below comes from OpenClaw's own documentation. Copy it into your setup notes.
1. Run the built-in audit
openclaw security audit --deep
openclaw security audit --fix
--deep adds live Gateway checks. --fix applies safe repairs, such as moving groupPolicy from "open" to "allowlist" and tightening file permissions. It does not rotate tokens, change bind or auth settings, or remove skills.
2. Keep the Gateway on loopback with auth on
Leave the default loopback bind on a host install. For containers, enable Gateway authentication before you publish a port. Read the exposure checklist in the security guide before you reach the Gateway from another machine.
3. Keep DM pairing on
Set dmPolicy per channel to "pairing" or "allowlist". Approve senders explicitly:
openclaw pairing list telegram
openclaw pairing approve telegram <CODE>
4. Turn on sandboxing
{
agents: {
defaults: {
sandbox: {
mode: "non-main",
scope: "session",
workspaceAccess: "none",
},
},
},
}
This is the minimal example from the sandboxing page. tools.elevated runs exec outside the sandbox, so leave it off unless you need it.
5. Restrict messaging and tools
Configure cross-provider messaging limits, since agents can message across providers by default. Use openclaw policy to inspect and test the tool policy.
6. Update promptly
Upgrade openclaw and its channel packages when a new one lands.
7. Watch secrets on disk
The guide maps where credentials are stored, and it warns that logs and transcripts can hold sensitive data. Check file permissions and workspace .env files.
Skills: check before you install
The OpenClaw skills documentation (opens in a new tab) says to treat third-party skills as untrusted code and read them before enabling. ClawHub pages show a scan state, with VirusTotal, ClawScan and static analysis on the detail page. You can check a skill's trust envelope from the command line:
openclaw skills verify @owner/<slug>
The command exits non-zero if ClawHub marks verification as failed. A passed scan is not proof of safety: Snyk's study found that malicious skills used password-protected archives to slip past scanners.
Some habits follow from the Snyk findings. Read SKILL.md and any script it calls. Reject setup steps that download a binary or decode a Base64 string. Install into one workspace instead of using --global, which exposes the skill to every local agent. Operators can also set security.installPolicy to run a local policy command before any skill install proceeds. If you write your own skills, the structure in how to write a SKILL.md makes them easy for others to review.
Is OpenClaw safe for you? Who should not run it
The project's own trust model and policy point to these cases:
| Your situation | What the OpenClaw docs and policy say |
|---|---|
| Several people who do not trust each other want one shared assistant | The gateway is not a multi-tenant boundary. Use separate gateways and credentials, ideally separate OS users or hosts. |
| You plan to expose the Gateway to the public internet | Public exposure is out of scope for security reports. Follow the exposure runbook first. |
| You want to install many community skills without reading them | Malicious plugins the operator installs are out of scope. Snyk found 76 confirmed malicious payloads in early 2026. |
| You cannot keep up with updates | 722 advisories were published by November 5, 2026, each tied to a patched version. |
| You need full shell access with no sandbox | The docs call full access without a sandbox the riskiest option. |
Frequently asked questions
Does a ClawHub security scan mean a skill is safe?
No. ClawHub shows scan results from VirusTotal, ClawScan and static analysis, but Snyk reported in February 2026 that malicious skills hid payloads in password-protected ZIP files that scanners cannot open. OpenClaw's docs still tell you to read third-party skills before enabling them.
Is prompt injection treated as a vulnerability in OpenClaw?
Usually not on its own. The security policy says a prompt-injection-only chain is out of scope unless it crosses a policy, auth, approval or sandbox boundary. That is why the docs push tool restrictions and sandboxing as the real defenses.
Does OpenClaw send telemetry?
The README says that by default OpenClaw sends only a daily version check. Setting `update.checkOnStart: false` turns it off.
How do I report a security bug in OpenClaw?
The security policy asks for a private GitHub Security Advisory on the core repository, with reproduction steps and demonstrated impact. Do not open a public issue for an unpatched flaw. Unclear cases can go to security@openclaw.ai, and there is no paid bug bounty.
What should I do if I already installed a suspicious skill?
The OpenClaw guide says to contain the install, rotate credentials, audit and collect evidence. Snyk also advises checking `SOUL.md` and `MEMORY.md` for changes you did not make and rotating any credential the skill could read.
Sources
- 1.Security - OpenClawOfficial docsPrimarydocs.openclaw.ai
- 2.Overview · openclaw/openclaw · GitHubRepositoryPrimarygithub.com
- 3.GitHub - openclaw/openclaw: The AI that really does things. Any OS. Any Platform. The lobster way. 🦞 · GitHubRepositoryPrimarygithub.com
- 4.Snyk Finds Prompt Injection in 36%, 1467 Malicious Payloads in a ToxicSkills Study of Agent Skills Supply Chain Compromise | SnykOfficial docsPrimarysnyk.io
- 5.github.com/openclaw/openclaw/security/advisoriesRepositoryPrimary
- 6.github.com/openclaw/openclaw/security/advisories/GHSA-g55j-c2v4-pjcgRepositoryPrimary
- 7.github.com/openclaw/openclaw/security/advisories/GHSA-3mq7-q27j-mq7qRepositoryPrimary
- 8.github.com/openclaw/openclaw/security/advisories/GHSA-9m4p-cqp4-jppqRepositoryPrimary
- 9.docs.openclaw.ai/cli/securityOfficial docsPrimary
- 10.docs.openclaw.ai/gateway/sandboxingOfficial docsPrimary
- 11.docs.openclaw.ai/channels/pairingOfficial docsPrimary
- 12.docs.openclaw.ai/tools/skillsOfficial docsPrimary
Spotted an error? See our corrections policy.
Enjoyed this? Get the weekly brief.
New guides, Project & Tool of the Week and the AI developments that matter. One email, no spam.
Read next
- ComparisonAgents & automation
Hermes Agent vs OpenClaw: which self-hosted AI agent fits you
Compare Hermes Agent vs OpenClaw on license, install, models, chat channels, memory and security defaults, then pick the self-hosted agent that fits.
7 min read
NewsAgents & automationAWS lays out a seven-layer reference architecture for agents on AgentCore
AWS published a seven-layer reference architecture and sample repo for multi-agent apps on Bedrock AgentCore. What each layer does and how to try it.
4 min read
NewsAgents & automationGitHub Agentic Workflows goes GA with new runner and model options
GitHub Agentic Workflows is now generally available for developers, with new runner options, model routing, spending forecasts, and isolation controls.
4 min read
