← Blog
20

2026-02-05 · Bertrand Gonthier

OpenClaw (formerly Moltbot): the first “actually useful” AI agent… and the fastest way to accidentally hand over your digital life

Fast facts (so we’re anchored in reality)

  • OpenClaw is the rebrand of a viral open-source agent that was previously called Clawdbot, and the creator says the rename was driven by a trademark request from Anthropic. 

  • The project/org has since moved again under the name OpenClaw (the Moltbot GitHub org explicitly points to that move). 

  • The core pitch: it runs on your own machine and can act via chat apps to do real tasks (email, calendar, etc.). 

  • The core problem: to be “useful,” it often needs access to credentials, files, browser context, and the ability to execute actions — which, in turn, expands the attack surface. 

  • This popularity is already being exploited: a fake VSCode extension (“ClawBot Agent”) was used to drop malware, and the real project reportedly did not have an official VSCode extension. 


What OpenClaw actually is (minus the hype)

OpenClaw is best understood as a local agent runtime + toolchain you can trigger through familiar chat surfaces. The public narrative (and the reason it went viral) is simple: it’s not just chatting — it’s doing

It can:

  • send emails/triage inbox

  • manage calendars

  • browse/summarize / extract in/read/write files and run commands (depending on configuration) 

That last line (“run commands/touch files”) is why security isn’t a footnote — it’s the product.


The real security model: assume everything it touches is hostile

A modern agent like OpenClaw lives inside the “agentic danger zone”:

  1. Exposure to untrusted content (web pages, PDFs, DMs, links)

  2. Access to private data (files, tokens, cookies, mail, calendar)

  3. Ability to take actions (send messages, run commands, call APIs)

Palo Alto Networks lays out concrete scenarios in which indirect prompt injection or malicious messages can steer the agent to leak secrets or execute harmful actions. 

Add one more accelerant: persistent memory. If the agent stores bad instructions (or “poisoned context”) and retrieves them later, you get delayed, multi-step failures that are hard to notice in the moment. 

Bottom line: treat OpenClaw like you’d treat SSH access to production. Because functionally, that’s what people keep giving it.


The two biggest real-world risk buckets (today)

1) “Unofficial distribution” scams (the easy win for attackers)

The fake VSCode extension incident is the clearest proof that attackers will ride the hype wave: they don’t need a zero-day if they can just get you to install the wrong thing. 

Rule: If it’s not from the official repo / official docs path, assume it’s hostile.

2) Misconfiguration: accidentally exposing control surfaces + secrets

Threat intel writeups have flagged issues like reachable admin ports, plaintext credentials, and poisoned skills as practical concerns in the ecosystem around OpenClaw-style agents. 

Even if individual claims vary by setup, the pattern is consistent: these tools move fast, and “secure by default” usually arrives later than “viral by default.”


How to run OpenClaw safely: a hardening playbook that actually works

Principle 1 — Default-deny execution on the host

If the agent can run arbitrary commands on your real machine, your job is to make that rare and auditable.

The OpenClaw docs describe “Exec approvals” as a guardrail where commands run on the real host only when policy + allowlist + optional user approval agree. It’s explicitly framed like a “safety interlock,” with configurable defaults (deny / allowlist / full) and prompt behavior. 

Best practice config stance:

  • exec.security = deny by default

  • move to allowlist only after you’ve proven a use case

  • avoid full unless you enjoy incident response

Principle 2 — Use sandboxing, but don’t worship it

Sandboxing is worth doing because it reduces blast radius — and the docs are refreshingly honest that it’s not perfect

Key settings worth using early:

  • sandbox mode = all (or at least ensure non-main sessions are sandboxed) 

  • workspace access = ro until you trust the workflow (read-only mount prevents write/edit tools) 

  • avoid enabling “escape hatches” (elevated execution) unless you’re intentionally crossing that boundary 

Principle 3 — Skills/plugins are a supply-chain surface

OpenClaw’s power comes from “skills.” That’s also where malicious behavior can hide.

Docs state skills load from multiple locations with a clear precedence order (workspace overrides everything else). 

They also describe ClawHub as a public skills registry where all skills are public and installable via CLI. 

Security stance for skills:

  • Start with bundled-only skills

  • If you install from registries, treat skills like dependencies:

Principle 4 — Pairing and channels: don’t let “random DMs” become root access

If you trigger the agent via chat, you need strong pairing and identity checks. The docs include explicit CLI flows to list/approve pairing requests for channels that support pairing. 

Operational rule:

  • Only allow commands from your own paired identity

  • Avoid group chats entirely for anything that can execute actions (group chat = untrusted input blender)

Principle 5 — Remote access: “just expose a port” is how legends are born (bad ones)

If you want access from anywhere, use a Zero Trust front door, not raw exposure.

A concrete example: Cloudflare shows a pattern for securing agent access using Cloudflare Access for authentication and BYOK to avoid sharing API keys externally. 


Cloudflare’s “Moltworker” move (why it matters)

Cloudflare just published Moltworker: a middleware Cloudflare Worker + adapted scripts to run Moltbot/OpenClaw using Cloudflare’s Sandbox SDK and Developer Platform APIs—positioned as a way to self-host the agent without buying dedicated hardware

Security angle (the only angle that matters here):

  • It can be a net win if it keeps your agent behind Cloudflare’s edge controls instead of exposing a local machine/port to the internet. 

  • It does not magically make agents safe. You still need strict tool permissions (deny-by-default execution), tight secret handling, and to assume untrusted inputs can steer behavior if you let them. 


The 30-minute “don’t get owned” checklist

If you do nothing else, do this:

  1. Install from official repos/docs only (avoid unofficial extensions and “helpers”). 

  2. Turn on sandboxing; set workspace access to read-only at first. 

  3. Enable exec approvals; default deny; allowlist only what you need. 

  4. Keep the agent off your primary machine if you can (use a dedicated VM/laptop).

  5. Separate credentials: new API keys, minimum scopes, no “master” accounts.

  6. Disable or restrict skills you didn’t audit; treat skill installs like dependency installs. 

  7. Don’t run it from group chats; pair identities explicitly. 


What OpenClaw gets right (and what the industry needs next)

OpenClaw proved a point: agents are crossing the “toy → tool” threshold. But it also proved that most people’s security instincts haven’t caught up. 

What I expect to become standard (or these tools won’t be enterprise-viable):

  • trust-tiered memory (source tagging + expiry)

  • policy engines between “untrusted input” and “high-privilege tool use”

  • signed skills + reproducible installs

  • first-class secrets handling (no plaintext configs, no casual token sprawl)


The question that matters

If OpenClaw-class agents become normal in 2026, do you think security will evolve fast enough — or will we repeat the same story as cloud misconfigurations, but with an assistant that can email your secrets for you?

Letters from the studio.

One quiet dispatch a month — new work, applied AI notes, no noise.

Have a workflow to fix?

An AI engineer replies within 24 h.

Talk to a human