OpenClaw: a self-hosted AI assistant you message on Telegram/WhatsApp that does real work on your machine
TL;DR
OpenClaw (MIT, formerly Clawdbot/Moltbot) is a self-hosted agent: a Node.js Gateway on your machine taking orders via WhatsApp, Telegram, Slack…, with ClawHub skills and Markdown memory. Useful, but with major incidents: ~20% of ClawHub skills were malicious, 42,000+ instances were exposed, and RCE bug CVE-2026-25253. Bind to localhost, run in a VM, enable sandboxing and pairing.
In early 2026 an open-source project called OpenClaw gained GitHub stars at a rarely seen pace: according to Elestio, about 190,000 stars within two weeks and more than 250,000 by early March — overtaking React. The reason: it turns AI from a “chat window” into an assistant running on your own machine, taking orders via Telegram, WhatsApp, Slack… and doing real work: reading email, running commands, driving a browser, running scheduled jobs. This article explains what OpenClaw is and how it’s built — and, more importantly, the security problems that have actually happened.
Origins
- Created by Austrian developer Peter Steinberger (founder of PSPDFKit); the first prototype took about an hour.
- Originally named Clawdbot, renamed Moltbot after a trademark concern from Anthropic, then OpenClaw.
- MIT licensed. In February 2026 the author joined OpenAI; the project moved to an independent 501(c)(3) foundation that OpenAI sponsors but doesn’t own.
Architecture
| Component | Role |
|---|---|
| Gateway | A long-running Node.js service on your machine or a small Linux server, with a WebSocket control plane at ws://127.0.0.1:18789 |
| Channels | Chat front-ends: WhatsApp, Telegram, Slack, Discord, Signal, iMessage (via BlueBubbles), Microsoft Teams, Matrix, WebChat… each routed to its own session |
| Nodes | Companion apps for macOS, iOS and Android exposing device capabilities such as camera, screen recording and notifications |
| Skills | Extensions distributed through the ClawHub registry |
| Workspace & memory | Memory stored as Markdown files in ~/.openclaw/workspace; files such as AGENTS.md and SOUL.md shape behaviour and are human-editable |
The model is your choice: Claude via Anthropic’s API is a common setup, alongside GPT, Gemini, Mistral or local models via Ollama. Beyond chat, OpenClaw automates a managed Chromium browser, runs scheduled jobs (cron, webhooks) and supports voice on mobile.
Installation
# Option 1: npm (Node.js 22+, at least ~2 GB RAM)
npm install -g openclaw
# then run the onboarding wizard per the official docs (docs.openclaw.ai)
# Option 2: Docker Compose — mount config and workspace directories as volumes
Afterwards, run openclaw doctor regularly to catch misconfigured policies.
What people use it for
- Messaging from your phone: “summarise my unread email”, “remind me to review the PR at 4 pm”.
- A 7 am briefing: meetings, important emails, dashboard numbers.
- Monitoring websites, collecting reports, running periodic scripts.
- A personal assistant with long-term memory, independent of any single chat vendor.
The dark side: security incidents that happened
This is the most important part. An agent with shell access that reads email and takes orders from chat apps is a huge attack surface — and reality has proven it:
| Incident | Details |
|---|---|
| Malicious skills on ClawHub | About 20% of published skills (~800 packages) were found to contain malicious code, including credential stealers and backdoors |
| Instances exposed to the internet | More than 42,000 OpenClaw instances were found publicly reachable; the original default bound to all network interfaces instead of localhost |
| CVE-2026-25253 | One-click remote code execution via WebSocket hijacking; patched, but thousands of instances were exposed beforehand |
| Institutional responses | South Korea restricted its use, Meta banned it internally, China’s industry ministry issued warnings |
By default, OpenClaw’s main session has full host access. Combined with accepting messages from outside, that is exactly the “lethal trifecta”: untrusted input + private data + a way to send data out.
Minimum safe configuration
- Bind to localhost only and enable authentication on the Gateway.
- Run it on a VM or dedicated machine, not your main work laptop holding company credentials.
- Sandbox untrusted sessions: set
agents.defaults.sandbox.mode(e.g."non-main") for group/channel sessions you don’t fully control. - DM policy =
"pairing"so unknown senders can’t trigger the agent. - Read skills before installing — treat each one as code running with your permissions.
- Update often and run
openclaw doctor. - Never give a personal agent production credentials.
How to apply it
- Developers: To try it, set it up on a cheap VPS or dedicated VM, connect only your own chat channel, and skip community skills at first. Prove the value, then widen permissions.
- Tech Leads / security: Scan your network for OpenClaw instances staff may have set up with exposed ports. Add “self-hosted agents” to your company AI-usage policy.
- PMs: OpenClaw shows the “agent wherever you chat” trend. For internal products, the gateway + chat channel + skills architecture is worth learning — but design for least privilege and human approval of outbound actions from day one.
Sources & references
- OpenClaw Explained: How the Fastest-Growing Open-Source Project Became a Self-Hosted AI Agent — Elestio Blog
- OpenClaw: the open-source AI assistant — OpenReplay Blog
- What is OpenClaw — DigitalOcean
- openclaw/openclaw — GitHub