Kamil Józwik
← All posts

OpenClaw vs. Claude Cowork: Why Viral Local Agents Still Fail Basic Security Hygiene

Earlier this month I wrote about Claude Cowork, Anthropic’s desktop tab that wraps Claude Code’s agent loop inside a macOS virtual machine for everyday file and browser work. Over the past two weeks, an open-source project targeting the exact same goal exploded across GitHub and developer chats from the opposite direction.

Started by Peter Steinberger and known briefly as Clawdbot, then Moltbot after trademark friction, before settling this week on OpenClaw (GitHub), the project lets you run a persistent personal agent on your own machine and steer it from WhatsApp, Telegram, Discord, or Slack.

Comparing Cowork and OpenClaw side by side explains why open-source local agents caught fire so quickly in January, and why their security posture is still rough.

Top-down sandbox vs. bottom-up chat relay

Cowork and OpenClaw want to solve the same frustration: moving AI out of copy-paste chat windows and letting it act directly on your files, calendar, scripts, and browser. Their product bets could hardly be more different:

Dimension Claude Cowork OpenClaw
Primary interface Dedicated tab inside Claude Desktop (macOS) Existing chat apps (WhatsApp, Telegram, Discord, CLI)
Model lock-in Anthropic Claude models only Bring your own API key or local models
Execution model Containerized VM with explicit folder mounts Local gateway running directly on your machine or VPS
Extensibility Built-in connectors and Anthropic skills Open-source skills, plugins, and custom local scripts

OpenClaw’s appeal to engineers is obvious. You do not need a $100 to $200 subscription, you are not locked into one lab’s models, and you already have WhatsApp or Telegram open on your phone. Sending a quick message from your phone to clean up a folder, refactor a script, or pull structured notes from a webpage feels much closer to having a background assistant than opening another desktop app.

Where the weekend-project roots showed up

That bottom-up speed came with real growing pains. Projects that jump from weekend hack to viral sensation in ten days rarely start with hardened threat models, and OpenClaw hit three classic failure modes right away:

  • Unsafe default exposure: Early builds shipped with permissive local gateway configurations (including auth: none setups) that left local control interfaces exposed when users bound them carelessly or ran them on shared networks.
  • Plaintext local secrets: Storing LLM API keys, messaging tokens, and agent memory in predictable local config files turns a compromised workstation or malicious skill into an instant credential harvest.
  • 1-click token exfiltration and RCE (CVE-2026-25253): Patched in release v2026.1.29 and disclosed today (January 31), researchers showed that OpenClaw’s Control UI automatically trusted a gatewayUrl query parameter over WebSockets without validating the origin. Simply visiting a malicious link while logged in could leak your gateway auth token and let an attacker reconfigure sandbox rules and run code on your host machine, even if your instance only listened on 127.0.0.1.

Put that alongside PromptArmor’s Claude Cowork file-upload bypass, and a clear pattern shows up across both closed and open agent harnesses. Anthropic isolated the OS inside a VM yet left an authenticated API exfiltration hole; OpenClaw gave users total local freedom yet tripped over basic web origin validation and auth defaults.

How to run local personal agents without burning yourself

I still think OpenClaw’s core idea, controlling a persistent and model-agnostic local agent from the messaging apps you already use, will outlast the Clawdbot-to-Moltbot-to-OpenClaw naming chaos.

If you are experimenting with OpenClaw or similar local harnesses right now, treat them like privileged production daemons, not harmless CLI toys:

  1. Update past v2026.1.29 and require explicit gateway tokens. Never disable authentication on a local agent UI, and keep control ports off public interfaces.
  2. Run the agent inside a disposable container or dedicated VM. Give it a narrow working directory instead of your main user profile, SSH keys, and browser cookie store.
  3. Scope every credential it touches. Use dedicated, low-limit API keys and read-only tokens for email or calendar integrations until deterministic approval gates mature.

Cowork proved that VM sandboxes do not automatically solve indirect prompt injection. OpenClaw proved that skipping basic web and auth hygiene on local agents creates an even faster path to host compromise. Developers clearly want local agents that act for them; now the tooling has to catch up with the blast radius.