Justin McKelvey

Justin McKelvey

Ran snowboard shops. Taught myself to code. Now I build AI that does real work.

• Vibe Code Rescue • 5 min read •

Is OpenClaw Safe? What I'd Check Before Giving an AI Agent the Keys (2026)

Quick Answer

Is OpenClaw safe? Out of the box, no. As of 2026 it has four published CVEs (command injection, SSRF, path traversal, prompt-injection code execution), a disclosed hijack technique (ClawJacked), and a skill marketplace that has shipped malware — while running with real authority over your files, messages, and credentials. It can be run reasonably safely: isolated machine or VM, dedicated accounts, scoped keys, nothing connected you can't afford to leak. On a business machine with client data, don't.

Verified August 2026 · Author: Justin McKelvey, fractional CTO & AI consultant, 15 years in software, 50+ products shipped

TL;DR: The Most-Starred Repo on GitHub Is Also a Security Case Study

Here's the part the hype cycle skipped: the thing that makes OpenClaw magical is the same thing that makes it dangerous. It's a language model with real hands — shell access, your messaging apps, your files, your calendars — and 347,000+ GitHub stars' worth of people gave it those hands in a hurry. I audit AI-built systems for a living, and OpenClaw is the cleanest example I've seen of the trade every autonomous agent asks you to make: capability in exchange for attack surface. This post is the honest risk read — what's actually been exploited, what's fixable, what never will be, and the setup I'd insist on before running it anywhere near work.

What OpenClaw is (60-second version)

OpenClaw is a free, open-source autonomous AI agent by Austrian developer Peter Steinberger. You run it on your own machine, connect it to a model of your choice — Claude, GPT, Kimi, and others are supported — and talk to it through WhatsApp, Telegram, Discord, or iMessage like a very capable colleague. It reads and sends messages, manages files, browses, writes and runs code, and builds its own tools. It launched as Clawdbot in November 2025, went viral, got renamed Moltbot on January 27, 2026 after Anthropic raised trademark concerns about the Claude-adjacent name, and became OpenClaw three days later. By mid-2026 it was the most-starred repository on GitHub. The full capability rundown and my verdict on who should actually use it live in the companion piece: my OpenClaw review.

The documented problems (not hypotheticals)

  • Four published CVEs as of 2026: command injection (CVE-2026-24763), server-side request forgery (CVE-2026-26322), path traversal enabling local file reads (CVE-2026-26329), and prompt-injection-driven code execution (CVE-2026-30741). These are patched in current versions — but they tell you what class of software this is: a network-reachable service with shell access, i.e. exactly the thing security teams spend their lives containing.
  • ClawJacked: researchers at Oasis Security disclosed a technique where a malicious website could brute-force and hijack a locally running OpenClaw instance, then silently exfiltrate data using the agent's own autonomy. "It only runs locally" is not a defense when your browser runs locally too.
  • ClawHub supply-chain abuse: the community marketplace for OpenClaw skills has been used to distribute malware disguised as trading bots, utilities, and dev helpers. Installing a skill is installing a stranger's code into an agent that holds your credentials.
  • Prompt injection — the one that doesn't patch: any content the agent reads (email, web pages, documents, Slack messages) can carry hidden instructions. If the model follows them, the attacker acts with your permissions. This is an architectural property of autonomous agents, not an OpenClaw bug — every serious analysis, from IBM X-Force to Barracuda, lands on the same conclusion.

Why "open source" doesn't settle it

The reflexive defense is that OpenClaw is open source, heavily scrutinized, and rapidly patched — all true, and genuinely better than a closed agent doing the same things. But open source solves trust in the author, not attack surface. The CVEs above were all in code anyone could read. The honest framing: OpenClaw's maintainers move fast on fixes, and the project's popularity means bugs get found — by researchers and by attackers, in whichever order.

The setup that makes it reasonably safe

If you want to run it — and for tinkering, I get it — the difference between reckless and reasonable is isolation. As of 2026, the checklist I'd hold it to:

  • Dedicated machine or VM. Not your daily driver. Not the laptop with your password manager, client repos, or bookkeeping.
  • Dedicated accounts. A fresh email, a separate messaging number where possible, its own calendar. The agent should authenticate as itself, not as you.
  • Scoped, revocable API keys with spending caps — never your primary keys.
  • No unread skills. If you can't read what a ClawHub skill does, you don't install it.
  • Assume leak. The operating rule for anything the agent can reach: if leaking it would hurt, it doesn't get connected.

If you're adding AI to your own app rather than running someone else's agent, the same problem follows your chatbot or inbox assistant. I explain how it works, with the fixes, in what is prompt injection.

The business-owner answer

The pattern I keep seeing, as of 2026: an owner watches an OpenClaw demo, and what they actually want is an assistant that answers messages, schedules things, and follows up — the outcome, not the architecture. You can have that outcome with scoped workflows where each automation touches exactly the systems it needs, drafts rather than sends, and can be audited — no shell access, no standing authority over your files. That's how I build them for clients, and it's the difference between an agent you supervise and an agent you hope about. If you've already got AI-built systems in play and want to know what they can actually reach, my free vibe coding security checklist includes a copy-paste agent audit prompt, the $7 Agent Audit Prompt Pack is the deeper 10-prompt version, and if the audit turns up reds on something live, the free repo audit is where I look personally. For the "what should we automate, and how much authority should it get" question — that's literally a strategy call.

