Is OpenClaw safe? Security risks and how to run it more safely
What OpenClaw can access, the advisories and reports on its security, and the hardening steps its own docs describe, including the built-in security audit.
OpenClaw is an open-source AI assistant that runs on your own computer and takes instructions through messaging apps. It is safe only to the degree you limit what it can reach. Its docs say tools run on the host for the main session unless you configure sandboxing, and security researchers and vendors have reported serious flaws, including a one-click remote code execution bug fixed in version 2026.1.29. If you run it, update, lock down who can message it and run openclaw security audit.
What OpenClaw is
The project’s GitHub page describes OpenClaw as an open-source assistant, MIT-licensed and stewarded by the OpenClaw Foundation. It connects to channels including Discord, iMessage, Slack, Teams, Telegram and WhatsApp. Palo Alto Networks and other outlets describe it as formerly Moltbot and, before that, Clawdbot. The project’s own pages that we read do not mention the earlier names, so that history rests on those reports.
What access it takes
By design it needs broad access. Palo Alto Networks says it can send email on your behalf, schedule calendar entries, read and write files and control desktop applications, and that working as designed it needs passwords and API secrets. The project’s docs add node execution through system.run, plugins, skills and browser control. Each connected channel is also a way for outside text to reach the agent. The docs say to treat inbound messages as untrusted input.
Documented incidents and advisories
- CVE-2026-25253. The University of Toronto’s security notice says all versions before 2026.1.29 are affected. A malicious web page could steal the user’s authentication token and take control of the gateway through a one-click remote code execution attack, even on loopback-bound instances. It says there was no confirmed widespread exploitation, and advises updating, rotating tokens and credentials if a vulnerable version visited untrusted sites, and using isolated browser profiles.
- Further advisories. The Register reported three high-impact advisories in three days, covering that flaw and two command injection issues.
- Malicious skills. The Register also reported that Koi Security identified 341 malicious skills on ClawHub, the project’s skill repository.
These come from a university security office and press coverage, and the project has changed quickly since. Check the project’s own advisories for the current state.
Run it more safely, per its docs
The gateway security page sets out a trust model of one operator, or a team whose members trust each other, and says OpenClaw is not a hostile multi-tenant boundary. Its documented defaults and controls include the following.
- On a regular host install, the Gateway binds to loopback. Container images default to an exposed bind and need auth.
- Most chat channels reply to unknown senders with a pairing code. Approve one with
openclaw pairing approve <channel> <code>. - Direct message access has four modes, which are pairing, allowlist, open and disabled. Group access is allowlisted.
openclaw security auditdetects drift from these defaults.--deepattempts a live Gateway check,--fixapplies narrow safe fixes such as tightening file permissions, and--jsonprints results as JSON.- Configure sandboxing and the tool policy before you give the agent exec or browser tools. Keep dangerous or bypass flags off.
- Use separate phone numbers for WhatsApp, Signal and Telegram. For mixed-trust use, the docs say to run separate gateways and credentials, ideally on separate OS users or hosts.
Where its data lives
State defaults to ~/.openclaw, or $OPENCLAW_STATE_DIR if set. The docs say logs are owner-only, and that transcripts and tool results keep their original text, so they can include pasted secrets, file contents and command output. Log tails and exports mask sensitive values, but direct file reads are raw. Add custom masks with logging.redactPatterns. Do not commit that directory. Session storage has moved between versions, with current docs describing a per-agent SQLite database, so check the pages for your version.
A short checklist
- Update to the latest release and rotate tokens if you ran an older one.
- Keep the gateway on loopback and use pairing or allowlists.
- Run
openclaw security audit --deepafter every config change. - Install only skills you have read.
- Use separate accounts and phone numbers instead of your main ones.
Checked against the vendor documentation and reports on November 25, 2026. OpenClaw repository · Gateway security · Running the audit · Secrets and storage · University of Toronto notice · The Register · Palo Alto Networks
OpenClaw and Excellent
Excellent recognizes OpenClaw, but it does not read OpenClaw’s logs or run its live check inside it. The free scan reads supported logs on the Mac and reports findings for review, for Claude Code, Codex, Grok Build, GitHub Copilot CLI, Gemini CLI and Qwen Code. For those agents, run the free scan or see a sample report. For OpenClaw, use the native controls above. Agent coverage · AI agent security