Free Resource Justin McKelvey

Ship AI-built code without the 2am surprise

The free 20-point security checklist I run on every AI-built codebase before it touches real users.

Frequently Asked Questions

Is OpenClaw safe to use?
Not out of the box, and anyone telling you otherwise hasn't read the CVE list. As of 2026, OpenClaw has had four published vulnerabilities — command injection (CVE-2026-24763), SSRF (CVE-2026-26322), path traversal that enabled local file reads (CVE-2026-26329), and prompt-injection-driven code execution (CVE-2026-30741) — plus the ClawJacked technique that let malicious websites hijack locally running instances. It can be run reasonably safely, but only isolated: dedicated machine or VM, its own accounts, scoped API keys, and no access to anything you can't afford to leak.
What is OpenClaw?
OpenClaw is a free, open-source autonomous AI agent built by Austrian developer Peter Steinberger — essentially a large language model (Claude, GPT, Kimi, and others are supported) connected to real tools on your own machine, which you talk to through WhatsApp, Telegram, Discord, or iMessage. It launched as Clawdbot in November 2025, was renamed Moltbot on January 27, 2026 after an Anthropic trademark request, became OpenClaw three days later, and as of mid-2026 is the most-starred repository on GitHub at 347,000+ stars.
What is ClawJacked?
ClawJacked is an attack technique disclosed by researchers at Oasis Security: a malicious website could brute-force its way to a locally running OpenClaw instance and hijack it, silently exfiltrating data by abusing the agent's own autonomy. It's the clearest demonstration of why 'it only runs on my machine' isn't the safety argument people think it is — your browser is on that machine too.
Can OpenClaw be hacked through prompt injection?
Yes, and this one never fully goes away. Prompt injection means hiding malicious instructions inside content the agent processes — an email, a web page, a document, a calendar invite. If the agent treats those instructions as legitimate, it can leak data or take actions on the attacker's behalf with your permissions. It's an architectural weakness of every autonomous agent, not an OpenClaw bug that a patch fixes — which is why the real safety question is what the agent can reach, not whether injection is possible.
Are OpenClaw skills from ClawHub safe to install?
Treat them like unaudited code from strangers, because that's what they are. ClawHub — the community marketplace for OpenClaw skills — has been abused to distribute malicious packages disguised as trading bots, utilities, and development helpers. Before installing any skill, read the source, check what it requests access to, and skip anything you can't read. If a skill wants credentials or network access it doesn't obviously need, that's the tell.
Should a business run OpenClaw?
On a machine with client data, credentials, or your books? No — not in its default setup, as of 2026. The risk profile (four CVEs, supply-chain abuse, unresolvable prompt injection) is fine for a hobbyist sandbox and wrong for a business machine. If you want the outcome businesses actually ask it for — an assistant that answers, schedules, follows up — you can get that with scoped, auditable automations that don't hold shell access to anything. That's a setup decision, and it's worth making deliberately rather than installing your way into it.

More on Vibe Code Rescue

Claude Code Tutorial (2026): What to Learn, in What Order, and the Free Courses Worth Your Time

Anthropic's own free courses teach Claude Code in about 5 hours and 15 minutes across five of them. The courses are free, the tool isn't: you need Claude Pro or higher. Here's the order to take them in, the week of real work that goes in the middle, and the tutorial advice Anthropic now says to stop following.

7 min

What Is Prompt Injection? How It Hits the AI Feature You Added to Your Lovable or Cursor App

Prompt injection is when text your AI feature reads carries instructions the model follows instead of yours. OWASP ranks it the #1 risk for AI apps, and there's no full fix. Here's what it looks like in a founder's app, three real cases, and the fixes that limit the damage.

8 min

Is Supabase Secure? Yes, If RLS Is On: How to Check Yours in 5 Minutes (2026)

Supabase the platform is secure: SOC 2 Type 2, encrypted data, regular pen tests. Your app on Supabase is only as secure as its Row Level Security rules, and those are yours to set. Here's what Supabase covers, what you own, how RLS works in plain English, and a 5-minute check for a Lovable or Bolt app.

6 min

Supabase Anon Key vs Service Role Key (Now Publishable vs Secret): Which One Is Safe in Your Frontend?

The anon key (now called the publishable key) is meant to sit in your frontend. The service role key (now the secret key) bypasses every security rule in your database and must never leave your server. Here's the old-name to new-name map, where to find each one, and what to do if the wrong one leaked.

7 min
Justin McKelvey, Austin, TX

Written by

Justin McKelvey

I spent 12 years running snowboard and mountain-bike shops in Colorado, then taught myself to code. Since then: 50+ products shipped, Head of Product at a national sports platform, CTO at an AI startup. Now I put AI to work in real businesses in Austin, TX and remote, and write down what actually works.

Work with me

Want more help? Get the free security checklist · Get a free 20-min repo audit